|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/IR/IRBuilder.h 359 return ConstantInt::get(getInt32Ty(), C);
2490 Type *I32Ty = getInt32Ty();
lib/Analysis/VectorUtils.cpp 692 Constant *Undef = UndefValue::get(Builder.getInt32Ty());
lib/CodeGen/ExpandMemCmp.cpp 518 Builder.CreateSelect(Cmp, ConstantInt::get(Builder.getInt32Ty(), -1),
519 ConstantInt::get(Builder.getInt32Ty(), 1));
590 LoadSrc1 = Builder.CreateZExt(LoadSrc1, Builder.getInt32Ty());
591 LoadSrc2 = Builder.CreateZExt(LoadSrc2, Builder.getInt32Ty());
603 Value *ZextUGT = Builder.CreateZExt(CmpUGT, Builder.getInt32Ty());
604 Value *ZextULT = Builder.CreateZExt(CmpULT, Builder.getInt32Ty());
lib/CodeGen/WasmEHPrepare.cpp 144 LPadContextTy = StructType::get(IRB.getInt32Ty(), // lpad_index
146 IRB.getInt32Ty() // selector
250 "_Unwind_CallPersonality", IRB.getInt32Ty(), IRB.getInt8PtrTy());
341 IRB.CreateLoad(IRB.getInt32Ty(), SelectorField, "selector");
lib/IR/AutoUpgrade.cpp 1903 Rep = Builder.CreateZExt(Rep, Builder.getInt32Ty());
3459 Rep = Builder.CreateTrunc(Ctlz, Builder.getInt32Ty(), "ctlz.trunc");
3468 Rep = Builder.CreateTrunc(Popc, Builder.getInt32Ty(), "ctpop.trunc");
lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp 440 Type *const VecTy = VectorType::get(B.getInt32Ty(), 2);
450 Intrinsic::amdgcn_icmp, {WaveTy, B.getInt32Ty()},
494 Value *const ExtractLo = B.CreateTrunc(NewV, B.getInt32Ty());
496 B.CreateTrunc(B.CreateLShr(NewV, 32), B.getInt32Ty());
593 Value *const ExtractLo = B.CreateTrunc(PHI, B.getInt32Ty());
595 B.CreateTrunc(B.CreateLShr(PHI, 32), B.getInt32Ty());
lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp 214 return B.getInt32Ty();
215 return VectorType::get(B.getInt32Ty(), cast<VectorType>(T)->getNumElements());
495 IntegerType *I32Ty = Builder.getInt32Ty();
617 Type *I32Ty = Builder.getInt32Ty();
657 Type *I32Ty = Builder.getInt32Ty();
757 Type *I32Ty = Builder.getInt32Ty();
940 Type *I32Ty = Builder.getInt32Ty();
lib/Target/AMDGPU/AMDGPULibCalls.cpp 1130 Type* nTyS = eltType->isDoubleTy() ? B.getInt64Ty() : B.getInt32Ty();
1399 CI->replaceAllUsesWith(ConstantInt::get(B.getInt32Ty(), N));
lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp 146 AdjustedArgTy = Builder.getInt32Ty();
lib/Target/RISCV/RISCVISelLowering.cpp 2843 Result = Builder.CreateTrunc(Result, Builder.getInt32Ty());
2874 Result = Builder.CreateTrunc(Result, Builder.getInt32Ty());
lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp 318 dyn_cast<GlobalVariable>(M.getOrInsertGlobal(Name, IRB.getInt32Ty()));
439 IRB.CreateLoad(IRB.getInt32Ty(), ThrewGV, ThrewGV->getName() + ".val");
554 Value *ThrewValue = IRB.CreateLoad(IRB.getInt32Ty(), ThrewValueGV,
567 Value *LoadedThrew = IRB.CreateLoad(IRB.getInt32Ty(), ThrewInt,
589 PHINode *LabelPHI = IRB.CreatePHI(IRB.getInt32Ty(), 2, "label");
642 Function::Create(FunctionType::get(IRB.getInt32Ty(), false),
645 FunctionType::get(IRB.getVoidTy(), IRB.getInt32Ty(), false),
662 FunctionType::get(IRB.getInt32Ty(), IRB.getInt8PtrTy(), false);
691 IRB.getInt32Ty(), Type::getInt32PtrTy(C),
692 IRB.getInt32Ty()};
699 Params = {IRB.getInt32Ty(), Type::getInt32PtrTy(C), IRB.getInt32Ty()};
699 Params = {IRB.getInt32Ty(), Type::getInt32PtrTy(C), IRB.getInt32Ty()};
700 FTy = FunctionType::get(IRB.getInt32Ty(), Params, false);
705 {IRB.getInt32Ty(), IRB.getInt32Ty()}, false);
705 {IRB.getInt32Ty(), IRB.getInt32Ty()}, false);
895 SetjmpTableSize, IRB.getInt32Ty(), IRB.getInt32Ty(), IRB.getInt32(40),
895 SetjmpTableSize, IRB.getInt32Ty(), IRB.getInt32Ty(), IRB.getInt32(40),
922 PHINode *SetjmpRet = IRB.CreatePHI(IRB.getInt32Ty(), 2, "setjmp.ret");
lib/Target/X86/X86WinEHState.cpp 282 Type *Int32Ty = Builder.getInt32Ty();
787 State = Builder.CreateLoad(Builder.getInt32Ty(), StateField);
lib/Transforms/Instrumentation/AddressSanitizer.cpp 1313 IRB.CreateIntCast(MI->getOperand(1), IRB.getInt32Ty(), false),
1613 Value *ExpVal = Exp == 0 ? nullptr : ConstantInt::get(IRB.getInt32Ty(), Exp);
1673 {AddrLong, ConstantInt::get(IRB.getInt32Ty(), Exp)});
1750 {AddrLong, Size, ConstantInt::get(IRB.getInt32Ty(), Exp)});
2520 IRB.getInt32Ty(), IntptrTy);
3084 kAsanOptionDetectUseAfterReturn, IRB.getInt32Ty());
3086 IRB.CreateLoad(IRB.getInt32Ty(), OptionDetectUseAfterReturn),
3087 Constant::getNullValue(IRB.getInt32Ty()));
lib/Transforms/Instrumentation/GCOVProfiling.cpp 972 {Builder.getInt8PtrTy(), Builder.getInt8PtrTy(), Builder.getInt32Ty()});
974 {Builder.getInt32Ty(), Builder.getInt8PtrTy(), Builder.getInt32Ty(),
974 {Builder.getInt32Ty(), Builder.getInt8PtrTy(), Builder.getInt32Ty(),
975 Builder.getInt8Ty(), Builder.getInt32Ty()});
977 {Builder.getInt32Ty(), Builder.getInt64Ty()->getPointerTo()});
979 StructType::create({StartFileCallArgsTy, Builder.getInt32Ty(),
1096 Builder.CreatePHI(Builder.getInt32Ty(), /*NumReservedValues*/ 2);
1129 auto *JV = Builder.CreatePHI(Builder.getInt32Ty(), /*NumReservedValues*/ 2);
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp 376 Int32Ty = IRB.getInt32Ty();
472 IRB.getInt32Ty(), IntptrTy);
713 IRB.CreateIntCast(MI->getOperand(1), IRB.getInt32Ty(), false),
842 GetStackPointerFn, {Constant::getNullValue(IRB.getInt32Ty())});
979 {Constant::getNullValue(IRB.getInt32Ty())}),
lib/Transforms/Instrumentation/MemorySanitizer.cpp 706 IRB.getInt32Ty());
720 PointerType::get(IRB.getInt32Ty(), 0));
791 OriginTLS = getOrInsertGlobal(M, "__msan_origin_tls", IRB.getInt32Ty());
799 IRB.getInt32Ty());
804 IRB.getInt8PtrTy(), IRB.getInt32Ty());
825 "__msan_chain_origin", IRB.getInt32Ty(), IRB.getInt32Ty());
825 "__msan_chain_origin", IRB.getInt32Ty(), IRB.getInt32Ty());
833 "__msan_memset", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IRB.getInt32Ty(),
941 OriginTy = IRB.getInt32Ty();
948 M.getOrInsertGlobal("__msan_track_origins", IRB.getInt32Ty(), [&] {
950 M, IRB.getInt32Ty(), true, GlobalValue::WeakODRLinkage,
955 M.getOrInsertGlobal("__msan_keep_going", IRB.getInt32Ty(), [&] {
956 return new GlobalVariable(M, IRB.getInt32Ty(), true,
2435 IRB.CreateIntCast(I.getArgOperand(1), IRB.getInt32Ty(), false),
2648 ConvertShadow, ConstantInt::get(IRB.getInt32Ty(), 0));
2651 ConvertShadow, ConstantInt::get(IRB.getInt32Ty(), i));
2670 ConstantInt::get(IRB.getInt32Ty(), i));
2874 Type *Ty = IRB.getInt32Ty();
2891 Type *Ty = IRB.getInt32Ty();
2966 MaskedPassThruShadow, ConstantInt::get(IRB.getInt32Ty(), 0));
2970 MaskedPassThruShadow, ConstantInt::get(IRB.getInt32Ty(), i));
4269 Value *SaveArea32 = IRB.CreateLoad(IRB.getInt32Ty(), SaveAreaPtr);
lib/Transforms/Instrumentation/SanitizerCoverage.cpp 375 Int32PtrTy = PointerType::getUnqual(IRB.getInt32Ty());
378 Int32Ty = IRB.getInt32Ty();
402 IRB.getInt32Ty(), IRB.getInt32Ty());
402 IRB.getInt32Ty(), IRB.getInt32Ty());
420 M.getOrInsertFunction(SanCovTraceDiv4, AL, VoidTy, IRB.getInt32Ty());
lib/Transforms/Instrumentation/ThreadSanitizer.cpp 216 IntegerType *OrdTy = IRB.getInt32Ty();
296 IRB.getInt8PtrTy(), IRB.getInt32Ty(), IntptrTy);
543 StoredValue, ConstantInt::get(IRB.getInt32Ty(), 0));
606 IRB.CreateIntCast(M->getArgOperand(1), IRB.getInt32Ty(), false),
lib/Transforms/Scalar/SROA.cpp 2242 Mask.push_back(UndefValue::get(IRB.getInt32Ty()));
lib/Transforms/Utils/BuildLibCalls.cpp 863 Type *I32Ty = B.getInt32Ty();
872 LibFunc_strncmp, B.getInt32Ty(),
934 {B.getInt8PtrTy(), B.getInt32Ty(), DL.getIntPtrType(Context)},
942 LibFunc_memcmp, B.getInt32Ty(),
951 LibFunc_bcmp, B.getInt32Ty(),
960 {B.getInt8PtrTy(), B.getInt8PtrTy(), B.getInt32Ty(), Len->getType()},
969 return emitLibCall(LibFunc_snprintf, B.getInt32Ty(),
979 return emitLibCall(LibFunc_sprintf, B.getInt32Ty(),
1015 LibFunc_vsnprintf, B.getInt32Ty(),
1022 return emitLibCall(LibFunc_vsprintf, B.getInt32Ty(),
1137 M->getOrInsertFunction(PutCharName, B.getInt32Ty(), B.getInt32Ty());
1137 M->getOrInsertFunction(PutCharName, B.getInt32Ty(), B.getInt32Ty());
1141 B.getInt32Ty(),
1160 M->getOrInsertFunction(PutsName, B.getInt32Ty(), B.getInt8PtrTy());
1176 FunctionCallee F = M->getOrInsertFunction(FPutcName, B.getInt32Ty(),
1177 B.getInt32Ty(), File->getType());
1180 Char = B.CreateIntCast(Char, B.getInt32Ty(), /*isSigned*/true,
1197 FunctionCallee F = M->getOrInsertFunction(FPutcUnlockedName, B.getInt32Ty(),
1198 B.getInt32Ty(), File->getType());
1201 Char = B.CreateIntCast(Char, B.getInt32Ty(), /*isSigned*/ true, "chari");
1217 FunctionCallee F = M->getOrInsertFunction(FPutsName, B.getInt32Ty(),
1236 FunctionCallee F = M->getOrInsertFunction(FPutsUnlockedName, B.getInt32Ty(),
1343 FunctionCallee F = M->getOrInsertFunction(FGetCUnlockedName, B.getInt32Ty(),
1364 B.getInt8PtrTy(), B.getInt32Ty(), File->getType());
lib/Transforms/Utils/IntegerDivision.cpp 509 Type *Int32Ty = Builder.getInt32Ty();
606 Type *Int32Ty = Builder.getInt32Ty();
lib/Transforms/Utils/LoopUtils.cpp 648 DIB.insertDbgValueIntrinsic(UndefValue::get(Builder.getInt32Ty()),
838 UndefValue::get(Builder.getInt32Ty()));
lib/Transforms/Utils/ModuleUtils.cpp 31 IRB.getInt32Ty(), PointerType::getUnqual(FnTy), IRB.getInt8PtrTy());
lib/Transforms/Utils/SanitizerStats.cpp 65 ConstantInt::get(IntPtrTy, 0), ConstantInt::get(B.getInt32Ty(), 2),
lib/Transforms/Utils/SimplifyLibCalls.cpp 1419 return isa<SIToFPInst>(I2F) ? B.CreateSExt(Op, B.getInt32Ty())
1420 : B.CreateZExt(Op, B.getInt32Ty());
1747 Base, ConstantInt::get(B.getInt32Ty(), IntExpo), M, B);
2112 Sin = B.CreateExtractElement(SinCos, ConstantInt::get(B.getInt32Ty(), 0),
2114 Cos = B.CreateExtractElement(SinCos, ConstantInt::get(B.getInt32Ty(), 1),
2208 V = B.CreateIntCast(V, B.getInt32Ty(), false);
lib/Transforms/Vectorize/SLPVectorizer.cpp 5694 VecLen, UndefValue::get(Builder.getInt32Ty()));
tools/clang/lib/CodeGen/CGAtomic.cpp 698 auto *SC = Builder.CreateIntCast(Scope, Builder.getInt32Ty(), false);
1277 Order = Builder.CreateIntCast(Order, Builder.getInt32Ty(), false);
tools/clang/lib/CodeGen/CGBuiltin.cpp 2951 Order = Builder.CreateIntCast(Order, Builder.getInt32Ty(), false);
3016 Order = Builder.CreateIntCast(Order, Builder.getInt32Ty(), false);
3075 Order = Builder.CreateIntCast(Order, Builder.getInt32Ty(), false);
10014 llvm::Type *Int32Ty = CGF.Builder.getInt32Ty();
10024 llvm::Type *Int32Ty = Builder.getInt32Ty();
12919 { Builder.getInt32Ty(), Src0->getType() });
13624 {Ptr, ConstantInt::get(Builder.getInt32Ty(), Align.getQuantity())});
tools/clang/lib/CodeGen/CGCleanup.cpp 1267 CreateDefaultAlignTempAlloca(Builder.getInt32Ty(), "cleanup.dest.slot");
tools/clang/lib/CodeGen/CGExpr.cpp 1731 llvm::UndefValue::get(Builder.getInt32Ty())};
tools/clang/lib/CodeGen/CGExprScalar.cpp 681 return llvm::ConstantInt::get(Builder.getInt32Ty(), E->getValue());
tools/clang/lib/CodeGen/CGObjCMac.cpp 4514 llvm::Constant *Zero = llvm::ConstantInt::get(CGF.Builder.getInt32Ty(), 0);
tools/polly/lib/CodeGen/BlockGenerators.cpp 1069 Indices.push_back(ConstantInt::get(Builder.getInt32Ty(), i));
1095 VectorType::get(Builder.getInt32Ty(), getVectorWidth()));
1346 VectorType::get(Builder.getInt32Ty(), getVectorWidth()));
1588 PHINode::Create(Builder.getInt32Ty(), 2, "polly.subregion.iv");
tools/polly/lib/CodeGen/LoopGeneratorsGOMP.cpp 35 Builder.getInt32Ty(),
tools/polly/lib/CodeGen/LoopGeneratorsKMP.cpp 30 Type *MicroParams[] = {Builder.getInt32Ty()->getPointerTo(),
31 Builder.getInt32Ty()->getPointerTo()};
41 Type *Params[] = {IdentTy->getPointerTo(), Builder.getInt32Ty(),
77 std::vector<Type *> Arguments = {Builder.getInt32Ty()->getPointerTo(),
78 Builder.getInt32Ty()->getPointerTo(),
153 Value *IsLastPtr = Builder.CreateAlloca(Builder.getInt32Ty(), nullptr,
283 FunctionType *Ty = FunctionType::get(Builder.getInt32Ty(), Params, false);
300 Type *Params[] = {IdentTy->getPointerTo(), Builder.getInt32Ty(),
301 Builder.getInt32Ty()};
327 Builder.getInt32Ty(),
328 Builder.getInt32Ty(),
329 Builder.getInt32Ty()->getPointerTo(),
364 Type *Params[] = {IdentTy->getPointerTo(), Builder.getInt32Ty()};
388 Builder.getInt32Ty(),
389 Builder.getInt32Ty(),
428 Builder.getInt32Ty(),
429 Builder.getInt32Ty()->getPointerTo(),
434 FunctionType *Ty = FunctionType::get(Builder.getInt32Ty(), Params, false);
457 Type *LocMembers[] = {Builder.getInt32Ty(), Builder.getInt32Ty(),
457 Type *LocMembers[] = {Builder.getInt32Ty(), Builder.getInt32Ty(),
458 Builder.getInt32Ty(), Builder.getInt32Ty(),
458 Builder.getInt32Ty(), Builder.getInt32Ty(),
tools/polly/lib/CodeGen/PerfMonitor.cpp 27 FunctionType *Ty = FunctionType::get(Builder.getInt32Ty(),
47 StructType *ST = StructType::get(Builder.getInt32Ty(), Fn->getType(),
tools/polly/lib/CodeGen/RuntimeDebugBuilder.cpp 28 Builder.getInt32Ty(), {Builder.getInt8PtrTy(), Builder.getInt8PtrTy()},
187 auto T = ArrayType::get(Builder.getInt32Ty(), ToPrint.size() * 2);
251 FunctionType *Ty = FunctionType::get(Builder.getInt32Ty(), true);
277 FunctionType::get(Builder.getInt32Ty(), Builder.getInt8PtrTy(), false);
unittests/Analysis/BasicAliasAnalysisTest.cpp 72 FunctionType::get(B.getVoidTy(), {B.getInt32Ty()->getPointerTo()}, false),
unittests/ExecutionEngine/MCJIT/MCJITMultipleModuleTest.cpp 213 FunctionType::get(Builder.getInt32Ty(), {}, false), "FA");
214 endFunctionWithRet(FA, Builder.CreateLoad(Builder.getInt32Ty(), GVA));
216 FunctionType::get(Builder.getInt32Ty(), {}, false), "FB");
217 endFunctionWithRet(FB, Builder.CreateLoad(Builder.getInt32Ty(), GVB));
unittests/ExecutionEngine/MCJIT/MCJITTest.cpp 102 startFunction(M.get(), FunctionType::get(Builder.getInt32Ty(), {}, false),
104 Value *ReadGlobal = Builder.CreateLoad(Builder.getInt32Ty(), GV);
168 M.get(), FunctionType::get(Builder.getInt32Ty(), {}, false), "Inner");
176 FunctionType::get(Builder.getInt32Ty(), {}, false),
215 M.get(), FunctionType::get(Builder.getInt32Ty(), {}, false),
217 startFunction(M.get(), FunctionType::get(Builder.getInt32Ty(), {}, false),
254 FunctionType::get(Builder.getInt32Ty(), {}, false);
unittests/IR/IRBuilderTest.cpp 133 Type *DstVecTy = VectorType::get(Builder.getInt32Ty(), 4, true);
151 Type *VecTy = VectorType::get(Builder.getInt32Ty(), 4, true);
157 ArgTys.push_back(UndefValue::get(Builder.getInt32Ty()));
212 VInt = Builder.CreateFPToUI(VDouble, Builder.getInt32Ty());
217 VInt = Builder.CreateFPToSI(VDouble, Builder.getInt32Ty());
299 AllocaInst *Var2 = Builder.CreateAlloca(Builder.getInt32Ty());
352 LandingPadInst *LP = Builder.CreateLandingPad(Builder.getInt32Ty(), 0, "LP");
588 GlobalVariable *G = new GlobalVariable(*M, Builder.getInt32Ty(), true,
unittests/IR/InstructionsTest.cpp 1041 Instruction *I = Builder.CreatePHI(Builder.getInt32Ty(), 0);
unittests/IR/PatternMatch.cpp 69 Type *IntTy = IRB.getInt32Ty();
108 Type *IntTy = IRB.getInt32Ty();
147 Type *IntTy = IRB.getInt32Ty();
186 Type *IntTy = IRB.getInt32Ty();
225 Type *IntTy = IRB.getInt32Ty();
264 Type *IntTy = IRB.getInt32Ty();
303 Type *IntTy = IRB.getInt32Ty();
342 Type *IntTy = IRB.getInt32Ty();
381 Type *IntTy = IRB.getInt32Ty();
420 Type *IntTy = IRB.getInt32Ty();
862 Value *Alloca = IRB.CreateAlloca(IRB.getInt32Ty());
863 Value *LoadInst = IRB.CreateLoad(IRB.getInt32Ty(), Alloca);
909 Type *i32 = IRB.getInt32Ty();
unittests/Transforms/Utils/IntegerDivisionTest.cpp 27 SmallVector<Type*, 2> ArgTys(2, Builder.getInt32Ty());
28 Function *F = Function::Create(FunctionType::get(Builder.getInt32Ty(),
57 SmallVector<Type*, 2> ArgTys(2, Builder.getInt32Ty());
58 Function *F = Function::Create(FunctionType::get(Builder.getInt32Ty(),
87 SmallVector<Type*, 2> ArgTys(2, Builder.getInt32Ty());
88 Function *F = Function::Create(FunctionType::get(Builder.getInt32Ty(),
117 SmallVector<Type*, 2> ArgTys(2, Builder.getInt32Ty());
118 Function *F = Function::Create(FunctionType::get(Builder.getInt32Ty(),
unittests/Transforms/Utils/SSAUpdaterBulkTest.cpp 26 Type *I32Ty = B.getInt32Ty();
113 Type *I32Ty = B.getInt32Ty();