| /llvm-project-15.0.7/polly/lib/CodeGen/ |
| H A D | LoopGeneratorsKMP.cpp | 30 Type *MicroParams[] = {Builder.getInt32Ty()->getPointerTo(), in createCallSpawnThreads() 31 Builder.getInt32Ty()->getPointerTo()}; in createCallSpawnThreads() 350 Builder.getInt32Ty()}; in createCallPushNumThreads() 378 Builder.getInt32Ty(), in createCallStaticInit() 379 Builder.getInt32Ty(), in createCallStaticInit() 380 Builder.getInt32Ty()->getPointerTo(), in createCallStaticInit() 443 Builder.getInt32Ty(), in createCallDispatchInit() 444 Builder.getInt32Ty(), in createCallDispatchInit() 485 Builder.getInt32Ty(), in createCallDispatchNext() 517 Type *LocMembers[] = {Builder.getInt32Ty(), Builder.getInt32Ty(), in createSourceLocation() [all …]
|
| H A D | RuntimeDebugBuilder.cpp | 28 Builder.getInt32Ty(), {Builder.getInt8PtrTy(), Builder.getInt8PtrTy()}, in getVPrintF() 186 auto T = ArrayType::get(Builder.getInt32Ty(), ToPrint.size() * 2); in createGPUPrinterT() 194 auto Ptr = Builder.CreateGEP(Builder.getInt32Ty(), DataPtr, in createGPUPrinterT() 251 FunctionType *Ty = FunctionType::get(Builder.getInt32Ty(), true); in getPrintF() 277 FunctionType::get(Builder.getInt32Ty(), Builder.getInt8PtrTy(), false); in createFlush()
|
| /llvm-project-15.0.7/clang/tools/clang-linker-wrapper/ |
| H A D | OffloadWrapper.cpp | 45 return Type::getInt32Ty(C); in getSizeTTy() 65 Type::getInt32Ty(C), Type::getInt32Ty(C)); in getEntryTy() 103 DescTy = StructType::create("__tgt_bin_desc", Type::getInt32Ty(C), in getBinDescTy() 219 ConstantInt::get(Type::getInt32Ty(C), ImagesInits.size()), ImagesB, in createBinDesc() 287 FatbinTy = StructType::create("fatbin_wrapper", Type::getInt32Ty(C), in getFatbinWrapperTy() 316 ConstantInt::get(Type::getInt32Ty(C), 1), in createFatbinDesc() 372 Type::getInt32Ty(C), in createRegisterGlobalsFunction() 386 getSizeTTy(M), Type::getInt32Ty(C), Type::getInt32Ty(C)}, in createRegisterGlobalsFunction() 459 ConstantInt::get(Type::getInt32Ty(C), -1), in createRegisterGlobalsFunction() 473 ConstantInt::get(Type::getInt32Ty(C), 0), in createRegisterGlobalsFunction() [all …]
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/ |
| H A D | ValueTypes.cpp | 194 case MVT::i32: return Type::getInt32Ty(Context); in getTypeForEVT() 284 return FixedVectorType::get(Type::getInt32Ty(Context), 1); in getTypeForEVT() 286 return FixedVectorType::get(Type::getInt32Ty(Context), 2); in getTypeForEVT() 288 return FixedVectorType::get(Type::getInt32Ty(Context), 3); in getTypeForEVT() 290 return FixedVectorType::get(Type::getInt32Ty(Context), 4); in getTypeForEVT() 292 return FixedVectorType::get(Type::getInt32Ty(Context), 5); in getTypeForEVT() 294 return FixedVectorType::get(Type::getInt32Ty(Context), 6); in getTypeForEVT() 296 return FixedVectorType::get(Type::getInt32Ty(Context), 7); in getTypeForEVT() 298 return FixedVectorType::get(Type::getInt32Ty(Context), 8); in getTypeForEVT() 300 return FixedVectorType::get(Type::getInt32Ty(Context), 16); in getTypeForEVT() [all …]
|
| H A D | ShadowStackGCLowering.cpp | 121 Type *Int32Ty = Type::getInt32Ty(F.getContext()); in GetFrameMap() 155 ConstantInt::get(Type::getInt32Ty(F.getContext()), 0), in GetFrameMap() 156 ConstantInt::get(Type::getInt32Ty(F.getContext()), 0)}; in GetFrameMap() 190 EltTys.push_back(Type::getInt32Ty(M.getContext())); in doInitialization() 192 EltTys.push_back(Type::getInt32Ty(M.getContext())); in doInitialization() 265 Value *Indices[] = {ConstantInt::get(Type::getInt32Ty(Context), 0), in CreateGEP() 266 ConstantInt::get(Type::getInt32Ty(Context), Idx), in CreateGEP() 267 ConstantInt::get(Type::getInt32Ty(Context), Idx2)}; in CreateGEP() 278 Value *Indices[] = {ConstantInt::get(Type::getInt32Ty(Context), 0), in CreateGEP() 279 ConstantInt::get(Type::getInt32Ty(Context), Idx)}; in CreateGEP()
|
| H A D | ExpandMemCmp.cpp | 341 Type::getInt32Ty(CI->getContext()), OffsetBytes); in emitLoadCompareByteBlock() 458 Value *Zero = ConstantInt::get(Type::getInt32Ty(CI->getContext()), 0); in emitLoadCompareBlockMultipleLoads() 516 Value *Zero = ConstantInt::get(Type::getInt32Ty(CI->getContext()), 0); in emitLoadCompareBlock() 530 Value *Res = ConstantInt::get(Type::getInt32Ty(CI->getContext()), 1); in emitMemCmpResultBlock() 545 Builder.CreateSelect(Cmp, ConstantInt::get(Builder.getInt32Ty(), -1), in emitMemCmpResultBlock() 546 ConstantInt::get(Builder.getInt32Ty(), 1)); in emitMemCmpResultBlock() 567 PhiRes = Builder.CreatePHI(Type::getInt32Ty(CI->getContext()), 2, "phi.res"); in setupEndBlockPHINodes() 589 return Builder.CreateZExt(Cmp, Type::getInt32Ty(CI->getContext())); in getMemCmpEqZeroOneBlock() 602 getLoadPair(LoadSizeType, NeedsBSwap, Builder.getInt32Ty(), in getMemCmpOneBlock() 617 Value *ZextUGT = Builder.CreateZExt(CmpUGT, Builder.getInt32Ty()); in getMemCmpOneBlock() [all …]
|
| H A D | WasmEHPrepare.cpp | 138 LPadContextTy = StructType::get(IRB.getInt32Ty(), // lpad_index in doInitialization() 140 IRB.getInt32Ty() // selector in doInitialization() 247 "_Unwind_CallPersonality", IRB.getInt32Ty(), IRB.getInt8PtrTy()); in prepareEHPads() 340 IRB.CreateLoad(IRB.getInt32Ty(), SelectorField, "selector"); in prepareEHPad()
|
| /llvm-project-15.0.7/llvm/unittests/ExecutionEngine/ |
| H A D | ExecutionEngineTest.cpp | 52 GlobalVariable *G1 = NewExtGlobal(Type::getInt32Ty(Context), "Global1"); in TEST_F() 65 GlobalVariable *G2 = NewExtGlobal(Type::getInt32Ty(Context), "Global1"); in TEST_F() 77 GlobalVariable *G1 = NewExtGlobal(Type::getInt32Ty(Context), "Global1"); in TEST_F() 87 GlobalVariable *G2 = NewExtGlobal(Type::getInt32Ty(Context), "Global2"); in TEST_F() 103 GlobalVariable *G1 = NewExtGlobal(Type::getInt32Ty(Context), "Global1"); in TEST_F() 113 GlobalVariable *G2 = NewExtGlobal(Type::getInt32Ty(Context), "Global2"); in TEST_F() 121 GlobalVariable *G1 = NewExtGlobal(Type::getInt32Ty(Context), "Global1"); in TEST_F()
|
| /llvm-project-15.0.7/llvm/unittests/ExecutionEngine/MCJIT/ |
| H A D | MCJITTest.cpp | 102 startFunction(M.get(), FunctionType::get(Builder.getInt32Ty(), {}, false), in TEST_F() 104 Value *ReadGlobal = Builder.CreateLoad(Builder.getInt32Ty(), GV); in TEST_F() 168 M.get(), FunctionType::get(Builder.getInt32Ty(), {}, false), "Inner"); in TEST_F() 176 FunctionType::get(Builder.getInt32Ty(), {}, false), in TEST_F() 215 M.get(), FunctionType::get(Builder.getInt32Ty(), {}, false), in TEST_F() 217 startFunction(M.get(), FunctionType::get(Builder.getInt32Ty(), {}, false), in TEST_F() 254 FunctionType::get(Builder.getInt32Ty(), {}, false); in TEST_F()
|
| H A D | MCJITTestBase.h | 81 M, FunctionType::get(Type::getInt32Ty(Context), {}, false), "main"); in insertMainFunction() 96 Type::getInt32Ty(Context), 97 {Type::getInt32Ty(Context), Type::getInt32Ty(Context)}, false), 131 Type *GlobalTy = Type::getInt32Ty(Context); in insertGlobalInt32() 157 FunctionType::get(Type::getInt32Ty(Context), 158 {Type::getInt32Ty(Context)}, false),
|
| /llvm-project-15.0.7/llvm/examples/ParallelJIT/ |
| H A D | ParallelJIT.cpp | 55 Function::Create(FunctionType::get(Type::getInt32Ty(Context), in createAdd1() 56 {Type::getInt32Ty(Context)}, false), in createAdd1() 64 Value *One = ConstantInt::get(Type::getInt32Ty(Context), 1); in createAdd1() 85 FunctionType *FibFTy = FunctionType::get(Type::getInt32Ty(Context), in CreateFibFunction() 86 {Type::getInt32Ty(Context)}, false); in CreateFibFunction() 94 Value *One = ConstantInt::get(Type::getInt32Ty(Context), 1); in CreateFibFunction() 95 Value *Two = ConstantInt::get(Type::getInt32Ty(Context), 2); in CreateFibFunction()
|
| /llvm-project-15.0.7/llvm/examples/ModuleMaker/ |
| H A D | ModuleMaker.cpp | 39 FunctionType::get(Type::getInt32Ty(Context), /*not vararg*/false); in main() 50 Value *Two = ConstantInt::get(Type::getInt32Ty(Context), 2); in main() 51 Value *Three = ConstantInt::get(Type::getInt32Ty(Context), 3); in main()
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | ValueHandleTest.cpp | 27 : ConstantV(ConstantInt::get(Type::getInt32Ty(Context), 0)), in ValueHandle() 44 EXPECT_EQ(Type::getInt32Ty(Context), WVH->getType()); in TEST_F() 45 EXPECT_EQ(Type::getInt32Ty(Context), (*WVH).getType()); in TEST_F() 62 EXPECT_EQ(Type::getInt32Ty(Context), WVH->getType()); in TEST_F() 63 EXPECT_EQ(Type::getInt32Ty(Context), (*WVH).getType()); in TEST_F() 217 EXPECT_EQ(Type::getInt32Ty(Context), CVH->getType()); in TEST_F() 218 EXPECT_EQ(Type::getInt32Ty(Context), (*CVH).getType()); in TEST_F() 327 Constant::getNullValue(Type::getInt32Ty(*Context))); in TEST_F() 343 RVH, Constant::getNullValue(Type::getInt32Ty(Context)))); in TEST_F() 346 EXPECT_EQ(Constant::getNullValue(Type::getInt32Ty(Context)), in TEST_F() [all …]
|
| H A D | VectorBuilderTest.cpp | 32 auto *Int32Ty = Type::getInt32Ty(Context); in createBuilderModule() 61 FixedVectorType::get(Type::getInt32Ty(Context), VectorNumElements); in TEST_F() 111 FixedVectorType::get(Type::getInt32Ty(Context), VectorNumElements); in TEST_F() 157 FixedVectorType::get(Type::getInt32Ty(Context), VectorNumElements); in TEST_F() 192 FixedVectorType::get(Type::getInt32Ty(Context), VectorNumElements); in TEST_F()
|
| H A D | AsmWriterTest.cpp | 26 auto Ty = Type::getInt32Ty(Ctx); in TEST() 40 auto Ty = Type::getInt32Ty(Ctx); in TEST()
|
| /llvm-project-15.0.7/llvm/examples/BrainF/ |
| H A D | BrainF.cpp | 70 Type *Tys[] = { Type::getInt8PtrTy(C), Type::getInt32Ty(C) }; in header() 76 module->getOrInsertFunction("getchar", IntegerType::getInt32Ty(C)); in header() 80 "putchar", IntegerType::getInt32Ty(C), IntegerType::getInt32Ty(C)); in header() 93 Type* IntPtrTy = IntegerType::getInt32Ty(C); in header() 154 "puts", IntegerType::getInt32Ty(C), in header() 162 Constant *zero_32 = Constant::getNullValue(IntegerType::getInt32Ty(C)); in header() 230 CreateSExt(tape_0, IntegerType::getInt32Ty(C), tapereg); in readloop()
|
| /llvm-project-15.0.7/llvm/examples/Fibonacci/ |
| H A D | fibonacci.cpp | 54 FunctionType *FibFTy = FunctionType::get(Type::getInt32Ty(Context), in CreateFibFunction() 55 {Type::getInt32Ty(Context)}, false); in CreateFibFunction() 63 Value *One = ConstantInt::get(Type::getInt32Ty(Context), 1); in CreateFibFunction() 64 Value *Two = ConstantInt::get(Type::getInt32Ty(Context), 2); in CreateFibFunction()
|
| /llvm-project-15.0.7/llvm/unittests/Transforms/Utils/ |
| H A D | IntegerDivisionTest.cpp | 27 SmallVector<Type*, 2> ArgTys(2, Builder.getInt32Ty()); in TEST() 28 Function *F = Function::Create(FunctionType::get(Builder.getInt32Ty(), in TEST() 57 SmallVector<Type*, 2> ArgTys(2, Builder.getInt32Ty()); in TEST() 58 Function *F = Function::Create(FunctionType::get(Builder.getInt32Ty(), in TEST() 87 SmallVector<Type*, 2> ArgTys(2, Builder.getInt32Ty()); in TEST() 88 Function *F = Function::Create(FunctionType::get(Builder.getInt32Ty(), in TEST() 117 SmallVector<Type*, 2> ArgTys(2, Builder.getInt32Ty()); in TEST() 118 Function *F = Function::Create(FunctionType::get(Builder.getInt32Ty(), in TEST()
|
| /llvm-project-15.0.7/llvm/examples/HowToUseJIT/ |
| H A D | HowToUseJIT.cpp | 74 Function::Create(FunctionType::get(Type::getInt32Ty(Context), in main() 75 {Type::getInt32Ty(Context)}, false), in main() 105 Function::Create(FunctionType::get(Type::getInt32Ty(Context), {}, false), in main()
|
| /llvm-project-15.0.7/llvm/unittests/Target/DirectX/ |
| H A D | PointerTypeAnalysisTests.cpp | 78 Type *I32Ptr = TypedPointerType::get(Type::getInt32Ty(Context), 0); in TEST() 79 Type *FnTy = FunctionType::get(Type::getInt32Ty(Context), {I32Ptr}, false); in TEST() 100 Type *I32Ptr = TypedPointerType::get(Type::getInt32Ty(Context), 0); in TEST() 101 Type *FnTy = FunctionType::get(Type::getInt32Ty(Context), {I32Ptr}, false); in TEST() 177 Type *I32Ptr = TypedPointerType::get(Type::getInt32Ty(Context), 0); in TEST()
|
| /llvm-project-15.0.7/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 723 Value *ThrewValue = IRB.CreateLoad(IRB.getInt32Ty(), ThrewValueGV, in wrapTestSetjmp() 736 IRB.CreatePHI(IRB.getInt32Ty(), 4, "threwvalue.phi"); in wrapTestSetjmp() 770 PHINode *LabelPHI = IRB.CreatePHI(IRB.getInt32Ty(), 2, "label"); in wrapTestSetjmp() 937 FunctionType::get(IRB.getInt32Ty(), false), "getTempRet0", &M); in runOnModule() 939 FunctionType::get(IRB.getVoidTy(), IRB.getInt32Ty(), false), in runOnModule() 956 FunctionType::get(IRB.getInt32Ty(), IRB.getInt8PtrTy(), false); in runOnModule() 1019 IRB.getInt32Ty(), in runOnModule() 1029 IRB.getInt32Ty() // val in runOnModule() 1294 SetjmpTableSize, IRB.getInt32Ty(), IRB.getInt32Ty(), IRB.getInt32(40), in runSjLjOnFunction() 1680 FunctionType::get(IRB.getInt32Ty(), /* isVarArg */ true); in handleLongjmpableCallsForWasmSjLj() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | SanitizerStats.cpp | 37 Type::getInt32Ty(M->getContext()), in makeModuleStatsTy() 64 ConstantInt::get(IntPtrTy, 0), ConstantInt::get(B.getInt32Ty(), 2), in create() 77 IntegerType *Int32Ty = Type::getInt32Ty(M->getContext()); in finish()
|
| /llvm-project-15.0.7/llvm/examples/ExceptionDemo/ |
| H A D | ExceptionDemo.cpp | 1085 argTypes.push_back(builder.getInt32Ty()); in createCatchWrappedInvokeFunction() 1348 unwindArgTypes.push_back(builder.getInt32Ty()); in createThrowExceptionFunction() 1618 builder.getInt32Ty() in createStandardUtilityFunctions() 1699 argTypes.push_back(builder.getInt32Ty()); in createStandardUtilityFunctions() 1755 argTypes.push_back(builder.getInt32Ty()); in createStandardUtilityFunctions() 1791 argTypes.push_back(builder.getInt32Ty()); in createStandardUtilityFunctions() 1806 retType = builder.getInt32Ty(); in createStandardUtilityFunctions() 1826 retType = builder.getInt32Ty(); in createStandardUtilityFunctions() 1846 retType = builder.getInt32Ty(); in createStandardUtilityFunctions() 1849 argTypes.push_back(builder.getInt32Ty()); in createStandardUtilityFunctions() [all …]
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGGPUBuiltin.cpp | 29 llvm::Type::getInt32Ty(M.getContext()), ArgTypes, false); in GetVprintfDeclaration() 50 llvm::Type::getInt32Ty(M.getContext())}; in GetOpenMPVprintfDeclaration() 52 llvm::Type::getInt32Ty(M.getContext()), ArgTypes, false); in GetOpenMPVprintfDeclaration() 164 llvm::ConstantInt::get(llvm::Type::getInt32Ty(CGM.getLLVMContext()), in EmitDevicePrintfCallExpr()
|
| /llvm-project-15.0.7/llvm/examples/HowToUseLLJIT/ |
| H A D | HowToUseLLJIT.cpp | 48 Function::Create(FunctionType::get(Type::getInt32Ty(*Context), in createDemoModule() 49 {Type::getInt32Ty(*Context)}, false), in createDemoModule()
|