Home
last modified time | relevance | path

Searched refs:Int8PtrTy (Results 1 – 17 of 17) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSanitizerStats.cpp45 PointerType *Int8PtrTy = B.getInt8PtrTy(); in create() local
47 ArrayType *StatTy = ArrayType::get(Int8PtrTy, 2); in create()
51 {Constant::getNullValue(Int8PtrTy), in create()
55 Int8PtrTy)})); in create()
58 FunctionType::get(B.getVoidTy(), Int8PtrTy, false); in create()
68 B.CreateCall(StatReport, ConstantExpr::getBitCast(InitAddr, Int8PtrTy)); in create()
77 PointerType *Int8PtrTy = Type::getInt8PtrTy(M->getContext()); in finish() local
86 {Constant::getNullValue(Int8PtrTy), in finish()
99 FunctionType *StatInitTy = FunctionType::get(VoidTy, Int8PtrTy, false); in finish()
103 B.CreateCall(StatInit, ConstantExpr::getBitCast(NewModuleStatsGV, Int8PtrTy)); in finish()
DModuleUtils.cpp86 Type *Int8PtrTy = llvm::Type::getInt8PtrTy(M.getContext()); in appendToUsedList() local
88 Constant *C = ConstantExpr::getBitCast(V, Int8PtrTy); in appendToUsedList()
96 ArrayType *ATy = ArrayType::get(Int8PtrTy, Init.size()); in appendToUsedList()
DCodeExtractor.cpp1011 auto Int8PtrTy = Type::getInt8PtrTy(Ctx); in insertLifetimeMarkersSurroundingCall() local
1029 if (Mem->getType() == Int8PtrTy) in insertLifetimeMarkersSurroundingCall()
1033 CastInst::CreatePointerCast(Mem, Int8PtrTy, "lt.cast", TheCall); in insertLifetimeMarkersSurroundingCall()
1046 M, llvm::Intrinsic::lifetime_start, Int8PtrTy); in insertLifetimeMarkersSurroundingCall()
1052 M, llvm::Intrinsic::lifetime_end, Int8PtrTy); in insertLifetimeMarkersSurroundingCall()
DInlineFunction.cpp1327 Type *Int8PtrTy = Type::getInt8PtrTy(Ty->getContext(), in hasLifetimeMarkers() local
1329 if (Ty == Int8PtrTy) in hasLifetimeMarkers()
1334 if (U->getType() != Int8PtrTy) continue; in hasLifetimeMarkers()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUHSAMetadataStreamer.cpp416 auto Int8PtrTy = Type::getInt8PtrTy(Func.getContext(), in emitHiddenKernelArgs() local
423 emitKernelArg(DL, Int8PtrTy, ValueKind::HiddenPrintfBuffer); in emitHiddenKernelArgs()
428 emitKernelArg(DL, Int8PtrTy, ValueKind::HiddenHostcallBuffer); in emitHiddenKernelArgs()
430 emitKernelArg(DL, Int8PtrTy, ValueKind::HiddenNone); in emitHiddenKernelArgs()
437 emitKernelArg(DL, Int8PtrTy, ValueKind::HiddenDefaultQueue); in emitHiddenKernelArgs()
438 emitKernelArg(DL, Int8PtrTy, ValueKind::HiddenCompletionAction); in emitHiddenKernelArgs()
440 emitKernelArg(DL, Int8PtrTy, ValueKind::HiddenNone); in emitHiddenKernelArgs()
441 emitKernelArg(DL, Int8PtrTy, ValueKind::HiddenNone); in emitHiddenKernelArgs()
447 emitKernelArg(DL, Int8PtrTy, ValueKind::HiddenMultiGridSyncArg); in emitHiddenKernelArgs()
854 auto Int8PtrTy = in emitHiddenKernelArgs() local
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DHWAddressSanitizer.cpp271 Type *Int8PtrTy; member in __anonacb845780111::HWAddressSanitizer
374 Int8PtrTy = IRB.getInt8PtrTy(); in initializeModule()
455 "__hwasan_tag_memory", IRB.getVoidTy(), Int8PtrTy, Int8Ty, IntptrTy); in initializeCallbacks()
482 FunctionType::get(Int8PtrTy, {ShadowGlobal->getType()}, false), in getDynamicShadowIfunc()
498 kHwasanShadowMemoryDynamicAddress, Int8PtrTy); in getDynamicShadowNonTls()
499 return IRB.CreateLoad(Int8PtrTy, GlobalDynamicAddress); in getDynamicShadowNonTls()
595 Int8PtrTy); in shadowBase()
602 return IRB.CreateIntToPtr(Shadow, Int8PtrTy); in memToShadow()
616 Ptr = IRB.CreateBitCast(Ptr, Int8PtrTy); in instrumentMemAccessInline()
663 InlineTagAddr = IRB.CreateIntToPtr(InlineTagAddr, Int8PtrTy); in instrumentMemAccessInline()
[all …]
DInstrProfiling.cpp793 auto *Int8PtrTy = Type::getInt8PtrTy(Ctx); in getOrCreateRegionCounters() local
796 Constant *ValuesPtrExpr = ConstantPointerNull::get(Int8PtrTy); in getOrCreateRegionCounters()
828 ? ConstantExpr::getBitCast(Fn, Int8PtrTy) in getOrCreateRegionCounters()
829 : ConstantPointerNull::get(Int8PtrTy); in getOrCreateRegionCounters()
DSanitizerCoverage.cpp238 *Int16Ty, *Int8Ty, *Int8PtrTy; member in __anonfbd5753f0111::ModuleSanitizerCoverage
321 auto SecStartI8Ptr = IRB.CreatePointerCast(SecStart, Int8PtrTy); in CreateSecStartEnd()
377 Int8PtrTy = PointerType::getUnqual(IRB.getInt8Ty()); in instrumentModule()
463 SanCov8bitCountersInitName, Int8PtrTy, in instrumentModule()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DWholeProgramDevirt.cpp453 PointerType *Int8PtrTy; member
481 Int8PtrTy(Type::getInt8PtrTy(M.getContext())), in DevirtModule()
1066 FunctionType::get(Type::getVoidTy(M.getContext()), {Int8PtrTy}, true); in tryICallBranchFunnel()
1124 NewArgs.push_back(Int8PtrTy); in applyICallBranchFunnel()
1134 Args.push_back(IRB.CreateBitCast(VCallSite.VTable, Int8PtrTy)); in applyICallBranchFunnel()
1267 ConstantExpr::getIntToPtr(ConstantInt::get(Int32Ty, Const), Int8PtrTy)); in exportConstant()
1319 B.CreateBitCast(Call.VTable, Int8PtrTy), UniqueMemberAddr); in applyUniqueRetValOpt()
1328 Constant *C = ConstantExpr::getBitCast(M->Bits->GV, Int8PtrTy); in getMemberAddr()
1387 B.CreateGEP(Int8Ty, B.CreateBitCast(Call.VTable, Int8PtrTy), Byte); in applyVirtualConstProp()
1644 Value *GEPPtr = LoadB.CreateBitCast(GEP, PointerType::getUnqual(Int8PtrTy)); in scanTypeCheckedLoadUsers()
[all …]
DLowerTypeTests.cpp392 PointerType *Int8PtrTy = Type::getInt8PtrTy(M.getContext()); member in __anoncaa44a2c0111::LowerTypeTestsModule
625 ConstantExpr::getIntToPtr(ConstantInt::get(Int8Ty, Mask), Int8PtrTy)); in allocateByteArrays()
917 ExportGlobal(Name, ConstantExpr::getIntToPtr(C, Int8PtrTy)); in exportTypeId()
969 C = ConstantExpr::getBitCast(C, Int8PtrTy); in importTypeId()
1016 TIL.BitMask = ImportConstant("bit_mask", TTRes.BitMask, 8, Int8PtrTy); in importTypeId()
1110 CombinedGlobalAddr = ConstantExpr::getBitCast(CombinedGlobalAddr, Int8PtrTy); in lowerTypeTestCalls()
DGlobalOpt.cpp2624 PointerType *Int8PtrTy = Type::getInt8PtrTy(V.getContext(), 0); in setUsedInitializer() local
2629 = ConstantExpr::getPointerBitCastOrAddrSpaceCast(GV, Int8PtrTy); in setUsedInitializer()
2634 ArrayType *ATy = ArrayType::get(Int8PtrTy, UsedArray.size()); in setUsedInitializer()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DIRBuilder.h2630 auto *Int8PtrTy = getInt8PtrTy(PtrType->getPointerAddressSpace()); in CreateLaunderInvariantGroup() local
2631 if (PtrType != Int8PtrTy) in CreateLaunderInvariantGroup()
2632 Ptr = CreateBitCast(Ptr, Int8PtrTy); in CreateLaunderInvariantGroup()
2635 M, Intrinsic::launder_invariant_group, {Int8PtrTy}); in CreateLaunderInvariantGroup()
2637 assert(FnLaunderInvariantGroup->getReturnType() == Int8PtrTy && in CreateLaunderInvariantGroup()
2639 Int8PtrTy && in CreateLaunderInvariantGroup()
2644 if (PtrType != Int8PtrTy) in CreateLaunderInvariantGroup()
2658 auto *Int8PtrTy = getInt8PtrTy(PtrType->getPointerAddressSpace()); in CreateStripInvariantGroup() local
2659 if (PtrType != Int8PtrTy) in CreateStripInvariantGroup()
2660 Ptr = CreateBitCast(Ptr, Int8PtrTy); in CreateStripInvariantGroup()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
DCoroInstr.h188 auto *const Int8PtrTy = Type::getInt8PtrTy(getContext()); in setCoroutineSelf() local
190 ConstantExpr::getBitCast(getFunction(), Int8PtrTy)); in setCoroutineSelf()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerEmscriptenEHSjLj.cpp357 PointerType *Int8PtrTy = Type::getInt8PtrTy(M.getContext()); in getFindMatchingCatch() local
358 SmallVector<Type *, 16> Args(NumClauses, Int8PtrTy); in getFindMatchingCatch()
359 FunctionType *FTy = FunctionType::get(Int8PtrTy, Args, false); in getFindMatchingCatch()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DConstantHoisting.cpp750 PointerType *Int8PtrTy = Type::getInt8PtrTy(*Ctx, in emitBaseConstants() local
752 Base = new BitCastInst(Base, Int8PtrTy, "base_bitcast", InsertionPt); in emitBaseConstants()
753 Mat = GetElementPtrInst::Create(Int8PtrTy->getElementType(), Base, in emitBaseConstants()
DLoopIdiomRecognize.cpp953 Type *Int8PtrTy = DestInt8PtrTy; in processLoopStridedStore() local
958 Int8PtrTy, Int8PtrTy, IntIdxTy); in processLoopStridedStore()
968 Value *PatternPtr = ConstantExpr::getBitCast(GV, Int8PtrTy); in processLoopStridedStore()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DInstructionSimplify.cpp4957 Type *Int8PtrTy = Type::getInt8PtrTy(Ptr->getContext()); in SimplifyRelativeLoad() local
5003 return ConstantExpr::getBitCast(LoadedLHSPtr, Int8PtrTy); in SimplifyRelativeLoad()