Home
last modified time | relevance | path

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

123456

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DValueTypes.cpp149 case MVT::i32: return Type::getInt32Ty(Context); in getTypeForEVT()
188 case MVT::v1i32: return VectorType::get(Type::getInt32Ty(Context), 1); in getTypeForEVT()
189 case MVT::v2i32: return VectorType::get(Type::getInt32Ty(Context), 2); in getTypeForEVT()
190 case MVT::v3i32: return VectorType::get(Type::getInt32Ty(Context), 3); in getTypeForEVT()
191 case MVT::v4i32: return VectorType::get(Type::getInt32Ty(Context), 4); in getTypeForEVT()
192 case MVT::v5i32: return VectorType::get(Type::getInt32Ty(Context), 5); in getTypeForEVT()
193 case MVT::v8i32: return VectorType::get(Type::getInt32Ty(Context), 8); in getTypeForEVT()
194 case MVT::v16i32: return VectorType::get(Type::getInt32Ty(Context), 16); in getTypeForEVT()
195 case MVT::v32i32: return VectorType::get(Type::getInt32Ty(Context), 32); in getTypeForEVT()
196 case MVT::v64i32: return VectorType::get(Type::getInt32Ty(Context), 64); in getTypeForEVT()
[all …]
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()
DExpandMemCmp.cpp294 LoadSrc1 = Builder.CreateZExt(LoadSrc1, Type::getInt32Ty(CI->getContext())); in emitLoadCompareByteBlock()
295 LoadSrc2 = Builder.CreateZExt(LoadSrc2, Type::getInt32Ty(CI->getContext())); in emitLoadCompareByteBlock()
424 Value *Zero = ConstantInt::get(Type::getInt32Ty(CI->getContext()), 0); in emitLoadCompareBlockMultipleLoads()
495 Value *Zero = ConstantInt::get(Type::getInt32Ty(CI->getContext()), 0); in emitLoadCompareBlock()
509 Value *Res = ConstantInt::get(Type::getInt32Ty(CI->getContext()), 1); in emitMemCmpResultBlock()
522 Builder.CreateSelect(Cmp, ConstantInt::get(Builder.getInt32Ty(), -1), in emitMemCmpResultBlock()
523 ConstantInt::get(Builder.getInt32Ty(), 1)); in emitMemCmpResultBlock()
542 PhiRes = Builder.CreatePHI(Type::getInt32Ty(CI->getContext()), 2, "phi.res"); in setupEndBlockPHINodes()
564 return Builder.CreateZExt(Cmp, Type::getInt32Ty(CI->getContext())); in getMemCmpEqZeroOneBlock()
594 LoadSrc1 = Builder.CreateZExt(LoadSrc1, Builder.getInt32Ty()); in getMemCmpOneBlock()
[all …]
DWasmEHPrepare.cpp146 LPadContextTy = StructType::get(IRB.getInt32Ty(), // lpad_index in doInitialization()
148 IRB.getInt32Ty() // selector in doInitialization()
252 "_Unwind_CallPersonality", IRB.getInt32Ty(), IRB.getInt8PtrTy()); in prepareEHPads()
343 IRB.CreateLoad(IRB.getInt32Ty(), SelectorField, "selector"); in prepareEHPad()
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()
193 Type *Int32Ty = Type::getInt32Ty(F.getContext()); in setupFunctionContext()
421 ConstantInt::get(Type::getInt32Ty(F.getContext()), I + 1); in setupEntryBlockAndCallSites()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerEmscriptenEHSjLj.cpp319 dyn_cast<GlobalVariable>(M.getOrInsertGlobal(Name, IRB.getInt32Ty())); in getGlobalVariableI32()
440 IRB.CreateLoad(IRB.getInt32Ty(), ThrewGV, ThrewGV->getName() + ".val"); in wrapInvoke()
555 Value *ThrewValue = IRB.CreateLoad(IRB.getInt32Ty(), ThrewValueGV, in wrapTestSetjmp()
568 Value *LoadedThrew = IRB.CreateLoad(IRB.getInt32Ty(), ThrewInt, in wrapTestSetjmp()
590 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()
692 IRB.getInt32Ty(), Type::getInt32PtrTy(C), in runOnModule()
693 IRB.getInt32Ty()}; in runOnModule()
[all …]
DWebAssemblyFixFunctionBitcasts.cpp256 Type *MainArgTys[] = {Type::getInt32Ty(C), in runOnModule()
258 FunctionType *MainTy = FunctionType::get(Type::getInt32Ty(C), MainArgTys, in runOnModule()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DBuildLibCalls.cpp863 Type *I32Ty = B.getInt32Ty(); in emitStrChr()
872 LibFunc_strncmp, B.getInt32Ty(), in emitStrNCmp()
934 {B.getInt8PtrTy(), B.getInt32Ty(), DL.getIntPtrType(Context)}, in emitMemChr()
942 LibFunc_memcmp, B.getInt32Ty(), in emitMemCmp()
951 LibFunc_bcmp, B.getInt32Ty(), in emitBCmp()
960 {B.getInt8PtrTy(), B.getInt8PtrTy(), B.getInt32Ty(), Len->getType()}, in emitMemCCpy()
969 return emitLibCall(LibFunc_snprintf, B.getInt32Ty(), in emitSNPrintf()
979 return emitLibCall(LibFunc_sprintf, B.getInt32Ty(), in emitSPrintf()
1015 LibFunc_vsnprintf, B.getInt32Ty(), in emitVSNPrintf()
1022 return emitLibCall(LibFunc_vsprintf, B.getInt32Ty(), in emitVSPrintf()
[all …]
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()
DEscapeEnumerator.cpp26 FunctionType::get(Type::getInt32Ty(C), true)); in getDefaultPersonalityFn()
69 Type *ExnTy = StructType::get(Type::getInt8PtrTy(C), Type::getInt32Ty(C)); in Next()
DCodeExtractor.cpp934 Idx[0] = Constant::getNullValue(Type::getInt32Ty(header->getContext())); in constructFunction()
935 Idx[1] = ConstantInt::get(Type::getInt32Ty(header->getContext()), i); in constructFunction()
1118 Idx[0] = Constant::getNullValue(Type::getInt32Ty(Context)); in emitCallAndSwitchStatement()
1119 Idx[1] = ConstantInt::get(Type::getInt32Ty(Context), i); in emitCallAndSwitchStatement()
1157 Idx[0] = Constant::getNullValue(Type::getInt32Ty(Context)); in emitCallAndSwitchStatement()
1158 Idx[1] = ConstantInt::get(Type::getInt32Ty(Context), FirstOut + i); in emitCallAndSwitchStatement()
1260 Idx[0] = Constant::getNullValue(Type::getInt32Ty(Context)); in emitCallAndSwitchStatement()
1261 Idx[1] = ConstantInt::get(Type::getInt32Ty(Context), FirstOut + i); in emitCallAndSwitchStatement()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp424 Type *Int32Ty = Type::getInt32Ty(EI.getContext()); in visitExtractElementInst()
452 Mask.assign(NumElts, UndefValue::get(Type::getInt32Ty(V->getContext()))); in collectSingleShuffleElements()
458 Mask.push_back(ConstantInt::get(Type::getInt32Ty(V->getContext()), i)); in collectSingleShuffleElements()
464 Mask.push_back(ConstantInt::get(Type::getInt32Ty(V->getContext()), in collectSingleShuffleElements()
484 Mask[InsertedIdx] = UndefValue::get(Type::getInt32Ty(V->getContext())); in collectSingleShuffleElements()
501 ConstantInt::get(Type::getInt32Ty(V->getContext()), in collectSingleShuffleElements()
506 ConstantInt::get(Type::getInt32Ty(V->getContext()), in collectSingleShuffleElements()
540 IntegerType *IntType = Type::getInt32Ty(InsElt->getContext()); in replaceExtractElements()
614 Mask.assign(NumElts, UndefValue::get(Type::getInt32Ty(V->getContext()))); in collectShuffleElements()
620 Mask.assign(NumElts, ConstantInt::get(Type::getInt32Ty(V->getContext()),0)); in collectShuffleElements()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp893 Type::getInt32Ty(*Ctx), // uint32_t checksum in getStartFileFunc()
905 Type::getInt32Ty(*Ctx), // uint32_t ident in getEmitFunctionFunc()
907 Type::getInt32Ty(*Ctx), // uint32_t func_checksum in getEmitFunctionFunc()
909 Type::getInt32Ty(*Ctx), // uint32_t cfg_checksum in getEmitFunctionFunc()
924 Type::getInt32Ty(*Ctx), // uint32_t num_counters in getEmitArcsFunc()
976 {Builder.getInt8PtrTy(), Builder.getInt8PtrTy(), Builder.getInt32Ty()}); in insertCounterWriteout()
978 {Builder.getInt32Ty(), Builder.getInt8PtrTy(), Builder.getInt32Ty(), in insertCounterWriteout()
979 Builder.getInt8Ty(), Builder.getInt32Ty()}); in insertCounterWriteout()
981 {Builder.getInt32Ty(), Builder.getInt64Ty()->getPointerTo()}); in insertCounterWriteout()
983 StructType::create({StartFileCallArgsTy, Builder.getInt32Ty(), in insertCounterWriteout()
[all …]
DInstrOrderFile.cpp78 Type *IdxTy = Type::getInt32Ty(Ctx); in createOrderFileData()
121 IntegerType *Int32Ty = Type::getInt32Ty(Ctx); in generateCodeSequence()
DMemorySanitizer.cpp708 IRB.getInt32Ty()); in createKernelApi()
722 PointerType::get(IRB.getInt32Ty(), 0)); in createKernelApi()
793 OriginTLS = getOrInsertGlobal(M, "__msan_origin_tls", IRB.getInt32Ty()); in createUserspaceApi()
801 IRB.getInt32Ty()); in createUserspaceApi()
806 IRB.getInt8PtrTy(), IRB.getInt32Ty()); in createUserspaceApi()
827 "__msan_chain_origin", IRB.getInt32Ty(), IRB.getInt32Ty()); in initializeCallbacks()
835 "__msan_memset", IRB.getInt8PtrTy(), IRB.getInt8PtrTy(), IRB.getInt32Ty(), in initializeCallbacks()
943 OriginTy = IRB.getInt32Ty(); in initializeModule()
950 M.getOrInsertGlobal("__msan_track_origins", IRB.getInt32Ty(), [&] { in initializeModule()
952 M, IRB.getInt32Ty(), true, GlobalValue::WeakODRLinkage, in initializeModule()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUPrintfRuntimeBinding.cpp153 Type *I32Ty = Type::getInt32Ty(Ctx); in lowerPrintfForGpu()
220 llvm::Type *ResType = llvm::Type::getInt32Ty(Ctx); in lowerPrintfForGpu()
326 Type *SizetTy = Type::getInt32Ty(Ctx); in lowerPrintfForGpu()
403 Type *Int32Ty = Type::getInt32Ty(Ctx); in lowerPrintfForGpu()
487 IntegerType *Int32Ty = Type::getInt32Ty(ArgType->getContext()); in lowerPrintfForGpu()
509 IType = dyn_cast<Type>(Type::getInt32Ty(ArgType->getContext())); in lowerPrintfForGpu()
521 IType = dyn_cast<Type>(Type::getInt32Ty(ArgType->getContext())); in lowerPrintfForGpu()
DAMDGPUAtomicOptimizer.cpp441 Type *const VecTy = VectorType::get(B.getInt32Ty(), 2); in optimizeAtomic()
451 Intrinsic::amdgcn_icmp, {WaveTy, B.getInt32Ty()}, in optimizeAtomic()
495 Value *const ExtractLo = B.CreateTrunc(NewV, B.getInt32Ty()); in optimizeAtomic()
497 B.CreateTrunc(B.CreateLShr(NewV, 32), B.getInt32Ty()); in optimizeAtomic()
594 Value *const ExtractLo = B.CreateTrunc(PHI, B.getInt32Ty()); in optimizeAtomic()
596 B.CreateTrunc(B.CreateLShr(PHI, 32), B.getInt32Ty()); in optimizeAtomic()
DAMDGPUCodeGenPrepare.cpp216 return B.getInt32Ty(); in getI32Ty()
217 return VectorType::get(B.getInt32Ty(), cast<VectorType>(T)->getNumElements()); in getI32Ty()
497 IntegerType *I32Ty = Builder.getInt32Ty(); in replaceMulWithMul24()
618 Type *I32Ty = Builder.getInt32Ty(); in getMul64()
658 Type *I32Ty = Builder.getInt32Ty(); in expandDivRem24()
758 Type *I32Ty = Builder.getInt32Ty(); in expandDivRem32()
941 Type *I32Ty = Builder.getInt32Ty(); in visitLoadInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
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()
783 State = Builder.CreateLoad(Builder.getInt32Ty(), StateField); in addStateStores()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/
DOperations.cpp198 auto *Int32Ty = Type::getInt32Ty(Cur[0]->getContext()); in validExtractValueIndex()
256 auto *Int32Ty = Type::getInt32Ty(Cur[0]->getContext()); in validInsertValueIndex()
302 auto *Int32Ty = Type::getInt32Ty(Cur[0]->getContext()); in validShuffleVectorIndex()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/
DInstrProfData.inc89 INSTR_PROF_DATA(const uint32_t, llvm::Type::getInt32Ty(Ctx), NumCounters, \
90 ConstantInt::get(llvm::Type::getInt32Ty(Ctx), NumCounters))
158 VALUE_PROF_FUNC_PARAM(uint32_t, CounterIndex, Type::getInt32Ty(Ctx))
160 VALUE_PROF_FUNC_PARAM(uint32_t, CounterIndex, Type::getInt32Ty(Ctx)) \
214 COVMAP_FUNC_RECORD(const uint32_t, llvm::Type::getInt32Ty(Ctx), NameSize, \
215 llvm::ConstantInt::get(llvm::Type::getInt32Ty(Ctx), \
222 COVMAP_FUNC_RECORD(const uint32_t, llvm::Type::getInt32Ty(Ctx), DataSize, \
223 llvm::ConstantInt::get(llvm::Type::getInt32Ty(Ctx),\
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMConstantPoolValue.cpp47 : MachineConstantPoolValue((Type*)Type::getInt32Ty(C)), in ARMConstantPoolValue()
162 return new ARMConstantPoolConstant((Type*)Type::getInt32Ty(GV->getContext()), in Create()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DArgumentPromotion.cpp264 ConstantInt::get(Type::getInt32Ty(F->getContext()), 0), nullptr}; in doPromotion()
266 Idxs[1] = ConstantInt::get(Type::getInt32Ty(F->getContext()), i); in doPromotion()
291 (ElTy->isStructTy() ? Type::getInt32Ty(F->getContext()) in doPromotion()
394 Value *Idxs[2] = {ConstantInt::get(Type::getInt32Ty(F->getContext()), 0), in doPromotion()
398 Idxs[1] = ConstantInt::get(Type::getInt32Ty(F->getContext()), i); in doPromotion()

123456