/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
H A D | ValueTypes.cpp | 190 case MVT::i32: return Type::getInt32Ty(Context); in getTypeForEVT() 263 return FixedVectorType::get(Type::getInt32Ty(Context), 1); in getTypeForEVT() 265 return FixedVectorType::get(Type::getInt32Ty(Context), 2); in getTypeForEVT() 267 return FixedVectorType::get(Type::getInt32Ty(Context), 3); in getTypeForEVT() 269 return FixedVectorType::get(Type::getInt32Ty(Context), 4); in getTypeForEVT() 271 return FixedVectorType::get(Type::getInt32Ty(Context), 5); in getTypeForEVT() 273 return FixedVectorType::get(Type::getInt32Ty(Context), 8); in getTypeForEVT() 275 return FixedVectorType::get(Type::getInt32Ty(Context), 16); in getTypeForEVT() 277 return FixedVectorType::get(Type::getInt32Ty(Context), 32); in getTypeForEVT() 279 return FixedVectorType::get(Type::getInt32Ty(Context), 64); 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 | 339 Type::getInt32Ty(CI->getContext()), OffsetBytes); in emitLoadCompareByteBlock() 456 Value *Zero = ConstantInt::get(Type::getInt32Ty(CI->getContext()), 0); in emitLoadCompareBlockMultipleLoads() 514 Value *Zero = ConstantInt::get(Type::getInt32Ty(CI->getContext()), 0); in emitLoadCompareBlock() 528 Value *Res = ConstantInt::get(Type::getInt32Ty(CI->getContext()), 1); in emitMemCmpResultBlock() 543 Builder.CreateSelect(Cmp, ConstantInt::get(Builder.getInt32Ty(), -1), in emitMemCmpResultBlock() 544 ConstantInt::get(Builder.getInt32Ty(), 1)); in emitMemCmpResultBlock() 565 PhiRes = Builder.CreatePHI(Type::getInt32Ty(CI->getContext()), 2, "phi.res"); in setupEndBlockPHINodes() 587 return Builder.CreateZExt(Cmp, Type::getInt32Ty(CI->getContext())); in getMemCmpEqZeroOneBlock() 600 getLoadPair(LoadSizeType, NeedsBSwap, Builder.getInt32Ty(), in getMemCmpOneBlock() 615 Value *ZextUGT = Builder.CreateZExt(CmpUGT, Builder.getInt32Ty()); in getMemCmpOneBlock() [all …]
|
H A D | WasmEHPrepare.cpp | 152 LPadContextTy = StructType::get(IRB.getInt32Ty(), // lpad_index in doInitialization() 154 IRB.getInt32Ty() // selector in doInitialization() 258 "_Unwind_CallPersonality", IRB.getInt32Ty(), IRB.getInt8PtrTy()); in prepareEHPads() 351 IRB.CreateLoad(IRB.getInt32Ty(), SelectorField, "selector"); in prepareEHPad()
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/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() 155 "puts", IntegerType::getInt32Ty(C), in header() 163 Constant *zero_32 = Constant::getNullValue(IntegerType::getInt32Ty(C)); in header() 231 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()
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyLowerEmscriptenEHSjLj.cpp | 577 Value *ThrewValue = IRB.CreateLoad(IRB.getInt32Ty(), ThrewValueGV, in wrapTestSetjmp() 612 PHINode *LabelPHI = IRB.CreatePHI(IRB.getInt32Ty(), 2, "label"); in wrapTestSetjmp() 706 ThrewValueGV = getGlobalVariable(M, IRB.getInt32Ty(), TM, "__threwValue"); in runOnModule() 708 FunctionType::get(IRB.getInt32Ty(), false), "getTempRet0", &M); in runOnModule() 710 FunctionType::get(IRB.getVoidTy(), IRB.getInt32Ty(), false), in runOnModule() 726 FunctionType::get(IRB.getInt32Ty(), IRB.getInt8PtrTy(), false); in runOnModule() 742 IRB.getVoidTy(), {getAddrIntType(&M), IRB.getInt32Ty()}, false); in runOnModule() 752 {SetjmpFTy->getParamType(0), IRB.getInt32Ty(), in runOnModule() 753 Type::getInt32PtrTy(C), IRB.getInt32Ty()}, in runOnModule() 759 IRB.getInt32Ty(), in runOnModule() [all …]
|
/netbsd-src/external/apache2/llvm/dist/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 …]
|
/netbsd-src/external/apache2/llvm/dist/clang/tools/clang-offload-wrapper/ |
H A D | ClangOffloadWrapper.cpp | 77 return Type::getInt32Ty(C); in getSizeTTy() 95 Type::getInt32Ty(C), Type::getInt32Ty(C)); in getEntryTy() 127 DescTy = StructType::create("__tgt_bin_desc", Type::getInt32Ty(C), in getBinDescTy() 240 ConstantInt::get(Type::getInt32Ty(C), ImagesInits.size()), ImagesB, in createBinDesc()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/ |
H A D | SanitizerStats.cpp | 38 Type::getInt32Ty(M->getContext()), in makeModuleStatsTy() 65 ConstantInt::get(IntPtrTy, 0), ConstantInt::get(B.getInt32Ty(), 2), in create() 78 IntegerType *Int32Ty = Type::getInt32Ty(M->getContext()); in finish()
|
H A D | BuildLibCalls.cpp | 1255 Type *I32Ty = B.getInt32Ty(); in emitStrChr() 1264 LibFunc_strncmp, B.getInt32Ty(), in emitStrNCmp() 1335 {B.getInt8PtrTy(), B.getInt32Ty(), DL.getIntPtrType(Context)}, in emitMemChr() 1343 LibFunc_memcmp, B.getInt32Ty(), in emitMemCmp() 1352 LibFunc_bcmp, B.getInt32Ty(), in emitBCmp() 1361 {B.getInt8PtrTy(), B.getInt8PtrTy(), B.getInt32Ty(), Len->getType()}, in emitMemCCpy() 1370 return emitLibCall(LibFunc_snprintf, B.getInt32Ty(), in emitSNPrintf() 1380 return emitLibCall(LibFunc_sprintf, B.getInt32Ty(), in emitSPrintf() 1416 LibFunc_vsnprintf, B.getInt32Ty(), in emitVSNPrintf() 1423 return emitLibCall(LibFunc_vsprintf, B.getInt32Ty(), in emitVSPrintf() [all …]
|
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 | 74 auto Int32Ty = Builder.getInt32Ty(); in callAppendArgs() 166 auto Int32Ty = Builder.getInt32Ty(); in callAppendStringN() 242 return Builder.CreateTrunc(Desc, Builder.getInt32Ty()); in emitAMDGPUPrintfCall()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/ |
H A D | GCOVProfiling.cpp | 711 FunctionType *FTy = FunctionType::get(Builder.getInt32Ty(), {}, false); in AddFlushBeforeForkAndExec() 1069 Type::getInt32Ty(*Ctx), // uint32_t version in getStartFileFunc() 1070 Type::getInt32Ty(*Ctx), // uint32_t checksum in getStartFileFunc() 1082 Type::getInt32Ty(*Ctx), // uint32_t ident in getEmitFunctionFunc() 1083 Type::getInt32Ty(*Ctx), // uint32_t func_checksum in getEmitFunctionFunc() 1084 Type::getInt32Ty(*Ctx), // uint32_t cfg_checksum in getEmitFunctionFunc() 1098 Type::getInt32Ty(*Ctx), // uint32_t num_counters in getEmitArcsFunc() 1146 {Builder.getInt8PtrTy(), Builder.getInt32Ty(), Builder.getInt32Ty()}, in insertCounterWriteout() 1149 {Builder.getInt32Ty(), Builder.getInt32Ty(), Builder.getInt32Ty()}, in insertCounterWriteout() 1152 {Builder.getInt32Ty(), Builder.getInt64Ty()->getPointerTo()}, in insertCounterWriteout() [all …]
|
H A D | InstrOrderFile.cpp | 77 Type *IdxTy = Type::getInt32Ty(Ctx); in createOrderFileData() 120 IntegerType *Int32Ty = Type::getInt32Ty(Ctx); in generateCodeSequence()
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/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()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUPrintfRuntimeBinding.cpp | 150 Type *I32Ty = Type::getInt32Ty(Ctx); in lowerPrintfForGpu() 218 llvm::Type *ResType = llvm::Type::getInt32Ty(Ctx); in lowerPrintfForGpu() 323 Type *SizetTy = Type::getInt32Ty(Ctx); in lowerPrintfForGpu() 396 Type *Int32Ty = Type::getInt32Ty(Ctx); in lowerPrintfForGpu() 495 IType = Type::getInt32Ty(ArgType->getContext()); in lowerPrintfForGpu() 507 IType = Type::getInt32Ty(ArgType->getContext()); in lowerPrintfForGpu()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
H A D | Reg2Mem.cpp | 67 Constant::getNullValue(Type::getInt32Ty(F.getContext())), in runPass() 68 Type::getInt32Ty(F.getContext()), "reg2mem alloca point", &*I); in runPass()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | SanitizerMetadata.cpp | 100 llvm::Type::getInt32Ty(VMContext), PLoc.getLine())), in getLocationMetadata() 102 llvm::Type::getInt32Ty(VMContext), PLoc.getColumn())), in getLocationMetadata()
|