Home
last modified time | relevance | path

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

12345678

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/
DOrderedInstructions.cpp48 LoadInst *LoadInstX = B.CreateLoad(PointerArg); in TEST()
49 LoadInst *LoadInstY = B.CreateLoad(PointerArg); in TEST()
54 LoadInst *LoadInstZ = B.CreateLoad(PointerArg); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DMemorySSA.cpp96 LoadInst *LoadInst = B.CreateLoad(PointerArg); in TEST_F()
142 LoadInst *FirstLoad = B.CreateLoad(PointerArg); in TEST_F()
166 LoadInst *SecondLoad = B.CreateLoad(PointerArg); in TEST_F()
232 LoadInst *LoadInst = B.CreateLoad(PointerArg); in TEST_F()
266 LoadInst *LoadInst1 = B.CreateLoad(PointerArg); in TEST_F()
314 B.CreateLoad(PointerArg); in TEST_F()
350 auto *MergeLoad = B.CreateLoad(PointerArg); in TEST_F()
396 auto *MergeLoad = B.CreateLoad(PointerArg); in TEST_F()
440 auto *MergeLoad = B.CreateLoad(PointerArg); in TEST_F()
494 LoadInst *LoadInst = B.CreateLoad(PointerArg); in TEST_F()
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dtuple_ops.cc43 b->CreateLoad(pred.GetBasePointer(), "load_predicate_value"); in EmitTupleSelect()
57 llvm::Value* on_true_element = b->CreateLoad( in EmitTupleSelect()
61 llvm::Value* on_false_element = b->CreateLoad( in EmitTupleSelect()
100 llvm::LoadInst* src_buffer = b->CreateLoad(element_ptr); in EmitGetTupleElement()
Dsort_util.cc125 llvm::Value* result = b->CreateLoad(compare_return_buffer); in EmitCompareLoopBody()
134 auto value1 = b->CreateLoad(values_to_compare[i * 2]); in EmitCompareLoopBody()
135 auto value2 = b->CreateLoad(values_to_compare[i * 2 + 1]); in EmitCompareLoopBody()
274 auto value = b->CreateLoad(b->CreateGEP( in EmitTiledCompareLoop()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp683 Value *Count = Builder.CreateLoad(Counter); in emitProfileArcs()
693 Value *Count = Builder.CreateLoad(Counter); in emitProfileArcs()
1063 {Builder.CreateLoad(Builder.CreateStructGEP(StartFileCallArgsPtr, 0)), in insertCounterWriteout()
1064 Builder.CreateLoad(Builder.CreateStructGEP(StartFileCallArgsPtr, 1)), in insertCounterWriteout()
1065 Builder.CreateLoad(Builder.CreateStructGEP(StartFileCallArgsPtr, 2))}); in insertCounterWriteout()
1069 Builder.CreateLoad(Builder.CreateStructGEP(FileInfoPtr, 1)); in insertCounterWriteout()
1071 Builder.CreateLoad(Builder.CreateStructGEP(FileInfoPtr, 2)); in insertCounterWriteout()
1073 Builder.CreateLoad(Builder.CreateStructGEP(FileInfoPtr, 3)); in insertCounterWriteout()
1085 {Builder.CreateLoad(Builder.CreateStructGEP(EmitFunctionCallArgsPtr, 0)), in insertCounterWriteout()
1086 Builder.CreateLoad(Builder.CreateStructGEP(EmitFunctionCallArgsPtr, 1)), in insertCounterWriteout()
[all …]
/external/clang/lib/CodeGen/
DCGBuilder.h70 llvm::LoadInst *CreateLoad(Address Addr, const llvm::Twine &Name = "") {
75 llvm::LoadInst *CreateLoad(Address Addr, const char *Name) { in CreateLoad() function
82 llvm::LoadInst *CreateLoad(Address Addr, bool IsVolatile,
129 return CGBuilderBaseTy::CreateLoad(Addr, false, Name);
133 return CGBuilderBaseTy::CreateLoad(Addr, false, Name); in CreateDefaultAlignedLoad()
137 return CGBuilderBaseTy::CreateLoad(Addr, IsVolatile, Name);
DCGBlocks.cpp820 byrefPointer = Builder.CreateLoad(src, "byref.capture"); in EmitBlockLiteral()
856 llvm::Value *value = Builder.CreateLoad(src, "block.captured_block"); in EmitBlockLiteral()
1019 addr = Address(Builder.CreateLoad(addr), byrefInfo.ByrefAlignment); in GetAddrOfBlockDecl()
1111 localAddr = Builder.CreateLoad(alloc); in setBlockContextParameter()
1220 CXXThisValue = Builder.CreateLoad(addr, "this"); in GenerateBlockFunction()
1365 src = Address(Builder.CreateLoad(src), blockInfo.BlockAlign); in GenerateCopyHelperFunction()
1369 dst = Address(Builder.CreateLoad(dst), blockInfo.BlockAlign); in GenerateCopyHelperFunction()
1442 llvm::Value *srcValue = Builder.CreateLoad(srcField, "blockcopy.src"); in GenerateCopyHelperFunction()
1540 src = Address(Builder.CreateLoad(src), blockInfo.BlockAlign); in GenerateDestroyHelperFunction()
1616 llvm::Value *value = Builder.CreateLoad(srcField); in GenerateDestroyHelperFunction()
[all …]
DCGAtomic.cpp364 llvm::Value *Expected = CGF.Builder.CreateLoad(Val1); in emitAtomicCmpXchg()
365 llvm::Value *Desired = CGF.Builder.CreateLoad(Val2); in emitAtomicCmpXchg()
540 llvm::LoadInst *Load = CGF.Builder.CreateLoad(Ptr); in EmitAtomicOp()
550 llvm::Value *LoadVal1 = CGF.Builder.CreateLoad(Val1); in EmitAtomicOp()
611 llvm::Value *LoadVal1 = CGF.Builder.CreateLoad(Val1); in EmitAtomicOp()
1180 return RValue::get(CGF.Builder.CreateLoad(addr)); in convertAtomicTempToRValue()
1257 llvm::LoadInst *Load = CGF.Builder.CreateLoad(Addr, "atomic-load"); in EmitAtomicLoadOp()
1409 return CGF.Builder.CreateLoad(Addr); in convertRValueToInt()
1559 auto *OldVal = CGF.Builder.CreateLoad(ExpectedAddr); in EmitAtomicUpdateLibcall()
1598 auto *DesiredVal = CGF.Builder.CreateLoad(NewAtomicIntAddr); in EmitAtomicUpdateOp()
[all …]
DTargetInfo.cpp283 llvm::Value *Ptr = CGF.Builder.CreateLoad(VAListAddr, "argp.cur"); in emitVoidPtrDirectVAArg()
351 Addr = Address(CGF.Builder.CreateLoad(Addr), ValueInfo.second); in emitVoidPtrVAArg()
3325 CGF.Builder.CreateLoad(overflow_arg_area_p, "overflow_arg_area"); in EmitX86_64VAArgFromMemory()
3397 gp_offset = CGF.Builder.CreateLoad(gp_offset_p, "gp_offset"); in EmitVAArg()
3406 fp_offset = CGF.Builder.CreateLoad(fp_offset_p, "fp_offset"); in EmitVAArg()
3433 llvm::Value *RegSaveArea = CGF.Builder.CreateLoad( in EmitVAArg()
3512 V = CGF.Builder.CreateLoad( in EmitVAArg()
3516 V = CGF.Builder.CreateLoad( in EmitVAArg()
3725 llvm::Value *NumRegs = Builder.CreateLoad(NumRegsAddr, "numUsedRegs"); in EmitVAArg()
3752 RegAddr = Address(Builder.CreateLoad(RegSaveAreaPtr), in EmitVAArg()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DExpandMemCmp.cpp217 Value *LoadSrc1 = Builder.CreateLoad(LoadSizeType, Source1); in emitLoadCompareByteBlock()
218 Value *LoadSrc2 = Builder.CreateLoad(LoadSizeType, Source2); in emitLoadCompareByteBlock()
297 LoadSrc1 = Builder.CreateLoad(LoadSizeType, Source1); in getCompareLoadPairs()
303 LoadSrc2 = Builder.CreateLoad(LoadSizeType, Source2); in getCompareLoadPairs()
412 Value *LoadSrc1 = Builder.CreateLoad(LoadSizeType, Source1); in emitLoadCompareBlock()
413 Value *LoadSrc2 = Builder.CreateLoad(LoadSizeType, Source2); in emitLoadCompareBlock()
533 Value *LoadSrc1 = Builder.CreateLoad(LoadSizeType, Source1); in getMemCmpOneBlock()
534 Value *LoadSrc2 = Builder.CreateLoad(LoadSizeType, Source2); in getMemCmpOneBlock()
DSafeStack.cpp372 return IRB.CreateLoad(StackGuardVar, "StackGuard"); in getStackGuard()
453 Value *CurrentTop = DynamicTop ? IRB.CreateLoad(DynamicTop) : StaticTop; in createStackRestorePoints()
462 Value *V = IRB.CreateLoad(StackGuardSlot); in checkStackGuard()
660 Value *SP = IRB.CreatePtrToInt(IRB.CreateLoad(UnsafeStackPtr), IntPtrTy); in moveDynamicAllocasToUnsafeStack()
698 Instruction *LI = IRB.CreateLoad(UnsafeStackPtr); in moveDynamicAllocasToUnsafeStack()
789 IRB.CreateLoad(UnsafeStackPtr, false, "unsafe_stack_ptr"); in run()
DStackProtector.cpp328 return B.CreateLoad(Guard, true, "StackGuard"); in getStackGuard()
414 LoadInst *Guard = B.CreateLoad(AI, true, "Guard"); in InsertStackProtectors()
470 LoadInst *LI2 = B.CreateLoad(AI, true); in InsertStackProtectors()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLowerMemIntrinsics.cpp76 Value *Load = LoopBuilder.CreateLoad(SrcGEP, SrcIsVolatile); in createMemCpyLoopKnownSize()
118 Value *Load = RBuilder.CreateLoad(SrcGEP, SrcIsVolatile); in createMemCpyLoopKnownSize()
185 Value *Load = LoopBuilder.CreateLoad(SrcGEP, SrcIsVolatile); in createMemCpyLoopUnknownSize()
238 Value *Load = ResBuilder.CreateLoad(SrcGEP, SrcIsVolatile); in createMemCpyLoopUnknownSize()
333 Value *Element = LoopBuilder.CreateLoad( in createMemMoveLoop()
350 Value *FwdElement = FwdLoopBuilder.CreateLoad( in createMemMoveLoop()
/external/llvm/unittests/Transforms/Utils/
DMemorySSA.cpp91 LoadInst *LoadInst = B.CreateLoad(PointerArg); in TEST_F()
128 LoadInst *LoadInst = B.CreateLoad(PointerArg); in TEST_F()
171 LoadInst *LoadInst = B.CreateLoad(PointerArg); in TEST_F()
261 Instruction *LI = B.CreateLoad(Alloca); in TEST_F()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLowerAtomic.cpp29 LoadInst *Orig = Builder.CreateLoad(Ptr); in LowerAtomicCmpXchgInst()
44 LoadInst *Orig = Builder.CreateLoad(Ptr); in LowerAtomicRMWInst()
/external/bcc/src/cc/frontends/b/
Dcodegen_llvm.cc270 LoadInst *load_1 = B.CreateLoad(it->second); in visit_ident_expr_node()
274 expr_ = B.CreateLoad(pop_expr()); in visit_ident_expr_node()
280 expr_ = n->is_lhs() ? it->second : (Value *)B.CreateLoad(it->second); in visit_ident_expr_node()
290 expr_ = B.CreateLoad(pop_expr()); in visit_ident_expr_node()
307 expr_ = B.CreateLoad(it->second); in visit_ident_expr_node()
377 LoadInst *offset_ptr = B.CreateLoad(offset_mem); in visit_packet_expr_node()
384 LoadInst *skb_ptr = B.CreateLoad(skb_mem); in visit_packet_expr_node()
386 LoadInst *offset_ptr = B.CreateLoad(offset_mem); in visit_packet_expr_node()
395 LoadInst *skb_ptr = B.CreateLoad(skb_mem); in visit_packet_expr_node()
397 LoadInst *offset_ptr = B.CreateLoad(offset_mem); in visit_packet_expr_node()
[all …]
/external/llvm/lib/CodeGen/
DSafeStack.cpp402 return IRB.CreateLoad(StackGuardVar, "StackGuard"); in getStackGuard()
483 Value *CurrentTop = DynamicTop ? IRB.CreateLoad(DynamicTop) : StaticTop; in createStackRestorePoints()
492 Value *V = IRB.CreateLoad(StackGuardSlot); in checkStackGuard()
688 Value *SP = IRB.CreatePtrToInt(IRB.CreateLoad(UnsafeStackPtr), IntPtrTy); in moveDynamicAllocasToUnsafeStack()
725 Instruction *LI = IRB.CreateLoad(UnsafeStackPtr); in moveDynamicAllocasToUnsafeStack()
794 IRB.CreateLoad(UnsafeStackPtr, false, "unsafe_stack_ptr"); in runOnFunction()
DStackProtector.cpp289 return B.CreateLoad(Guard, true, "StackGuard"); in getStackGuard()
371 LoadInst *Guard = B.CreateLoad(AI, true, "Guard"); in InsertStackProtectors()
427 LoadInst *LI2 = B.CreateLoad(AI, true); in InsertStackProtectors()
/external/llvm/lib/Target/NVPTX/
DNVPTXLowerAggrCopies.cpp91 LoopBuilder.CreateLoad(LoopBuilder.CreateInBoundsGEP( in convertMemCpyToLoop()
175 Value *Element = LoopBuilder.CreateLoad( in convertMemMoveToLoop()
192 Value *FwdElement = FwdLoopBuilder.CreateLoad( in convertMemMoveToLoop()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLowerAtomic.cpp30 LoadInst *Orig = Builder.CreateLoad(Ptr); in LowerAtomicCmpXchgInst()
48 LoadInst *Orig = Builder.CreateLoad(Ptr); in LowerAtomicRMWInst()
/external/llvm/lib/Transforms/Scalar/
DLowerAtomic.cpp31 LoadInst *Orig = Builder.CreateLoad(Ptr); in LowerAtomicCmpXchgInst()
49 LoadInst *Orig = Builder.CreateLoad(Ptr); in LowerAtomicRMWInst()
/external/llvm/lib/Target/X86/
DX86WinEHState.cpp334 Value *Val = Builder.CreateLoad(Int32Ty, Cookie, "cookie"); in emitExceptionRegistrationRecord()
341 Value *Val = Builder.CreateLoad(Int32Ty, Cookie); in emitExceptionRegistrationRecord()
432 Value *Next = Builder.CreateLoad(FSZero); in linkExceptionRegistration()
448 Builder.CreateLoad(Builder.CreateStructGEP(LinkTy, Link, 0)); in unlinkExceptionRegistration()
783 State = Builder.CreateLoad(StateField); in addStateStores()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86WinEHState.cpp340 Value *Val = Builder.CreateLoad(Int32Ty, Cookie, "cookie"); in emitExceptionRegistrationRecord()
347 Value *Val = Builder.CreateLoad(Int32Ty, Cookie); in emitExceptionRegistrationRecord()
440 Value *Next = Builder.CreateLoad(FSZero); in linkExceptionRegistration()
456 Builder.CreateLoad(Builder.CreateStructGEP(LinkTy, Link, 0)); in unlinkExceptionRegistration()
791 State = Builder.CreateLoad(StateField); in addStateStores()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/
DWebAssemblyLowerEmscriptenEHSjLj.cpp445 Value *Threw = IRB.CreateLoad(ThrewGV, ThrewGV->getName() + ".val"); in wrapInvoke()
548 IRB.CreateLoad(ThrewValueGV, ThrewValueGV->getName() + ".val"); in wrapTestSetjmp()
561 IRB.CreateLoad(ThrewInt, ThrewInt->getName() + ".loaded"); in wrapTestSetjmp()
590 LongjmpResult = IRB.CreateLoad(TempRet0GV, "longjmp_result"); in wrapTestSetjmp()
620 Value *Threw = IRB.CreateLoad(ThrewGV, ThrewGV->getName() + ".val"); in createSetThrewFunction()
912 IRB.CreateLoad(TempRet0GV, TempRet0GV->getName() + ".val"); in runEHOnFunction()
993 IRB.CreateLoad(TempRet0GV, "setjmpTableSize"); in runSjLjOnFunction()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineLoadStoreAlloca.cpp133 IC.Builder->CreateLoad(CastOp, LI.isVolatile(), CI->getName()); in InstCombineLoadCast()
226 LoadInst *V1 = Builder->CreateLoad(SI->getOperand(1), in visitLoadInst()
228 LoadInst *V2 = Builder->CreateLoad(SI->getOperand(2), in visitLoadInst()

12345678