Home
last modified time | relevance | path

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

12345678910

/freebsd/contrib/llvm-project/llvm/lib/Frontend/Offloading/
H A DOffloadWrapper.cpp67 "__tgt_bin_desc", Type::getInt32Ty(C), getDeviceImagePtrTy(M), in getBinDescTy()
181 ConstantInt::get(Type::getInt32Ty(C), ImagesInits.size()), ImagesB, in createBinDesc()
227 Type::getInt32Ty(C), PointerType::getUnqual(C), /*isVarArg=*/false); in createRegisterFunction()
259 "fatbin_wrapper", Type::getInt32Ty(C), Type::getInt32Ty(C), in getFatbinWrapperTy()
287 ConstantInt::get(Type::getInt32Ty(C), IsHIP ? HIPFatMagic : CudaFatMagic), in createFatbinDesc()
288 ConstantInt::get(Type::getInt32Ty(C), 1), in createFatbinDesc()
343 Type::getInt32Ty(C), in createRegisterGlobalsFunction()
344 {Int8PtrPtrTy, Int8PtrTy, Int8PtrTy, Int8PtrTy, Type::getInt32Ty(C), in createRegisterGlobalsFunction()
353 {Int8PtrPtrTy, Int8PtrTy, Int8PtrTy, Int8PtrTy, Type::getInt32Ty(C), in createRegisterGlobalsFunction()
354 getSizeTTy(M), Type::getInt32Ty(C), Type::getInt32Ty(C)}, in createRegisterGlobalsFunction()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DShadowStackGCLowering.cpp163 Type *Int32Ty = Type::getInt32Ty(F.getContext()); in GetFrameMap()
197 ConstantInt::get(Type::getInt32Ty(F.getContext()), 0), in GetFrameMap()
198 ConstantInt::get(Type::getInt32Ty(F.getContext()), 0)}; in GetFrameMap()
232 EltTys.push_back(Type::getInt32Ty(M.getContext())); in doInitialization()
234 EltTys.push_back(Type::getInt32Ty(M.getContext())); in doInitialization()
305 Value *Indices[] = {ConstantInt::get(Type::getInt32Ty(Context), 0), in CreateGEP()
306 ConstantInt::get(Type::getInt32Ty(Context), Idx), in CreateGEP()
307 ConstantInt::get(Type::getInt32Ty(Context), Idx2)}; in CreateGEP()
320 Value *Indices[] = {ConstantInt::get(Type::getInt32Ty(Context), 0), in CreateGEP()
321 ConstantInt::get(Type::getInt32Ty(Context), Idx)}; in CreateGEP()
H A DWasmEHPrepare.cpp146 auto *I32Ty = Type::getInt32Ty(Context); in run()
165 P.LPadContextTy = StructType::get(IRB.getInt32Ty(), // lpad_index in doInitialization()
167 IRB.getInt32Ty() // selector in doInitialization()
278 IRB.getInt32Ty(), IRB.getPtrTy()); in prepareEHPads()
371 IRB.CreateLoad(IRB.getInt32Ty(), SelectorField, "selector"); in prepareEHPad()
H A DExpandMemCmp.cpp382 Type::getInt32Ty(CI->getContext()), OffsetBytes); in emitLoadCompareByteBlock()
500 Value *Zero = ConstantInt::get(Type::getInt32Ty(CI->getContext()), 0); in emitLoadCompareBlockMultipleLoads()
564 Value *Zero = ConstantInt::get(Type::getInt32Ty(CI->getContext()), 0); in emitLoadCompareBlock()
578 Value *Res = ConstantInt::get(Type::getInt32Ty(CI->getContext()), 1); in emitMemCmpResultBlock()
593 Builder.CreateSelect(Cmp, Constant::getAllOnesValue(Builder.getInt32Ty()), in emitMemCmpResultBlock()
594 ConstantInt::get(Builder.getInt32Ty(), 1)); in emitMemCmpResultBlock()
615 PhiRes = Builder.CreatePHI(Type::getInt32Ty(CI->getContext()), 2, "phi.res"); in setupEndBlockPHINodes()
637 return Builder.CreateZExt(Cmp, Type::getInt32Ty(CI->getContext())); in getMemCmpEqZeroOneBlock()
659 Builder.getInt32Ty(), /*Offset*/ 0); in getMemCmpOneBlock()
708 return Builder.CreateIntrinsic(Builder.getInt32Ty(), Intrinsic::ucmp, in getMemCmpOneBlock()
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/
H A DDXILOpBuilder.cpp200 Type::getInt32Ty(Ctx)}; in getResRetType()
235 Type *Int32Ty = Type::getInt32Ty(Context); in getResBindType()
245 Type *Int32Ty = Type::getInt32Ty(Context); in getResPropsType()
252 Type *Int32Ty = Type::getInt32Ty(Context); in getSplitDoubleType()
259 Type *Int32Ty = Type::getInt32Ty(Context); in getBinaryWithCarryType()
282 return Type::getInt32Ty(Ctx); in getTypeFromOpParamType()
296 return getResRetType(Type::getInt32Ty(Ctx)); in getTypeFromOpParamType()
308 return getCBufRetType(Type::getInt32Ty(Ctx)); in getTypeFromOpParamType()
369 ArgTys.emplace_back(Type::getInt32Ty(Context)); in getArgTypesFromOpParamTypes()
592 Type *Int32Ty = IRB.getInt32Ty(); in getResBind()
[all …]
H A DDXILTranslateMetadata.cpp144 ConstantInt::get(Type::getInt32Ty(Ctx), static_cast<int>(Tag)))); in getTagValueAsMetadata()
152 ConstantInt::get(Type::getInt32Ty(Ctx), Value))); in getTagValueAsMetadata()
190 Type::getInt32Ty(Ctx), static_cast<int>(EntryPropsTag::NumThreads)))); in getEntryPropAsMetadata()
192 Type::getInt32Ty(Ctx), EP.NumThreadsX)), in getEntryPropAsMetadata()
194 Type::getInt32Ty(Ctx), EP.NumThreadsY)), in getEntryPropAsMetadata()
196 Type::getInt32Ty(Ctx), EP.NumThreadsZ))}; in getEntryPropAsMetadata()
H A DDXILLegalizePass.cpp270 Ty = Type::getInt32Ty(CI->getContext()); in upcastI8AllocasAndUses()
315 ConstantInt::get(Type::getInt32Ty(I.getContext()), IndexValue); in downcastI64toI32InsertExtractElements()
330 ConstantInt::get(Type::getInt32Ty(I.getContext()), IndexValue); in downcastI64toI32InsertExtractElements()
395 Value *Offset = ConstantInt::get(Type::getInt32Ty(Ctx), I); in emitMemcpyExpansion()
447 Value *Offset = ConstantInt::get(Type::getInt32Ty(Ctx), I); in emitMemsetExpansion()
522 FixedVectorType::get(Type::getInt32Ty(I.getContext()), 2) && in legalizeGetHighLowi64Bytes()
545 Replacement, Type::getInt32Ty(I.getContext())); in legalizeGetHighLowi64Bytes()
555 LogicalShiftRight, Type::getInt32Ty(I.getContext())); in legalizeGetHighLowi64Bytes()
H A DDXILResourceAccess.cpp42 return ConstantInt::get(Type::getInt32Ty(GEP->getContext()), Scaled); in calculateGEPOffset()
74 Offset = ConstantInt::get(Builder.getInt32Ty(), 0); in createTypedBufferStore()
90 Offset = ConstantInt::get(Builder.getInt32Ty(), 0); in createRawStore()
160 Offset = ConstantInt::get(Builder.getInt32Ty(), 0); in createRawLoad()
H A DDXILOpLowering.cpp234 Type *Int32Ty = IRB.getInt32Ty(); in lowerToCreateHandle()
268 Type *Int32Ty = IRB.getInt32Ty(); in lowerToBindAndAnnotateHandle()
338 Type *Int32Ty = IRB.getInt32Ty(); in replaceResRetUses()
413 Type *Int32Ty = IRB.getInt32Ty(); in replaceResRetUses()
462 Type *Int32Ty = IRB.getInt32Ty(); in lowerTypedBufferLoad()
493 Type *Int32Ty = IRB.getInt32Ty(); in lowerRawBufferLoad()
557 Type *Int32Ty = IRB.getInt32Ty(); in lowerUpdateCounter()
591 Type *Int32Ty = IRB.getInt32Ty(); in lowerBufferStore()
680 Type *Int32Ty = IRB.getInt32Ty(); in lowerCtpopToCountBits()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSanitizerStats.cpp38 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 DEscapeEnumerator.cpp27 FunctionType::get(Type::getInt32Ty(C), true)); in getDefaultPersonalityFn()
73 Type *ExnTy = StructType::get(PointerType::getUnqual(C), Type::getInt32Ty(C)); in Next()
H A DAMDGPUEmitPrintf.cpp66 auto Int32Ty = Builder.getInt32Ty(); in callAppendArgs()
292 ArgSize = Builder.CreateTrunc(SizeToReserve, Builder.getInt32Ty()); in callBufferedPrintfStart()
299 Type *Tys_alloc[1] = {Builder.getInt32Ty()}; in callBufferedPrintfStart()
350 WhatToStore.push_back(ConstantInt::get(Builder.getInt32Ty(), 0)); in processConstantStringArg()
443 auto Int32Ty = Builder.getInt32Ty(); in emitAMDGPUPrintfCall()
533 return Builder.CreateTrunc(Desc, Builder.getInt32Ty()); in emitAMDGPUPrintfCall()
H A DEntryExitInstrumenter.cpp58 ConstantInt::get(Type::getInt32Ty(C), 0), "", InsertionPt); in insertCall()
87 ArrayRef<Value *>(ConstantInt::get(Type::getInt32Ty(C), 0)), "", in insertCall()
H A DRelLookupTableConverter.cpp121 ArrayType::get(Type::getInt32Ty(M.getContext()), NumElts); in createRelLookupTable()
139 llvm::ConstantExpr::getTrunc(Sub, Type::getInt32Ty(M.getContext())); in createRelLookupTable()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyLowerEmscriptenEHSjLj.cpp720 Value *ThrewValue = IRB.CreateLoad(IRB.getInt32Ty(), ThrewValueGV, in wrapTestSetjmp()
733 IRB.CreatePHI(IRB.getInt32Ty(), 4, "threwvalue.phi"); in wrapTestSetjmp()
765 PHINode *LabelPHI = IRB.CreatePHI(IRB.getInt32Ty(), 2, "label"); in wrapTestSetjmp()
931 ThrewValueGV = getGlobalVariable(M, IRB.getInt32Ty(), TM, "__threwValue"); in runOnModule()
932 GetTempRet0F = getFunction(FunctionType::get(IRB.getInt32Ty(), false), in runOnModule()
935 getFunction(FunctionType::get(IRB.getVoidTy(), IRB.getInt32Ty(), false), in runOnModule()
952 FunctionType::get(IRB.getInt32Ty(), IRB.getPtrTy(), false); in runOnModule()
992 IRB.getVoidTy(), {getAddrIntType(&M), IRB.getInt32Ty()}, false); in runOnModule()
999 IRB.getVoidTy(), {Int8PtrTy, IRB.getInt32Ty()}, false); in runOnModule()
1007 Type *Int32Ty = IRB.getInt32Ty(); in runOnModule()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/
H A DBottomUpVec.cpp226 ConstantInt::getSigned(Type::getInt32Ty(Ctx), ExtrLane); in createPack()
233 ConstantInt::getSigned(Type::getInt32Ty(Ctx), InsertIdx++); in createPack()
243 ConstantInt::getSigned(Type::getInt32Ty(Ctx), InsertIdx++); in createPack()
419 ConstantInt::get(Type::getInt32Ty(Ctx), ElmDescr.getExtractIdx()); in emitVectors()
429 ConstantInt *LaneC = ConstantInt::get(Type::getInt32Ty(Ctx), Lane); in emitVectors()
441 auto *ExtrIdxC = ConstantInt::get(Type::getInt32Ty(Ctx), LnCnt); in emitVectors()
445 auto *InsLaneC = ConstantInt::get(Type::getInt32Ty(Ctx), InsLane); in emitVectors()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DGCOVProfiling.cpp637 FunctionType *FTy = FunctionType::get(Builder.getInt32Ty(), {}, false); in AddFlushBeforeForkAndExec()
1052 Type::getInt32Ty(*Ctx), // uint32_t version in getStartFileFunc()
1053 Type::getInt32Ty(*Ctx), // uint32_t checksum in getStartFileFunc()
1062 Type::getInt32Ty(*Ctx), // uint32_t ident in getEmitFunctionFunc()
1063 Type::getInt32Ty(*Ctx), // uint32_t func_checksum in getEmitFunctionFunc()
1064 Type::getInt32Ty(*Ctx), // uint32_t cfg_checksum in getEmitFunctionFunc()
1073 Type::getInt32Ty(*Ctx), // uint32_t num_counters in getEmitArcsFunc()
1120 {Builder.getPtrTy(), Builder.getInt32Ty(), Builder.getInt32Ty()}, in insertCounterWriteout()
1123 {Builder.getInt32Ty(), Builder.getInt32Ty(), Builder.getInt32Ty()}, in insertCounterWriteout()
1127 StructType::create({Builder.getInt32Ty(), PtrTy}, "emit_arcs_args_ty"); in insertCounterWriteout()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonGenExtract.cpp110 CSR = ConstantInt::get(Type::getInt32Ty(Ctx), 0); in INITIALIZE_PASS_DEPENDENCY()
119 CSL = ConstantInt::get(Type::getInt32Ty(Ctx), 0); in INITIALIZE_PASS_DEPENDENCY()
126 CSL = ConstantInt::get(Type::getInt32Ty(Ctx), 0); in INITIALIZE_PASS_DEPENDENCY()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86WinEHState.cpp183 Type::getInt32Ty(TheModule->getContext()), in runOnFunction()
184 {Int8PtrType, Type::getInt32Ty(TheModule->getContext())}, in runOnFunction()
241 Type::getInt32Ty(Context) // int32_t TryLevel in getCXXEHRegistrationType()
264 Type::getInt32Ty(Context), // int32_t EncodedScopeTable in getSEHRegistrationType()
265 Type::getInt32Ty(Context) // int32_t TryLevel in getSEHRegistrationType()
281 Type *Int32Ty = Builder.getInt32Ty(); in emitExceptionRegistrationRecord()
389 Type *Int32Ty = Type::getInt32Ty(Context); in generateLSDAInEAXThunk()
793 State = Builder.CreateLoad(Builder.getInt32Ty(), StateField); in addStateStores()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DARM.cpp299 llvm::Type::getInt32Ty(getVMContext()); in coerceIllegalVector()
304 llvm::Type::getInt32Ty(getVMContext()), Size / 32); in coerceIllegalVector()
322 llvm::Type::getInt32Ty(getVMContext()), Size / 32); in classifyHomogeneousAggregate()
473 ElemTy = llvm::Type::getInt32Ty(getVMContext()); in classifyArgumentType()
629 return ABIArgInfo::getDirect(llvm::Type::getInt32Ty(getVMContext())); in classifyReturnType()
656 return ABIArgInfo::getDirect(llvm::Type::getInt32Ty(getVMContext())); in classifyReturnType()
663 return ABIArgInfo::getDirect(llvm::Type::getInt32Ty(getVMContext())); in classifyReturnType()
665 llvm::Type *Int32Ty = llvm::Type::getInt32Ty(getVMContext()); in classifyReturnType()
/freebsd/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/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPrintfRuntimeBinding.cpp141 Type *I32Ty = Type::getInt32Ty(Ctx); in lowerPrintfForGpu()
185 Type *ResType = Type::getInt32Ty(Ctx); in lowerPrintfForGpu()
269 Type *SizetTy = Type::getInt32Ty(Ctx); in lowerPrintfForGpu()
328 Type *Int32Ty = Type::getInt32Ty(Ctx); in lowerPrintfForGpu()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenCLRuntime.cpp84 llvm::Type *Int32Ty = llvm::IntegerType::getInt32Ty(CGM.getLLVMContext()); in getPipeElemSize()
94 llvm::Type *Int32Ty = llvm::IntegerType::getInt32Ty(CGM.getLLVMContext()); in getPipeElemAlign()
H A DCGLoopInfo.cpp64 llvm::Type::getInt32Ty(Ctx), Attrs.PipelineInitiationInterval))}; in createPipeliningMetadata()
115 llvm::Type::getInt32Ty(Ctx), Attrs.UnrollCount))}; in createPartialUnrollMetadata()
174 ConstantAsMetadata::get(ConstantInt::get(llvm::Type::getInt32Ty(Ctx), in createUnrollAndJamMetadata()
257 ConstantAsMetadata::get(ConstantInt::get(llvm::Type::getInt32Ty(Ctx), in createLoopVectorizeMetadata()
276 ConstantAsMetadata::get(ConstantInt::get(llvm::Type::getInt32Ty(Ctx), in createLoopVectorizeMetadata()
423 llvm::Type::getInt32Ty(Ctx), Attrs.CodeAlign))}; in createMetadata()
H A DCGGPUBuiltin.cpp28 llvm::Type::getInt32Ty(M.getContext()), ArgTypes, false); in GetVprintfDeclaration()
143 llvm::ConstantInt::get(llvm::Type::getInt32Ty(CGM.getLLVMContext()), in EmitDevicePrintfCallExpr()

12345678910