Home
last modified time | relevance | path

Searched refs:CreateLoad (Results 1 – 25 of 51) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp833 Value *Count = Builder.CreateLoad(Builder.getInt64Ty(), Phi); in emitProfileArcs()
844 Value *Count = Builder.CreateLoad(Builder.getInt64Ty(), Counter); in emitProfileArcs()
1108 {Builder.CreateLoad(StartFileCallArgsTy->getElementType(0), in insertCounterWriteout()
1111 Builder.CreateLoad(StartFileCallArgsTy->getElementType(1), in insertCounterWriteout()
1114 Builder.CreateLoad(StartFileCallArgsTy->getElementType(2), in insertCounterWriteout()
1120 Builder.CreateLoad(FileInfoTy->getElementType(1), in insertCounterWriteout()
1123 Builder.CreateLoad(FileInfoTy->getElementType(2), in insertCounterWriteout()
1126 Builder.CreateLoad(FileInfoTy->getElementType(3), in insertCounterWriteout()
1139 {Builder.CreateLoad(EmitFunctionCallArgsTy->getElementType(0), in insertCounterWriteout()
1142 Builder.CreateLoad(EmitFunctionCallArgsTy->getElementType(1), in insertCounterWriteout()
[all …]
DMemorySanitizer.cpp1655 setOrigin(A, EntryIRB.CreateLoad(MS.OriginTy, OriginPtr)); in getShadow()
2495 setOrigin(&I, IRB.CreateLoad(MS.OriginTy, OriginPtr)); in handleVectorLoadIntrinsic()
2898 Value *Origin = MS.TrackOrigins ? IRB.CreateLoad(MS.OriginTy, OriginPtr) in handleLdmxcsr()
2977 getOrigin(PassThru), IRB.CreateLoad(MS.OriginTy, OriginPtr)); in handleMaskedLoad()
3432 setOrigin(&I, IRBAfter.CreateLoad(MS.OriginTy, in visitCallSite()
3991 IRB.CreateLoad(IRB.getInt64Ty(), MS.VAArgOverflowSizeTLS); in finalizeInstrumentation()
4017 IRB.CreateLoad(RegSaveAreaPtrTy, RegSaveAreaPtrPtr); in finalizeInstrumentation()
4034 IRB.CreateLoad(OverflowArgAreaPtrTy, OverflowArgAreaPtrPtr); in finalizeInstrumentation()
4137 VAArgSize = IRB.CreateLoad(IRB.getInt64Ty(), MS.VAArgOverflowSizeTLS); in finalizeInstrumentation()
4159 IRB.CreateLoad(RegSaveAreaPtrTy, RegSaveAreaPtrPtr); in finalizeInstrumentation()
[all …]
DInstrOrderFile.cpp139 LoadInst *loadBitMap = entryB.CreateLoad(Int8Ty, MapAddr, ""); in generateCodeSequence()
DInstrProfiling.cpp212 LoadInst *OldVal = Builder.CreateLoad(Ty, Addr, "pgocount.promoted"); in doExtraRewritesBeforeFinalDeletion()
649 Value *Load = Builder.CreateLoad(IncStep->getType(), Addr, "pgocount"); in lowerIncrement()
1009 auto *Load = IRB.CreateLoad(Int32Ty, Var); in emitRuntimeHook()
DHWAddressSanitizer.cpp499 return IRB.CreateLoad(Int8PtrTy, GlobalDynamicAddress); in getDynamicShadowNonTls()
630 Value *MemTag = IRB.CreateLoad(Int8Ty, Shadow); in instrumentMemAccessInline()
664 Value *InlineTag = IRB.CreateLoad(Int8Ty, InlineTagAddr); in instrumentMemAccessInline()
934 Value *ThreadLong = IRB.CreateLoad(IntptrTy, SlotPtr); in emitPrologue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DExpandMemCmp.cpp291 Value *LoadSrc1 = Builder.CreateLoad(LoadSizeType, Source1); in emitLoadCompareByteBlock()
292 Value *LoadSrc2 = Builder.CreateLoad(LoadSizeType, Source2); in emitLoadCompareByteBlock()
357 LoadSrc1 = Builder.CreateLoad(LoadSizeType, Source1); in getCompareLoadPairs()
363 LoadSrc2 = Builder.CreateLoad(LoadSizeType, Source2); in getCompareLoadPairs()
460 Value *LoadSrc1 = Builder.CreateLoad(LoadSizeType, Source1); in emitLoadCompareBlock()
461 Value *LoadSrc2 = Builder.CreateLoad(LoadSizeType, Source2); in emitLoadCompareBlock()
581 Value *LoadSrc1 = Builder.CreateLoad(LoadSizeType, Source1); in getMemCmpOneBlock()
582 Value *LoadSrc2 = Builder.CreateLoad(LoadSizeType, Source2); in getMemCmpOneBlock()
DSafeStack.cpp375 return IRB.CreateLoad(StackPtrTy, StackGuardVar, "StackGuard"); in getStackGuard()
457 DynamicTop ? IRB.CreateLoad(StackPtrTy, DynamicTop) : StaticTop; in createStackRestorePoints()
466 Value *V = IRB.CreateLoad(StackPtrTy, StackGuardSlot); in checkStackGuard()
656 Value *SP = IRB.CreatePtrToInt(IRB.CreateLoad(StackPtrTy, UnsafeStackPtr), in moveDynamicAllocasToUnsafeStack()
694 Instruction *LI = IRB.CreateLoad(StackPtrTy, UnsafeStackPtr); in moveDynamicAllocasToUnsafeStack()
789 IRB.CreateLoad(StackPtrTy, UnsafeStackPtr, false, "unsafe_stack_ptr"); in run()
DStackProtector.cpp358 return B.CreateLoad(B.getInt8PtrTy(), Guard, true, "StackGuard"); in getStackGuard()
453 LoadInst *Guard = B.CreateLoad(B.getInt8PtrTy(), AI, true, "Guard"); in InsertStackProtectors()
508 LoadInst *LI2 = B.CreateLoad(B.getInt8PtrTy(), AI, true); in InsertStackProtectors()
DShadowStackGCLowering.cpp317 AtEntry.CreateLoad(StackEntryTy->getPointerTo(), Head, "gc_currhead"); in runOnFunction()
358 Value *SavedHead = AtExit->CreateLoad(StackEntryTy->getPointerTo(), in runOnFunction()
DSjLjEHPrepare.cpp196 Value *ExnVal = Builder.CreateLoad(Int32Ty, ExceptionAddr, true, "exn_val"); in setupFunctionContext()
202 Builder.CreateLoad(Int32Ty, SelectorAddr, true, "exn_selector_val"); in setupFunctionContext()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLowerMemIntrinsics.cpp75 Value *Load = LoopBuilder.CreateLoad(LoopOpType, SrcGEP, SrcIsVolatile); in createMemCpyLoopKnownSize()
117 Value *Load = RBuilder.CreateLoad(OpTy, SrcGEP, SrcIsVolatile); in createMemCpyLoopKnownSize()
184 Value *Load = LoopBuilder.CreateLoad(LoopOpType, SrcGEP, SrcIsVolatile); in createMemCpyLoopUnknownSize()
237 Value *Load = ResBuilder.CreateLoad(Int8Type, SrcGEP, SrcIsVolatile); in createMemCpyLoopUnknownSize()
334 Value *Element = LoopBuilder.CreateLoad( in createMemMoveLoop()
352 Value *FwdElement = FwdLoopBuilder.CreateLoad( in createMemMoveLoop()
DSimplifyLibCalls.cpp428 B.CreateLoad(B.getInt8Ty(), Str2P, "strcmpload"), CI->getType())); in optimizeStrCmp()
431 return B.CreateZExt(B.CreateLoad(B.getInt8Ty(), Str1P, "strcmpload"), in optimizeStrCmp()
503 B.CreateLoad(B.getInt8Ty(), Str2P, "strcmpload"), CI->getType())); in optimizeStrNCmp()
506 return B.CreateZExt(B.CreateLoad(B.getInt8Ty(), Str1P, "strcmpload"), in optimizeStrNCmp()
733 return B.CreateZExt(B.CreateLoad(B.getIntNTy(CharSize), Src, "strlenfirst"), in optimizeStringLength()
999 B.CreateZExt(B.CreateLoad(B.getInt8Ty(), castToCStr(LHS, B), "lhsc"), in optimizeMemCmpConstantSize()
1002 B.CreateZExt(B.CreateLoad(B.getInt8Ty(), castToCStr(RHS, B), "rhsc"), in optimizeMemCmpConstantSize()
1033 LHSV = B.CreateLoad(IntType, B.CreateBitCast(LHS, LHSPtrTy), "lhsv"); in optimizeMemCmpConstantSize()
1038 RHSV = B.CreateLoad(IntType, B.CreateBitCast(RHS, RHSPtrTy), "rhsv"); in optimizeMemCmpConstantSize()
2753 Value *Char = B.CreateLoad(B.getInt8Ty(), in optimizeFWrite()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/CFGuard/
DCFGuard.cpp169 LoadInst *GuardCheckLoad = B.CreateLoad(GuardFnPtrType, GuardFnGlobal); in insertCFGuardCheck()
199 LoadInst *GuardDispatchLoad = B.CreateLoad(CalledOperandType, GuardFnGlobal); in insertCFGuardDispatch()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLowerAtomic.cpp30 LoadInst *Orig = Builder.CreateLoad(Val->getType(), Ptr); in LowerAtomicCmpXchgInst()
48 LoadInst *Orig = Builder.CreateLoad(Val->getType(), Ptr); in LowerAtomicRMWInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Frontend/OpenMP/
DOMPIRBuilder.cpp397 Instruction *PrivTID = Builder.CreateLoad(PrivTIDAddr, "tid"); in CreateParallel()
400 ToBeDeleted.push_back(Builder.CreateLoad(TIDAddr, "tid.addr.use")); in CreateParallel()
401 ToBeDeleted.push_back(Builder.CreateLoad(ZeroAddr, "zero.addr.use")); in CreateParallel()
579 Builder.CreateStore(Builder.CreateLoad(OutlinedAI), PrivTIDAddr); in CreateParallel()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86WinEHState.cpp329 Value *Val = Builder.CreateLoad(Int32Ty, Cookie, "cookie"); in emitExceptionRegistrationRecord()
336 Value *Val = Builder.CreateLoad(Int32Ty, Cookie); in emitExceptionRegistrationRecord()
432 Value *Next = Builder.CreateLoad(LinkTy->getPointerTo(), FSZero); in linkExceptionRegistration()
447 Value *Next = Builder.CreateLoad(LinkTy->getPointerTo(), in unlinkExceptionRegistration()
783 State = Builder.CreateLoad(Builder.getInt32Ty(), StateField); in addStateStores()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
DCoroCleanup.cpp52 auto *Load = Builder.CreateLoad(FrameTy->getElementType(Index), Gep); in lowerSubFn()
DCoroFrame.cpp649 : Builder.CreateLoad(FrameTy->getElementType(Index), G, in insertSpills()
787 auto *Value = Builder.CreateLoad(A); in insertSpills()
1204 auto ValueBeforeCall = Builder.CreateLoad(ValueTy, Alloca); in emitSetAndGetSwiftErrorValueAround()
1283 auto FinalValue = Builder.CreateLoad(ValueTy, Alloca); in eliminateSwiftErrorArgument()
DCoroSplit.cpp287 auto *Index = Builder.CreateLoad(Shape.getIndexType(), GepIndex, "index"); in createResumeEntryBlock()
387 auto *Load = Builder.CreateLoad(Shape.getSwitchResumePointerType(), in handleFinalSuspend()
537 MappedResult = Builder.CreateLoad(ValueTy, Slot); in replaceSwiftErrorOps()
633 return Builder.CreateLoad(FramePtrPtr); in deriveNewFramePointer()
DCoroEarly.cpp101 auto *Load = Builder.CreateLoad(BCI); in lowerCoroDone()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DSpeculation.cpp114 Mutator.CreateLoad(LoadValueTy, SpeculatorGuard, "guard.value"); in emit()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DIRBuilder.h1669 LoadInst *CreateLoad(Type *Ty, Value *Ptr, const char *Name) { in CreateLoad() function
1673 LoadInst *CreateLoad(Type *Ty, Value *Ptr, const Twine &Name = "") {
1677 LoadInst *CreateLoad(Type *Ty, Value *Ptr, bool isVolatile,
1683 LoadInst *CreateLoad(Value *Ptr, const char *Name) { in CreateLoad() function
1684 return CreateLoad(Ptr->getType()->getPointerElementType(), Ptr, Name); in CreateLoad()
1688 LoadInst *CreateLoad(Value *Ptr, const Twine &Name = "") {
1689 return CreateLoad(Ptr->getType()->getPointerElementType(), Ptr, Name);
1693 LoadInst *CreateLoad(Value *Ptr, bool isVolatile, const Twine &Name = "") {
1694 return CreateLoad(Ptr->getType()->getPointerElementType(), Ptr, isVolatile,
1713 LoadInst *LI = CreateLoad(Ty, Ptr, Name); in CreateAlignedLoad()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerEmscriptenEHSjLj.cpp440 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()
/third_party/spirv-tools/source/opt/
Dinterface_var_sroa.h265 Instruction* CreateLoad(uint32_t type_id, Instruction* ptr,
Dinterface_var_sroa.cpp640 return CreateLoad(component_type_id, ptr, insert_before); in LoadScalarVar()
643 Instruction* InterfaceVariableScalarReplacement::CreateLoad( in CreateLoad() function in spvtools::opt::InterfaceVariableScalarReplacement
721 return CreateLoad(component_type_id, ptr, insert_before); in LoadAccessChainToVar()

123