Home
last modified time | relevance | path

Searched refs:Int32Ty (Results 1 – 25 of 37) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DInstrOrderFile.cpp121 IntegerType *Int32Ty = Type::getInt32Ty(Ctx); in generateCodeSequence() local
136 Value *IdxFlags[] = {ConstantInt::get(Int32Ty, 0), in generateCodeSequence()
137 ConstantInt::get(Int32Ty, FuncId)}; in generateCodeSequence()
147 AtomicRMWInst::Add, BufferIdx, ConstantInt::get(Int32Ty, 1), in generateCodeSequence()
151 IdxVal, ConstantInt::get(Int32Ty, INSTR_ORDER_FILE_BUFFER_MASK)); in generateCodeSequence()
152 Value *BufferGEPIdx[] = {ConstantInt::get(Int32Ty, 0), WrappedIdx}; in generateCodeSequence()
DHWAddressSanitizer.cpp273 Type *Int32Ty; member in __anon840f76e60111::HWAddressSanitizer
376 Int32Ty = IRB.getInt32Ty(); in initializeModule()
621 {shadowBase(), Ptr, ConstantInt::get(Int32Ty, AccessInfo)}); in instrumentMemAccessInline()
1267 auto *DescriptorTy = StructType::get(Int32Ty, Int32Ty); in instrumentGlobal()
1280 Int32Ty); in instrumentGlobal()
1282 auto *SizeAndTag = ConstantInt::get(Int32Ty, Size | (uint32_t(Tag) << 24)); in instrumentGlobal()
1347 auto *NoteTy = StructType::get(Int32Ty, Int32Ty, Int32Ty, Name->getType(), in instrumentGlobals()
1348 Int32Ty, Int32Ty); in instrumentGlobals()
1363 Int32Ty); in instrumentGlobals()
1366 {ConstantInt::get(Int32Ty, 8), // n_namesz in instrumentGlobals()
[all …]
DSanitizerCoverage.cpp237 Type *IntptrTy, *IntptrPtrTy, *Int64Ty, *Int64PtrTy, *Int32Ty, *Int32PtrTy, member in __anon673530ed0111::ModuleSanitizerCoverage
379 Int32Ty = IRB.getInt32Ty(); in instrumentModule()
412 SanCovTraceConstCmp4, SanCovTraceCmpZeroExtAL, VoidTy, Int32Ty, Int32Ty); in instrumentModule()
699 AllBlocks.size(), F, Int32Ty, SanCovGuardsSectionName); in CreateFunctionLocalArrays()
896 IRB.CreateCall(GetFrameAddr, {Constant::getNullValue(Int32Ty)}); in InjectCoverageAtBlock()
DInstrProfiling.cpp992 auto *Int32Ty = Type::getInt32Ty(M->getContext()); in emitRuntimeHook() local
994 new GlobalVariable(*M, Int32Ty, false, GlobalValue::ExternalLinkage, in emitRuntimeHook()
998 auto *User = Function::Create(FunctionType::get(Int32Ty, false), in emitRuntimeHook()
1009 auto *Load = IRB.CreateLoad(Int32Ty, Var); in emitRuntimeHook()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUPrintfRuntimeBinding.cpp403 Type *Int32Ty = Type::getInt32Ty(Ctx); in lowerPrintfForGpu() local
413 Type *IType = (ArgType->isFloatTy()) ? Int32Ty : Int64Ty; in lowerPrintfForGpu()
422 IType = Int32Ty; in lowerPrintfForGpu()
428 IType = Int32Ty; in lowerPrintfForGpu()
465 Value *ANumV = ConstantInt::get(Int32Ty, ANum, false); in lowerPrintfForGpu()
471 Value *ANumV = ConstantInt::get(Int32Ty, 0xFFFFFF00, false); in lowerPrintfForGpu()
477 Type *DstType = (Size == 32) ? Int32Ty : Int64Ty; in lowerPrintfForGpu()
487 IntegerType *Int32Ty = Type::getInt32Ty(ArgType->getContext()); in lowerPrintfForGpu() local
489 ConstantInt::get(Int32Ty, 0), ConstantInt::get(Int32Ty, 1), in lowerPrintfForGpu()
490 ConstantInt::get(Int32Ty, 2), ConstantInt::get(Int32Ty, 2)}; in lowerPrintfForGpu()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DSjLjEHPrepare.cpp87 Type *Int32Ty = Type::getInt32Ty(M.getContext()); in doInitialization() local
88 doubleUnderDataTy = ArrayType::get(Int32Ty, 4); in doInitialization()
91 Int32Ty, // call_site in doInitialization()
107 Type *Int32Ty = Type::getInt32Ty(I->getContext()); in insertCallSiteStore() local
108 Value *Zero = ConstantInt::get(Int32Ty, 0); in insertCallSiteStore()
109 Value *One = ConstantInt::get(Int32Ty, 1); in insertCallSiteStore()
193 Type *Int32Ty = Type::getInt32Ty(F.getContext()); in setupFunctionContext() local
196 Value *ExnVal = Builder.CreateLoad(Int32Ty, ExceptionAddr, true, "exn_val"); in setupFunctionContext()
202 Builder.CreateLoad(Int32Ty, SelectorAddr, true, "exn_selector_val"); in setupFunctionContext()
DPreISelIntrinsicLowering.cpp35 Type *Int32Ty = Type::getInt32Ty(F.getContext()); in lowerLoadRelative() local
36 Type *Int32PtrTy = Int32Ty->getPointerTo(); in lowerLoadRelative()
49 Value *OffsetI32 = B.CreateAlignedLoad(Int32Ty, OffsetPtrI32, 4); in lowerLoadRelative()
DSafeStack.cpp133 Type *Int32Ty; member in __anon489641200111::SafeStack
212 Int32Ty(Type::getInt32Ty(F.getContext())), in SafeStack()
555 ConstantInt::get(Int32Ty, -Offset)); in moveStaticAllocasToUnsafeStack()
574 ConstantInt::get(Int32Ty, -Offset)); in moveStaticAllocasToUnsafeStack()
610 ConstantInt::get(Int32Ty, -Offset)); in moveStaticAllocasToUnsafeStack()
633 IRB.CreateGEP(Int8Ty, BasePointer, ConstantInt::get(Int32Ty, -FrameSize), in moveStaticAllocasToUnsafeStack()
DShadowStackGCLowering.cpp117 Type *Int32Ty = Type::getInt32Ty(F.getContext()); in GetFrameMap() local
120 ConstantInt::get(Int32Ty, Roots.size(), false), in GetFrameMap()
121 ConstantInt::get(Int32Ty, NumMeta, false), in GetFrameMap()
DGlobalMerge.cpp442 Type *Int32Ty = Type::getInt32Ty(M.getContext()); in doMerge() local
537 ConstantInt::get(Int32Ty, 0), in doMerge()
538 ConstantInt::get(Int32Ty, StructIdxs[idx]), in doMerge()
/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() local
201 Result.push_back(ConstantInt::get(Int32Ty, 0)); in validExtractValueIndex()
203 Result.push_back(ConstantInt::get(Int32Ty, N - 1)); in validExtractValueIndex()
205 Result.push_back(ConstantInt::get(Int32Ty, N / 2)); in validExtractValueIndex()
256 auto *Int32Ty = Type::getInt32Ty(Cur[0]->getContext()); in validInsertValueIndex() local
260 Result.push_back(ConstantInt::get(Int32Ty, I)); in validInsertValueIndex()
302 auto *Int32Ty = Type::getInt32Ty(Cur[0]->getContext()); in validShuffleVectorIndex() local
306 UndefValue::get(VectorType::get(Int32Ty, FirstTy->getNumElements()))}; in validShuffleVectorIndex()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp509 Type *Int32Ty = Builder.getInt32Ty(); in expandRemainderUpTo32Bits() local
512 ExtDividend = Builder.CreateSExt(Rem->getOperand(0), Int32Ty); in expandRemainderUpTo32Bits()
513 ExtDivisor = Builder.CreateSExt(Rem->getOperand(1), Int32Ty); in expandRemainderUpTo32Bits()
516 ExtDividend = Builder.CreateZExt(Rem->getOperand(0), Int32Ty); in expandRemainderUpTo32Bits()
517 ExtDivisor = Builder.CreateZExt(Rem->getOperand(1), Int32Ty); in expandRemainderUpTo32Bits()
606 Type *Int32Ty = Builder.getInt32Ty(); in expandDivisionUpTo32Bits() local
609 ExtDividend = Builder.CreateSExt(Div->getOperand(0), Int32Ty); in expandDivisionUpTo32Bits()
610 ExtDivisor = Builder.CreateSExt(Div->getOperand(1), Int32Ty); in expandDivisionUpTo32Bits()
613 ExtDividend = Builder.CreateZExt(Div->getOperand(0), Int32Ty); in expandDivisionUpTo32Bits()
614 ExtDivisor = Builder.CreateZExt(Div->getOperand(1), Int32Ty); in expandDivisionUpTo32Bits()
DSanitizerStats.cpp78 IntegerType *Int32Ty = Type::getInt32Ty(M->getContext()); in finish() local
87 ConstantInt::get(Int32Ty, Inits.size()), in finish()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86WinEHState.cpp278 Type *Int32Ty = Builder.getInt32Ty(); in emitExceptionRegistrationRecord() local
312 EHGuardNode = Builder.CreateAlloca(Int32Ty); in emitExceptionRegistrationRecord()
324 LSDA = Builder.CreatePtrToInt(LSDA, Int32Ty); in emitExceptionRegistrationRecord()
328 Cookie = TheModule->getOrInsertGlobal("__security_cookie", Int32Ty); in emitExceptionRegistrationRecord()
329 Value *Val = Builder.CreateLoad(Int32Ty, Cookie, "cookie"); in emitExceptionRegistrationRecord()
336 Value *Val = Builder.CreateLoad(Int32Ty, Cookie); in emitExceptionRegistrationRecord()
343 Value *FrameAddrI32 = Builder.CreatePtrToInt(FrameAddr, Int32Ty); in emitExceptionRegistrationRecord()
387 Type *Int32Ty = Type::getInt32Ty(Context); in generateLSDAInEAXThunk() local
392 FunctionType::get(Int32Ty, makeArrayRef(&ArgTys[0], 4), in generateLSDAInEAXThunk()
395 FunctionType::get(Int32Ty, makeArrayRef(&ArgTys[0], 5), in generateLSDAInEAXThunk()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVVMIntrRange.cpp74 IntegerType *Int32Ty = Type::getInt32Ty(Context); in addRangeMetadata() local
76 ConstantAsMetadata::get(ConstantInt::get(Int32Ty, Low)), in addRangeMetadata()
77 ConstantAsMetadata::get(ConstantInt::get(Int32Ty, High))}; in addRangeMetadata()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DGlobalSplit.cpp74 IntegerType *Int32Ty = Type::getInt32Ty(GV.getContext()); in splitGlobal() local
111 ConstantInt::get(Int32Ty, ByteOffset - SplitBegin)), in splitGlobal()
123 Ops.push_back(ConstantInt::get(Int32Ty, 0)); in splitGlobal()
DWholeProgramDevirt.cpp454 IntegerType *Int32Ty; member
482 Int32Ty(Type::getInt32Ty(M.getContext())), in DevirtModule()
1267 ConstantExpr::getIntToPtr(ConstantInt::get(Int32Ty, Const), Int8PtrTy)); in exportConstant()
1496 Constant *ByteConst = ConstantInt::get(Int32Ty, OffsetByte); in tryVirtualConstProp()
1543 ArrayRef<Constant *>{ConstantInt::get(Int32Ty, 0), in rebuildGlobal()
1544 ConstantInt::get(Int32Ty, 1)}), in rebuildGlobal()
1741 Int32Ty, ResByArg.Byte); in importResolution()
DLowerTypeTests.cpp394 IntegerType *Int32Ty = Type::getInt32Ty(M.getContext()); member in __anon0cd25f9a0111::LowerTypeTestsModule
395 PointerType *Int32PtrTy = PointerType::getUnqual(Int32Ty);
874 Constant *CombinedGlobalIdxs[] = {ConstantInt::get(Int32Ty, 0), in buildBitSetsFromGlobalVariables()
875 ConstantInt::get(Int32Ty, I * 2)}; in buildBitSetsFromGlobalVariables()
1022 TTRes.SizeM1BitWidth <= 5 ? Int32Ty : Int64Ty); in importTypeId()
1142 (BSI.BitSize <= 32) ? Int32Ty : Int64Ty, InlineBits); in lowerTypeTestCalls()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DProfileSummary.cpp49 Type *Int32Ty = Type::getInt32Ty(Context); in getDetailedSummaryMD() local
53 ConstantAsMetadata::get(ConstantInt::get(Int32Ty, Entry.Cutoff)), in getDetailedSummaryMD()
55 ConstantAsMetadata::get(ConstantInt::get(Int32Ty, Entry.NumCounts))}; in getDetailedSummaryMD()
DModule.cpp339 Type *Int32Ty = Type::getInt32Ty(Context); in addModuleFlag() local
341 ConstantAsMetadata::get(ConstantInt::get(Int32Ty, Behavior)), in addModuleFlag()
351 Type *Int32Ty = Type::getInt32Ty(Context); in addModuleFlag() local
352 addModuleFlag(Behavior, Key, ConstantInt::get(Int32Ty, Val)); in addModuleFlag()
DMDBuilder.cpp48 Type *Int32Ty = Type::getInt32Ty(Context); in createBranchWeights() local
50 Vals[i + 1] = createConstant(ConstantInt::get(Int32Ty, Weights[i])); in createBranchWeights()
DLLVMContextImpl.cpp39 Int32Ty(C, 32), in LLVMContextImpl()
/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() local
426 ConstantInt::get(Int32Ty, in visitExtractElementInst()
799 Type *Int32Ty = Type::getInt32Ty(InsElt.getContext()); in foldInsSequenceIntoSplat() local
801 Constant *Zero = ConstantInt::get(Int32Ty, 0); in foldInsSequenceIntoSplat()
809 Mask[i] = UndefValue::get(Int32Ty); in foldInsSequenceIntoSplat()
968 Type *Int32Ty = Type::getInt32Ty(Shuf->getContext()); in foldConstantInsEltIntoShuffle() local
969 NewMaskElts[I] = ConstantInt::get(Int32Ty, InsEltIndex + NumElts); in foldConstantInsEltIntoShuffle()
1912 Type *Int32Ty = Type::getInt32Ty(SVI.getContext()); in visitShuffleVectorInst() local
1920 Elts.push_back(UndefValue::get(Int32Ty)); in visitShuffleVectorInst()
1922 Elts.push_back(ConstantInt::get(Int32Ty, Mask[i] % LHSWidth)); in visitShuffleVectorInst()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/
DInstrProfData.inc238 COVMAP_HEADER(uint32_t, Int32Ty, NRecords, \
239 llvm::ConstantInt::get(Int32Ty, FunctionRecords.size()))
240 COVMAP_HEADER(uint32_t, Int32Ty, FilenamesSize, \
241 llvm::ConstantInt::get(Int32Ty, FilenamesSize))
242 COVMAP_HEADER(uint32_t, Int32Ty, CoverageSize, \
243 llvm::ConstantInt::get(Int32Ty, CoverageMappingSize))
244 COVMAP_HEADER(uint32_t, Int32Ty, Version, \
245 llvm::ConstantInt::get(Int32Ty, CovMapVersion::CurrentVersion))
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp456 IntegerType *Int32Ty = Type::getInt32Ty(PN->getContext()); in handleFloatingPointIV() local
459 PHINode *NewPHI = PHINode::Create(Int32Ty, 2, PN->getName()+".int", PN); in handleFloatingPointIV()
460 NewPHI->addIncoming(ConstantInt::get(Int32Ty, InitValue), in handleFloatingPointIV()
464 BinaryOperator::CreateAdd(NewPHI, ConstantInt::get(Int32Ty, IncValue), in handleFloatingPointIV()
469 ConstantInt::get(Int32Ty, ExitValue), in handleFloatingPointIV()

12