Home
last modified time | relevance | path

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

123456

/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DShadowStackGCLowering.cpp117 Type *Int32Ty = Type::getInt32Ty(F.getContext()); in GetFrameMap()
151 ConstantInt::get(Type::getInt32Ty(F.getContext()), 0), in GetFrameMap()
152 ConstantInt::get(Type::getInt32Ty(F.getContext()), 0)}; in GetFrameMap()
186 EltTys.push_back(Type::getInt32Ty(M.getContext())); in doInitialization()
188 EltTys.push_back(Type::getInt32Ty(M.getContext())); in doInitialization()
261 Value *Indices[] = {ConstantInt::get(Type::getInt32Ty(Context), 0), in CreateGEP()
262 ConstantInt::get(Type::getInt32Ty(Context), Idx), in CreateGEP()
263 ConstantInt::get(Type::getInt32Ty(Context), Idx2)}; in CreateGEP()
274 Value *Indices[] = {ConstantInt::get(Type::getInt32Ty(Context), 0), in CreateGEP()
275 ConstantInt::get(Type::getInt32Ty(Context), Idx)}; in CreateGEP()
H A DExpandMemCmp.cpp290 LoadSrc1 = Builder.CreateZExt(LoadSrc1, Type::getInt32Ty(CI->getContext())); in emitLoadCompareByteBlock()
418 Value *Zero = ConstantInt::get(Type::getInt32Ty(CI->getContext()), 0); in emitLoadCompareBlockMultipleLoads()
489 Value *Zero = ConstantInt::get(Type::getInt32Ty(CI->getContext()), 0); in emitLoadCompareBlock()
503 Value *Res = ConstantInt::get(Type::getInt32Ty(CI->getContext()), 1); in emitMemCmpResultBlock()
516 Builder.CreateSelect(Cmp, ConstantInt::get(Builder.getInt32Ty(), -1), in emitMemCmpResultBlock()
517 ConstantInt::get(Builder.getInt32Ty(), 1)); in emitMemCmpResultBlock()
558 return Builder.CreateZExt(Cmp, Type::getInt32Ty(CI->getContext())); in getMemCmpEqZeroOneBlock()
588 LoadSrc1 = Builder.CreateZExt(LoadSrc1, Builder.getInt32Ty()); in getMemCmpOneBlock()
589 LoadSrc2 = Builder.CreateZExt(LoadSrc2, Builder.getInt32Ty()); in getMemCmpOneBlock()
601 Value *ZextUGT = Builder.CreateZExt(CmpUGT, Builder.getInt32Ty()); in getMemCmpOneBlock()
[all …]
H A DValueTypes.cpp211 case MVT::i32: return Type::getInt32Ty(Context); in getTypeForEVT()
248 case MVT::v1i32: return VectorType::get(Type::getInt32Ty(Context), 1); in getTypeForEVT()
249 case MVT::v2i32: return VectorType::get(Type::getInt32Ty(Context), 2); in getTypeForEVT()
250 case MVT::v4i32: return VectorType::get(Type::getInt32Ty(Context), 4); in getTypeForEVT()
251 case MVT::v8i32: return VectorType::get(Type::getInt32Ty(Context), 8); in getTypeForEVT()
252 case MVT::v16i32: return VectorType::get(Type::getInt32Ty(Context), 16); in getTypeForEVT()
253 case MVT::v32i32: return VectorType::get(Type::getInt32Ty(Context), 32); in getTypeForEVT()
254 case MVT::v64i32: return VectorType::get(Type::getInt32Ty(Context), 64); in getTypeForEVT()
H A DWasmEHPrepare.cpp177 LPadContextTy = StructType::get(IRB.getInt32Ty(), // lpad_index in doInitialization()
179 IRB.getInt32Ty() // selector in doInitialization()
280 "_Unwind_CallPersonality", IRB.getInt32Ty(), IRB.getInt8PtrTy())); in prepareEHPads()
H A DSjLjEHPrepare.cpp87 Type *Int32Ty = Type::getInt32Ty(M.getContext()); in doInitialization()
107 Type *Int32Ty = Type::getInt32Ty(I->getContext()); in insertCallSiteStore()
116 ConstantInt::get(Type::getInt32Ty(I->getContext()), Number); in insertCallSiteStore()
419 ConstantInt::get(Type::getInt32Ty(F.getContext()), I + 1); in setupEntryBlockAndCallSites()
H A DIntrinsicLowering.cpp103 Type::getInt32Ty(M.getContext())); in AddPrototypes()
131 Type::getInt32Ty(M.getContext()), in AddPrototypes()
366 Type::getInt32Ty(Context)); in LowerIntrinsicCall()
508 Type::getInt32Ty(Context), in LowerIntrinsicCall()
/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp345 return new GlobalVariable(M, IRB.getInt32Ty(), false, in getGlobalVariableI32()
587 PHINode *LabelPHI = IRB.CreatePHI(IRB.getInt32Ty(), 2, "label"); in wrapTestSetjmp()
643 Function::Create(FunctionType::get(IRB.getInt32Ty(), false), in runOnModule()
646 FunctionType::get(IRB.getVoidTy(), IRB.getInt32Ty(), false), in runOnModule()
663 FunctionType::get(IRB.getInt32Ty(), IRB.getInt8PtrTy(), false); in runOnModule()
693 IRB.getInt32Ty()}; in runOnModule()
700 Params = {IRB.getInt32Ty(), Type::getInt32PtrTy(C), IRB.getInt32Ty()}; in runOnModule()
701 FTy = FunctionType::get(IRB.getInt32Ty(), Params, false); in runOnModule()
706 {IRB.getInt32Ty(), IRB.getInt32Ty()}, false); in runOnModule()
895 SetjmpTableSize, IRB.getInt32Ty(), IRB.getInt32Ty(), IRB.getInt32(40), in runSjLjOnFunction()
[all …]
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DSanitizerStats.cpp39 Type::getInt32Ty(M->getContext()), in makeModuleStatsTy()
66 ConstantInt::get(IntPtrTy, 0), ConstantInt::get(B.getInt32Ty(), 2), in create()
79 IntegerType *Int32Ty = Type::getInt32Ty(M->getContext()); in finish()
H A DBuildLibCalls.cpp819 Type *I32Ty = B.getInt32Ty(); in emitStrChr()
838 Value *StrNCmp = M->getOrInsertFunction(StrNCmpName, B.getInt32Ty(), in emitStrNCmp()
935 Value *MemCmp = M->getOrInsertFunction(MemCmpName, B.getInt32Ty(), in emitMemCmp()
1029 Value *PutChar = M->getOrInsertFunction(PutCharName, B.getInt32Ty(), B.getInt32Ty()); in emitPutChar()
1033 B.getInt32Ty(), in emitPutChar()
1051 M->getOrInsertFunction(PutsName, B.getInt32Ty(), B.getInt8PtrTy()); in emitPutS()
1066 Constant *F = M->getOrInsertFunction(FPutcName, B.getInt32Ty(), B.getInt32Ty(), in emitFPutC()
1070 Char = B.CreateIntCast(Char, B.getInt32Ty(), /*isSigned*/true, in emitFPutC()
1086 Constant *F = M->getOrInsertFunction(FPutcUnlockedName, B.getInt32Ty(), in emitFPutCUnlocked()
1087 B.getInt32Ty(), File->getType()); in emitFPutCUnlocked()
[all …]
H A DEscapeEnumerator.cpp27 FunctionType::get(Type::getInt32Ty(C), true)); in getDefaultPersonalityFn()
70 Type *ExnTy = StructType::get(Type::getInt8PtrTy(C), Type::getInt32Ty(C)); in Next()
H A DCodeExtractor.cpp843 Idx[0] = Constant::getNullValue(Type::getInt32Ty(header->getContext())); in constructFunction()
844 Idx[1] = ConstantInt::get(Type::getInt32Ty(header->getContext()), i); in constructFunction()
937 Idx[0] = Constant::getNullValue(Type::getInt32Ty(Context)); in emitCallAndSwitchStatement()
938 Idx[1] = ConstantInt::get(Type::getInt32Ty(Context), i); in emitCallAndSwitchStatement()
971 Idx[0] = Constant::getNullValue(Type::getInt32Ty(Context)); in emitCallAndSwitchStatement()
972 Idx[1] = ConstantInt::get(Type::getInt32Ty(Context), FirstOut + i); in emitCallAndSwitchStatement()
1011 Idx[0] = Constant::getNullValue(Type::getInt32Ty(Context)); in emitCallAndSwitchStatement()
1012 Idx[1] = ConstantInt::get(Type::getInt32Ty(Context), FirstOut + i); in emitCallAndSwitchStatement()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineVectorOps.cpp346 Type *Int32Ty = Type::getInt32Ty(EI.getContext()); in visitExtractElementInst()
386 Mask.push_back(ConstantInt::get(Type::getInt32Ty(V->getContext()), in collectSingleShuffleElements()
423 ConstantInt::get(Type::getInt32Ty(V->getContext()), in collectSingleShuffleElements()
428 ConstantInt::get(Type::getInt32Ty(V->getContext()), in collectSingleShuffleElements()
462 IntegerType *IntType = Type::getInt32Ty(InsElt->getContext()); in replaceExtractElements()
579 ConstantInt::get(Type::getInt32Ty(V->getContext()), in collectShuffleElements()
591 Type::getInt32Ty(V->getContext()), in collectShuffleElements()
720 ConstantInt::get(Type::getInt32Ty(InsElt.getContext()), 0), in foldInsSequenceIntoBroadcast()
800 Type *Int32Ty = Type::getInt32Ty(Shuf->getContext()); in foldConstantInsEltIntoShuffle()
1120 Type *I32Ty = IntegerType::getInt32Ty(V->getContext()); in evaluateInDifferentElementOrder()
[all …]
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp881 Type::getInt32Ty(*Ctx), // uint32_t checksum in getStartFileFunc()
894 Type::getInt32Ty(*Ctx), // uint32_t ident in getEmitFunctionFunc()
896 Type::getInt32Ty(*Ctx), // uint32_t func_checksum in getEmitFunctionFunc()
898 Type::getInt32Ty(*Ctx), // uint32_t cfg_checksum in getEmitFunctionFunc()
914 Type::getInt32Ty(*Ctx), // uint32_t num_counters in getEmitArcsFunc()
965 {Builder.getInt8PtrTy(), Builder.getInt8PtrTy(), Builder.getInt32Ty()}); in insertCounterWriteout()
967 {Builder.getInt32Ty(), Builder.getInt8PtrTy(), Builder.getInt32Ty(), in insertCounterWriteout()
968 Builder.getInt8Ty(), Builder.getInt32Ty()}); in insertCounterWriteout()
970 {Builder.getInt32Ty(), Builder.getInt64Ty()->getPointerTo()}); in insertCounterWriteout()
972 StructType::create({StartFileCallArgsTy, Builder.getInt32Ty(), in insertCounterWriteout()
[all …]
H A DEfficiencySanitizer.cpp283 IRB.getInt32Ty(), IntptrTy)); in initializeCallbacks()
326 auto *Int32Ty = Type::getInt32Ty(*Ctx); in createCacheFragAuxGV()
369 auto *Int32Ty = Type::getInt32Ty(*Ctx); in createCacheFragInfoGV()
533 IntegerType *OrdTy = IRB.getInt32Ty(); in initOnModule()
715 IRB.CreateIntCast(MI->getArgOperand(1), IRB.getInt32Ty(), false), in instrumentMemIntrinsic()
795 Indices[0] = ConstantInt::get(IRB.getInt32Ty(), 0); in insertCounterUpdate()
797 Indices[1] = ConstantInt::get(IRB.getInt32Ty(), CounterIdx); in insertCounterUpdate()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGLoopInfo.cpp55 Type::getInt32Ty(Ctx), Attrs.VectorizeWidth))}; in createMetadata()
63 Type::getInt32Ty(Ctx), Attrs.InterleaveCount))}; in createMetadata()
71 Type::getInt32Ty(Ctx), Attrs.UnrollCount))}; in createMetadata()
79 Type::getInt32Ty(Ctx), Attrs.UnrollAndJamCount))}; in createMetadata()
144 Type::getInt32Ty(Ctx), Attrs.PipelineInitiationInterval))}; in createMetadata()
H A DSanitizerMetadata.cpp102 llvm::Type::getInt32Ty(VMContext), PLoc.getLine())), in getLocationMetadata()
104 llvm::Type::getInt32Ty(VMContext), PLoc.getColumn())), in getLocationMetadata()
H A DCGOpenCLRuntime.cpp102 llvm::Type *Int32Ty = llvm::IntegerType::getInt32Ty(CGM.getLLVMContext()); in getPipeElemSize()
112 llvm::Type *Int32Ty = llvm::IntegerType::getInt32Ty(CGM.getLLVMContext()); in getPipeElemAlign()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUAtomicOptimizer.cpp247 Type *const VecTy = VectorType::get(B.getInt32Ty(), 2); in optimizeAtomic()
326 Value *const ExtractLo = B.CreateTrunc(NewV, B.getInt32Ty()); in optimizeAtomic()
328 B.CreateTrunc(B.CreateLShr(NewV, B.getInt64(32)), B.getInt32Ty()); in optimizeAtomic()
399 Value *const ExtractLo = B.CreateTrunc(PHI, B.getInt32Ty()); in optimizeAtomic()
401 B.CreateTrunc(B.CreateLShr(PHI, B.getInt64(32)), B.getInt32Ty()); in optimizeAtomic()
H A DAMDGPUCodeGenPrepare.cpp198 return B.getInt32Ty(); in getI32Ty()
199 return VectorType::get(B.getInt32Ty(), cast<VectorType>(T)->getNumElements()); in getI32Ty()
487 Type *I32Ty = Builder.getInt32Ty(); in getMul64()
527 Type *I32Ty = Builder.getInt32Ty(); in expandDivRem24()
627 Type *I32Ty = Builder.getInt32Ty(); in expandDivRem32()
807 Type *I32Ty = Builder.getInt32Ty(); in visitLoadInst()
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DReg2Mem.cpp87 Constant::getNullValue(Type::getInt32Ty(F.getContext())), in INITIALIZE_PASS_DEPENDENCY()
88 Type::getInt32Ty(F.getContext()), "reg2mem alloca point", &*I); in INITIALIZE_PASS_DEPENDENCY()
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86WinEHState.cpp180 Type::getInt32Ty(TheModule->getContext()), in runOnFunction()
181 {Int8PtrType, Type::getInt32Ty(TheModule->getContext())}, in runOnFunction()
242 Type::getInt32Ty(Context) // int32_t TryLevel in getCXXEHRegistrationType()
265 Type::getInt32Ty(Context), // int32_t EncodedScopeTable in getSEHRegistrationType()
266 Type::getInt32Ty(Context) // int32_t TryLevel in getSEHRegistrationType()
285 Type *Int32Ty = Builder.getInt32Ty(); in emitExceptionRegistrationRecord()
391 Type *Int32Ty = Type::getInt32Ty(Context); in generateLSDAInEAXThunk()
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/
H A DHexagonGenExtract.cpp120 CSR = ConstantInt::get(Type::getInt32Ty(Ctx), 0); in INITIALIZE_PASS_DEPENDENCY()
129 CSL = ConstantInt::get(Type::getInt32Ty(Ctx), 0); in INITIALIZE_PASS_DEPENDENCY()
136 CSL = ConstantInt::get(Type::getInt32Ty(Ctx), 0); in INITIALIZE_PASS_DEPENDENCY()
/freebsd-12.1/contrib/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp162 Type::getInt32Ty(Context), in GenEmptyFunction()
315 Type::getInt32Ty(Context), in pickScalarType()
486 ConstantInt::get(Type::getInt32Ty(BB->getContext()), in Act()
504 Type *I32 = Type::getInt32Ty(BB->getContext()); in Act()
530 ConstantInt::get(Type::getInt32Ty(BB->getContext()), in Act()
/freebsd-12.1/contrib/compiler-rt/lib/profile/
H A DInstrProfData.inc90 INSTR_PROF_DATA(const uint32_t, llvm::Type::getInt32Ty(Ctx), NumCounters, \
91 ConstantInt::get(llvm::Type::getInt32Ty(Ctx), NumCounters))
157 VALUE_PROF_FUNC_PARAM(uint32_t, CounterIndex, Type::getInt32Ty(Ctx))
159 VALUE_PROF_FUNC_PARAM(uint32_t, CounterIndex, Type::getInt32Ty(Ctx)) \
213 COVMAP_FUNC_RECORD(const uint32_t, llvm::Type::getInt32Ty(Ctx), NameSize, \
214 llvm::ConstantInt::get(llvm::Type::getInt32Ty(Ctx), \
221 COVMAP_FUNC_RECORD(const uint32_t, llvm::Type::getInt32Ty(Ctx), DataSize, \
222 llvm::ConstantInt::get(llvm::Type::getInt32Ty(Ctx),\
/freebsd-12.1/contrib/llvm/include/llvm/ProfileData/
H A DInstrProfData.inc90 INSTR_PROF_DATA(const uint32_t, llvm::Type::getInt32Ty(Ctx), NumCounters, \
91 ConstantInt::get(llvm::Type::getInt32Ty(Ctx), NumCounters))
157 VALUE_PROF_FUNC_PARAM(uint32_t, CounterIndex, Type::getInt32Ty(Ctx))
159 VALUE_PROF_FUNC_PARAM(uint32_t, CounterIndex, Type::getInt32Ty(Ctx)) \
213 COVMAP_FUNC_RECORD(const uint32_t, llvm::Type::getInt32Ty(Ctx), NameSize, \
214 llvm::ConstantInt::get(llvm::Type::getInt32Ty(Ctx), \
221 COVMAP_FUNC_RECORD(const uint32_t, llvm::Type::getInt32Ty(Ctx), DataSize, \
222 llvm::ConstantInt::get(llvm::Type::getInt32Ty(Ctx),\

123456