Home
last modified time | relevance | path

Searched refs:getInt32Ty (Results 1 – 25 of 168) sorted by relevance

1234567

/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DValueTypes.cpp190 case MVT::i32: return Type::getInt32Ty(Context); in getTypeForEVT()
274 return FixedVectorType::get(Type::getInt32Ty(Context), 1); in getTypeForEVT()
276 return FixedVectorType::get(Type::getInt32Ty(Context), 2); in getTypeForEVT()
278 return FixedVectorType::get(Type::getInt32Ty(Context), 3); in getTypeForEVT()
280 return FixedVectorType::get(Type::getInt32Ty(Context), 4); in getTypeForEVT()
282 return FixedVectorType::get(Type::getInt32Ty(Context), 5); in getTypeForEVT()
284 return FixedVectorType::get(Type::getInt32Ty(Context), 6); in getTypeForEVT()
286 return FixedVectorType::get(Type::getInt32Ty(Context), 7); in getTypeForEVT()
288 return FixedVectorType::get(Type::getInt32Ty(Context), 8); in getTypeForEVT()
290 return FixedVectorType::get(Type::getInt32Ty(Context), 16); in getTypeForEVT()
[all …]
H A DShadowStackGCLowering.cpp122 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 DExpandMemCmp.cpp339 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 DWasmEHPrepare.cpp138 LPadContextTy = StructType::get(IRB.getInt32Ty(), // lpad_index in doInitialization()
140 IRB.getInt32Ty() // selector in doInitialization()
241 "_Unwind_CallPersonality", IRB.getInt32Ty(), IRB.getInt8PtrTy()); in prepareEHPads()
334 IRB.CreateLoad(IRB.getInt32Ty(), SelectorField, "selector"); in prepareEHPad()
H A DSjLjEHPrepare.cpp116 Type *Int32Ty = Type::getInt32Ty(I->getContext()); in insertCallSiteStore()
211 SelVal = Builder.CreateTrunc(SelVal, Type::getInt32Ty(F.getContext())); in setupFunctionContext()
430 ConstantInt::get(Type::getInt32Ty(F.getContext()), I + 1); in setupEntryBlockAndCallSites()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp588 Value *ThrewValue = IRB.CreateLoad(IRB.getInt32Ty(), ThrewValueGV, in wrapTestSetjmp()
623 PHINode *LabelPHI = IRB.CreatePHI(IRB.getInt32Ty(), 2, "label"); in wrapTestSetjmp()
719 FunctionType::get(IRB.getInt32Ty(), false), "getTempRet0", &M); in runOnModule()
721 FunctionType::get(IRB.getVoidTy(), IRB.getInt32Ty(), false), in runOnModule()
737 FunctionType::get(IRB.getInt32Ty(), IRB.getInt8PtrTy(), false); in runOnModule()
745 IRB.getVoidTy(), {getAddrIntType(&M), IRB.getInt32Ty()}, false); in runOnModule()
753 Type::getInt32PtrTy(C), IRB.getInt32Ty()}, in runOnModule()
759 IRB.getInt32Ty(), in runOnModule()
760 {getAddrIntType(&M), Type::getInt32PtrTy(C), IRB.getInt32Ty()}, in runOnModule()
1023 SetjmpTableSize, IRB.getInt32Ty(), IRB.getInt32Ty(), IRB.getInt32(40), in runSjLjOnFunction()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSanitizerStats.cpp38 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 DEscapeEnumerator.cpp27 FunctionType::get(Type::getInt32Ty(C), true)); in getDefaultPersonalityFn()
73 Type *ExnTy = StructType::get(Type::getInt8PtrTy(C), Type::getInt32Ty(C)); in Next()
H A DBuildLibCalls.cpp1255 Type *I32Ty = B.getInt32Ty(); in emitStrChr()
1264 LibFunc_strncmp, B.getInt32Ty(), in emitStrNCmp()
1343 LibFunc_memcmp, B.getInt32Ty(), in emitMemCmp()
1352 LibFunc_bcmp, B.getInt32Ty(), in emitBCmp()
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()
1542 M->getOrInsertFunction(PutCharName, B.getInt32Ty(), B.getInt32Ty()); in emitPutChar()
1546 B.getInt32Ty(), in emitPutChar()
[all …]
H A DAMDGPUEmitPrintf.cpp74 auto Int32Ty = Builder.getInt32Ty(); in callAppendArgs()
166 auto Int32Ty = Builder.getInt32Ty(); in callAppendStringN()
242 return Builder.CreateTrunc(Desc, Builder.getInt32Ty()); in emitAMDGPUPrintfCall()
H A DRelLookupTableConverter.cpp97 ArrayType::get(Type::getInt32Ty(M.getContext()), NumElts); in createRelLookupTable()
115 llvm::ConstantExpr::getTrunc(Sub, Type::getInt32Ty(M.getContext())); in createRelLookupTable()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp711 FunctionType *FTy = FunctionType::get(Builder.getInt32Ty(), {}, false); in AddFlushBeforeForkAndExec()
1071 Type::getInt32Ty(*Ctx), // uint32_t version in getStartFileFunc()
1072 Type::getInt32Ty(*Ctx), // uint32_t checksum in getStartFileFunc()
1084 Type::getInt32Ty(*Ctx), // uint32_t ident in getEmitFunctionFunc()
1085 Type::getInt32Ty(*Ctx), // uint32_t func_checksum in getEmitFunctionFunc()
1086 Type::getInt32Ty(*Ctx), // uint32_t cfg_checksum in getEmitFunctionFunc()
1100 Type::getInt32Ty(*Ctx), // uint32_t num_counters in getEmitArcsFunc()
1148 {Builder.getInt8PtrTy(), Builder.getInt32Ty(), Builder.getInt32Ty()}, in insertCounterWriteout()
1151 {Builder.getInt32Ty(), Builder.getInt32Ty(), Builder.getInt32Ty()}, in insertCounterWriteout()
1154 {Builder.getInt32Ty(), Builder.getInt64Ty()->getPointerTo()}, in insertCounterWriteout()
[all …]
H A DInstrOrderFile.cpp77 Type *IdxTy = Type::getInt32Ty(Ctx); in createOrderFileData()
120 IntegerType *Int32Ty = Type::getInt32Ty(Ctx); in generateCodeSequence()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86WinEHState.cpp178 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()
H A DX86LowerAMXIntrinsics.cpp176 Type *EltTy = B.getInt32Ty(); in createTileLoadStoreLoops()
302 FixedVectorType *V256I32Ty = FixedVectorType::get(B.getInt32Ty(), 256); in createTileDPLoops()
379 FixedVectorType *V4I32Ty = FixedVectorType::get(B.getInt32Ty(), 4); in createTileDPLoops()
449 Value *ResElt = B.CreateBitCast(SubVecR, B.getInt32Ty()); in createTileDPLoops()
562 FixedVectorType *V256I32Ty = FixedVectorType::get(Builder.getInt32Ty(), 256); in lowerTileZero()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DReg2Mem.cpp67 Constant::getNullValue(Type::getInt32Ty(F.getContext())), in runPass()
68 Type::getInt32Ty(F.getContext()), "reg2mem alloca point", &*I); in runPass()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPrintfRuntimeBinding.cpp150 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()
390 Type *Int32Ty = Type::getInt32Ty(Ctx); in lowerPrintfForGpu()
489 IType = Type::getInt32Ty(ArgType->getContext()); in lowerPrintfForGpu()
501 IType = Type::getInt32Ty(ArgType->getContext()); in lowerPrintfForGpu()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonGenExtract.cpp121 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()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRShiftExpand.cpp54 if (I.getType() != Type::getInt32Ty(Ctx)) in runOnFunction()
78 Type *Int32Ty = Type::getInt32Ty(Ctx); in expand()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DSanitizerMetadata.cpp100 llvm::Type::getInt32Ty(VMContext), PLoc.getLine())), in getLocationMetadata()
102 llvm::Type::getInt32Ty(VMContext), PLoc.getColumn())), in getLocationMetadata()
H A DCGOpenCLRuntime.cpp101 llvm::Type *Int32Ty = llvm::IntegerType::getInt32Ty(CGM.getLLVMContext()); in getPipeElemSize()
111 llvm::Type *Int32Ty = llvm::IntegerType::getInt32Ty(CGM.getLLVMContext()); in getPipeElemAlign()
H A DCGLoopInfo.cpp67 llvm::Type::getInt32Ty(Ctx), Attrs.PipelineInitiationInterval))}; in createPipeliningMetadata()
121 llvm::Type::getInt32Ty(Ctx), Attrs.UnrollCount))}; in createPartialUnrollMetadata()
183 ConstantAsMetadata::get(ConstantInt::get(llvm::Type::getInt32Ty(Ctx), in createUnrollAndJamMetadata()
271 ConstantAsMetadata::get(ConstantInt::get(llvm::Type::getInt32Ty(Ctx), in createLoopVectorizeMetadata()
290 ConstantAsMetadata::get(ConstantInt::get(llvm::Type::getInt32Ty(Ctx), in createLoopVectorizeMetadata()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp164 Type::getInt32Ty(Context), in GenEmptyFunction()
317 Type::getInt32Ty(Context), in pickScalarType()
491 Type::getInt32Ty(BB->getContext()), in Act()
510 Type *I32 = Type::getInt32Ty(BB->getContext()); in Act()
538 Type::getInt32Ty(BB->getContext()), in Act()
/freebsd-13.1/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DOperations.cpp198 auto *Int32Ty = Type::getInt32Ty(Cur[0]->getContext()); in validExtractValueIndex()
257 auto *Int32Ty = Type::getInt32Ty(Cur[0]->getContext()); in validInsertValueIndex()
306 auto *Int32Ty = Type::getInt32Ty(Cur[0]->getContext()); in validShuffleVectorIndex()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMConstantPoolValue.cpp47 : MachineConstantPoolValue((Type*)Type::getInt32Ty(C)), in ARMConstantPoolValue()
162 return new ARMConstantPoolConstant((Type*)Type::getInt32Ty(GV->getContext()), in Create()

1234567