| /openbsd-src/gnu/llvm/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() 288 Type::getInt32Ty(C), Type::getInt8PtrTy(C), in getFatbinWrapperTy() 315 ConstantInt::get(Type::getInt32Ty(C), IsHIP ? HIPFatMagic : CudaFatMagic), in createFatbinDesc() 316 ConstantInt::get(Type::getInt32Ty(C), 1), in createFatbinDesc() 372 Type::getInt32Ty(C), in createRegisterGlobalsFunction() 374 Type::getInt8PtrTy(C), Type::getInt8PtrTy(C), Type::getInt32Ty(C), in createRegisterGlobalsFunction() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/ |
| H A D | ValueTypes.cpp | 194 case MVT::i32: return Type::getInt32Ty(Context); in getTypeForEVT() 290 return FixedVectorType::get(Type::getInt32Ty(Context), 1); in getTypeForEVT() 292 return FixedVectorType::get(Type::getInt32Ty(Context), 2); in getTypeForEVT() 294 return FixedVectorType::get(Type::getInt32Ty(Context), 3); in getTypeForEVT() 296 return FixedVectorType::get(Type::getInt32Ty(Context), 4); in getTypeForEVT() 298 return FixedVectorType::get(Type::getInt32Ty(Context), 5); in getTypeForEVT() 300 return FixedVectorType::get(Type::getInt32Ty(Context), 6); in getTypeForEVT() 302 return FixedVectorType::get(Type::getInt32Ty(Context), 7); in getTypeForEVT() 304 return FixedVectorType::get(Type::getInt32Ty(Context), 8); in getTypeForEVT() 306 return FixedVectorType::get(Type::getInt32Ty(Context), 9); in getTypeForEVT() [all …]
|
| H A D | ShadowStackGCLowering.cpp | 122 Type *Int32Ty = Type::getInt32Ty(F.getContext()); in GetFrameMap() 156 ConstantInt::get(Type::getInt32Ty(F.getContext()), 0), in GetFrameMap() 157 ConstantInt::get(Type::getInt32Ty(F.getContext()), 0)}; in GetFrameMap() 191 EltTys.push_back(Type::getInt32Ty(M.getContext())); in doInitialization() 193 EltTys.push_back(Type::getInt32Ty(M.getContext())); in doInitialization() 266 Value *Indices[] = {ConstantInt::get(Type::getInt32Ty(Context), 0), in CreateGEP() 267 ConstantInt::get(Type::getInt32Ty(Context), Idx), in CreateGEP() 268 ConstantInt::get(Type::getInt32Ty(Context), Idx2)}; in CreateGEP() 279 Value *Indices[] = {ConstantInt::get(Type::getInt32Ty(Context), 0), in CreateGEP() 280 ConstantInt::get(Type::getInt32Ty(Context), Idx)}; in CreateGEP()
|
| H A D | ExpandMemCmp.cpp | 342 Type::getInt32Ty(CI->getContext()), OffsetBytes); in emitLoadCompareByteBlock() 459 Value *Zero = ConstantInt::get(Type::getInt32Ty(CI->getContext()), 0); in emitLoadCompareBlockMultipleLoads() 517 Value *Zero = ConstantInt::get(Type::getInt32Ty(CI->getContext()), 0); in emitLoadCompareBlock() 531 Value *Res = ConstantInt::get(Type::getInt32Ty(CI->getContext()), 1); in emitMemCmpResultBlock() 546 Builder.CreateSelect(Cmp, ConstantInt::get(Builder.getInt32Ty(), -1), in emitMemCmpResultBlock() 547 ConstantInt::get(Builder.getInt32Ty(), 1)); in emitMemCmpResultBlock() 568 PhiRes = Builder.CreatePHI(Type::getInt32Ty(CI->getContext()), 2, "phi.res"); in setupEndBlockPHINodes() 590 return Builder.CreateZExt(Cmp, Type::getInt32Ty(CI->getContext())); in getMemCmpEqZeroOneBlock() 603 getLoadPair(LoadSizeType, NeedsBSwap, Builder.getInt32Ty(), in getMemCmpOneBlock() 618 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() 246 "_Unwind_CallPersonality", IRB.getInt32Ty(), IRB.getInt8PtrTy()); in prepareEHPads() 339 IRB.CreateLoad(IRB.getInt32Ty(), SelectorField, "selector"); in prepareEHPad()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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()
|
| H A D | BrainFDriver.cpp | 76 Type::getInt32Ty(mod->getContext()), in addMainFunction() 77 {Type::getInt32Ty(mod->getContext()), in addMainFunction()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/examples/HowToUseJIT/ |
| H A D | HowToUseJIT.cpp | 78 Function::Create(FunctionType::get(Type::getInt32Ty(Context), in main() 79 {Type::getInt32Ty(Context)}, false), in main() 109 Function::Create(FunctionType::get(Type::getInt32Ty(Context), {}, false), in main()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 721 Value *ThrewValue = IRB.CreateLoad(IRB.getInt32Ty(), ThrewValueGV, in wrapTestSetjmp() 734 IRB.CreatePHI(IRB.getInt32Ty(), 4, "threwvalue.phi"); in wrapTestSetjmp() 768 PHINode *LabelPHI = IRB.CreatePHI(IRB.getInt32Ty(), 2, "label"); in wrapTestSetjmp() 933 ThrewValueGV = getGlobalVariable(M, IRB.getInt32Ty(), TM, "__threwValue"); in runOnModule() 935 FunctionType::get(IRB.getInt32Ty(), false), "getTempRet0", &M); in runOnModule() 937 FunctionType::get(IRB.getVoidTy(), IRB.getInt32Ty(), false), in runOnModule() 954 FunctionType::get(IRB.getInt32Ty(), IRB.getInt8PtrTy(), false); in runOnModule() 994 IRB.getVoidTy(), {getAddrIntType(&M), IRB.getInt32Ty()}, false); in runOnModule() 1000 IRB.getVoidTy(), {IRB.getInt8PtrTy(), IRB.getInt32Ty()}, false); in runOnModule() 1010 {SetjmpFTy->getParamType(0), IRB.getInt32Ty(), in runOnModule() [all …]
|
| /openbsd-src/gnu/llvm/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()
|
| H A D | EscapeEnumerator.cpp | 27 FunctionType::get(Type::getInt32Ty(C), true)); in getDefaultPersonalityFn() 73 Type *ExnTy = StructType::get(Type::getInt8PtrTy(C), Type::getInt32Ty(C)); in Next()
|
| H A D | AMDGPUEmitPrintf.cpp | 61 auto Int32Ty = Builder.getInt32Ty(); in callAppendArgs() 153 auto Int32Ty = Builder.getInt32Ty(); in callAppendStringN() 231 return Builder.CreateTrunc(Desc, Builder.getInt32Ty()); in emitAMDGPUPrintfCall()
|
| /openbsd-src/gnu/llvm/llvm/examples/ExceptionDemo/ |
| H A D | ExceptionDemo.cpp | 1085 argTypes.push_back(builder.getInt32Ty()); in createCatchWrappedInvokeFunction() 1315 llvm::Type::getInt32Ty(context), i), in createCatchWrappedInvokeFunction() 1348 unwindArgTypes.push_back(builder.getInt32Ty()); in createThrowExceptionFunction() 1407 theSwitch->addCase(llvm::ConstantInt::get(llvm::Type::getInt32Ty(context), in createThrowExceptionFunction() 1614 TypeArray(builder.getInt32Ty())); in createStandardUtilityFunctions() 1618 builder.getInt32Ty() in createStandardUtilityFunctions() 1671 structVals.push_back(llvm::ConstantInt::get(builder.getInt32Ty(), i)); 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() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/DirectX/ |
| H A D | DXILMetadata.cpp | 178 ConstantInt::get(Type::getInt32Ty(Ctx), NumThreadsTag))); in appendNumThreads() 183 ConstantInt::get(Type::getInt32Ty(Ctx), Num))); in appendNumThreads() 190 ConstantInt::get(Type::getInt32Ty(Ctx), ShaderFlagsTag))); in appendShaderFlags() 197 ConstantInt::get(Type::getInt32Ty(Ctx), ShaderKindTag))); in appendShaderKind() 199 ConstantInt::get(Type::getInt32Ty(Ctx), getShaderStage(ShaderKind)))); in appendShaderKind()
|
| H A D | DXILOpBuilder.cpp | 181 Type::getInt32Ty(Ctx)}; in getResRetType() 207 return Type::getInt32Ty(Ctx); in getTypeFromParameterKind() 292 return Type::getInt32Ty(Ctx); in getOverloadTy()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/ |
| H A D | GCOVProfiling.cpp | 659 FunctionType *FTy = FunctionType::get(Builder.getInt32Ty(), {}, false); in AddFlushBeforeForkAndExec() 1027 Type::getInt32Ty(*Ctx), // uint32_t version in getStartFileFunc() 1028 Type::getInt32Ty(*Ctx), // uint32_t checksum in getStartFileFunc() 1037 Type::getInt32Ty(*Ctx), // uint32_t ident in getEmitFunctionFunc() 1038 Type::getInt32Ty(*Ctx), // uint32_t func_checksum in getEmitFunctionFunc() 1039 Type::getInt32Ty(*Ctx), // uint32_t cfg_checksum in getEmitFunctionFunc() 1048 Type::getInt32Ty(*Ctx), // uint32_t num_counters in getEmitArcsFunc() 1095 {Builder.getInt8PtrTy(), Builder.getInt32Ty(), Builder.getInt32Ty()}, in insertCounterWriteout() 1098 {Builder.getInt32Ty(), Builder.getInt32Ty(), Builder.getInt32Ty()}, in insertCounterWriteout() 1101 {Builder.getInt32Ty(), Builder.getInt64Ty()->getPointerTo()}, in insertCounterWriteout() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/ |
| H A D | X86WinEHState.cpp | 178 Type::getInt32Ty(TheModule->getContext()), in runOnFunction() 179 {Int8PtrType, Type::getInt32Ty(TheModule->getContext())}, in runOnFunction() 235 Type::getInt32Ty(Context) // int32_t TryLevel in getCXXEHRegistrationType() 258 Type::getInt32Ty(Context), // int32_t EncodedScopeTable in getSEHRegistrationType() 259 Type::getInt32Ty(Context) // int32_t TryLevel in getSEHRegistrationType() 278 Type *Int32Ty = Builder.getInt32Ty(); in emitExceptionRegistrationRecord() 387 Type *Int32Ty = Type::getInt32Ty(Context); in generateLSDAInEAXThunk() 776 State = Builder.CreateLoad(Builder.getInt32Ty(), StateField); in addStateStores()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| H A D | Reg2Mem.cpp | 68 Constant::getNullValue(Type::getInt32Ty(F.getContext())), in runPass() 69 Type::getInt32Ty(F.getContext()), "reg2mem alloca point", &*I); in runPass()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/ |
| H A D | HexagonGenExtract.cpp | 121 CSR = ConstantInt::get(Type::getInt32Ty(Ctx), 0); in INITIALIZE_PASS_DEPENDENCY() 130 CSL = ConstantInt::get(Type::getInt32Ty(Ctx), 0); in INITIALIZE_PASS_DEPENDENCY() 137 CSL = ConstantInt::get(Type::getInt32Ty(Ctx), 0); in INITIALIZE_PASS_DEPENDENCY()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AVR/ |
| H A D | AVRShiftExpand.cpp | 54 if (I.getType() != Type::getInt32Ty(Ctx)) in runOnFunction() 78 Type *Int32Ty = Type::getInt32Ty(Ctx); in expand()
|