Home
last modified time | relevance | path

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

1234

/external/clang/lib/CodeGen/
DCGBlocks.cpp985 llvm::Value *Func = Builder.CreateLoad(FuncPtr); in EmitBlockCallExpr()
1017 addr = Builder.CreateLoad(addr); in GetAddrOfBlockDecl()
1025 addr = Builder.CreateLoad(addr, "byref.addr.forwarded"); in GetAddrOfBlockDecl()
1035 addr = Builder.CreateLoad(addr, "ref.tmp"); in GetAddrOfBlockDecl()
1195 CXXThisValue = Builder.CreateLoad(addr, "this"); in GenerateBlockFunction()
1341 src = Builder.CreateLoad(src); in GenerateCopyHelperFunction()
1345 dst = Builder.CreateLoad(dst); in GenerateCopyHelperFunction()
1420 llvm::Value *srcValue = Builder.CreateLoad(srcField, "blockcopy.src"); in GenerateCopyHelperFunction()
1514 src = Builder.CreateLoad(src); in GenerateDestroyHelperFunction()
1588 llvm::Value *value = Builder.CreateLoad(srcField); in GenerateDestroyHelperFunction()
[all …]
DCGException.cpp405 return Builder.CreateLoad(getExceptionSlot(), "exn"); in getExceptionFromSlot()
409 return Builder.CreateLoad(getEHSelectorSlot(), "sel"); in getSelectorFromSlot()
1005 CGF.Builder.CreateLoad(ForEHVar, "finally.endcatch"); in Emit()
1035 CGF.Builder.CreateLoad(CGF.getNormalCleanupDestSlot(), in Emit()
1048 CGF.Builder.CreateLoad(ForEHVar, "finally.shouldthrow"); in Emit()
1054 CGF.Builder.CreateLoad(SavedExnVar)); in Emit()
1570 llvm::Value *Ptrs = Builder.CreateLoad(GetAddrOfLocalVar(SEHPointersDecl)); in EmitSEHExceptionCodeSave()
1575 Rec = Builder.CreateLoad(Rec); in EmitSEHExceptionCodeSave()
1576 llvm::Value *Code = Builder.CreateLoad(Rec); in EmitSEHExceptionCodeSave()
1589 return Builder.CreateLoad(GetAddrOfLocalVar(SEHPointersDecl)); in EmitSEHExceptionInfo()
DTargetInfo.cpp1260 llvm::Value *Addr = Builder.CreateLoad(VAListAddrAsBPP, "ap.cur"); in EmitVAArg()
2780 CGF.Builder.CreateLoad(overflow_arg_area_p, "overflow_arg_area"); in EmitVAArgFromMemory()
2860 gp_offset = CGF.Builder.CreateLoad(gp_offset_p, "gp_offset"); in EmitVAArg()
2868 fp_offset = CGF.Builder.CreateLoad(fp_offset_p, "fp_offset"); in EmitVAArg()
2895 llvm::Value *RegAddr = CGF.Builder.CreateLoad( in EmitVAArg()
2915 CGF.Builder.CreateLoad(CGF.Builder.CreateBitCast(RegLoAddr, PTyLo)); in EmitVAArg()
2917 V = CGF.Builder.CreateLoad(CGF.Builder.CreateBitCast(RegHiAddr, PTyHi)); in EmitVAArg()
2953 V = CGF.Builder.CreateLoad(CGF.Builder.CreateBitCast(RegAddrLo, in EmitVAArg()
2956 V = CGF.Builder.CreateLoad(CGF.Builder.CreateBitCast(RegAddrHi, in EmitVAArg()
3086 llvm::Value *Addr = Builder.CreateLoad(VAListAddrAsBPP, "ap.cur"); in EmitVAArg()
[all …]
DCGCleanup.cpp80 return RValue::get(CGF.Builder.CreateLoad(Value)); in restore()
84 return RValue::getAggregate(CGF.Builder.CreateLoad(Value)); in restore()
87 CGF.Builder.CreateLoad(CGF.Builder.CreateStructGEP(nullptr, Value, 0)); in restore()
89 CGF.Builder.CreateLoad(CGF.Builder.CreateStructGEP(nullptr, Value, 1)); in restore()
490 = CGF.Builder.CreateLoad(ActiveFlag, "cleanup.is_active"); in EmitCleanup()
DCGObjC.cpp851 llvm::LoadInst *load = Builder.CreateLoad(ivarAddr, "load"); in generateObjCGetterBody()
877 Builder.CreateLoad(LocalDeclMap[getterMethod->getCmdDecl()], "cmd"); in generateObjCGetterBody()
1129 llvm::Value *load = Builder.CreateLoad(argAddr); in generateObjCSetterBody()
1165 Builder.CreateLoad(LocalDeclMap[setterMethod->getCmdDecl()]); in generateObjCSetterBody()
1171 arg = Builder.CreateBitCast(Builder.CreateLoad(arg, "arg"), VoidPtrTy); in generateObjCSetterBody()
1520 llvm::Value *StateMutationsPtr = Builder.CreateLoad(StateMutationsPtrPtr, in EmitObjCForCollectionStmt()
1524 Builder.CreateLoad(StateMutationsPtr, "forcoll.initial-mutations"); in EmitObjCForCollectionStmt()
1544 StateMutationsPtr = Builder.CreateLoad(StateMutationsPtrPtr, "mutationsptr"); in EmitObjCForCollectionStmt()
1546 = Builder.CreateLoad(StateMutationsPtr, "statemutations"); in EmitObjCForCollectionStmt()
1602 Builder.CreateLoad(StateItemsPtr, "stateitems"); in EmitObjCForCollectionStmt()
[all …]
DItaniumCXXABI.cpp469 llvm::Value *VirtualFn = Builder.CreateLoad(VTable, "memptr.virtualfn"); in EmitLoadOfMemberFunctionPointer()
889 llvm::LoadInst *Offset = CGF.Builder.CreateLoad(OffsetPtr); in emitVirtualObjectDelete()
1086 return CGF.Builder.CreateLoad(Value); in EmitTypeid()
1150 OffsetToTop = CGF.Builder.CreateLoad(OffsetToTop, "offset.to.top"); in EmitDynamicCastToVoid()
1183 CGF.Builder.CreateLoad(VBaseOffsetPtr, "vbase.offset"); in GetVirtualBaseClassOffset()
1260 getStructorImplicitParamValue(CGF) = CGF.Builder.CreateLoad( in EmitInstanceFunctionProlog()
1375 VTableAddressPoint = CGF.Builder.CreateLoad(VTT); in getVTableAddressPointInStructor()
1453 return CGF.Builder.CreateLoad(VFuncPtr); in getVirtualFunctionPointer()
1503 llvm::Value *VTablePtr = CGF.Builder.CreateLoad(VTablePtrPtr); in performTypeAdjustment()
1511 llvm::Value *Offset = CGF.Builder.CreateLoad(OffsetPtr); in performTypeAdjustment()
[all …]
DCGExpr.cpp603 llvm::Value *VPtrVal = Builder.CreateLoad(VPtrAddr); in EmitTypeCheck()
619 Builder.CreateLoad(Builder.CreateInBoundsGEP(Cache, Indices)); in EmitTypeCheck()
1146 llvm::Value *LoadVal = Builder.CreateLoad(Cast, Volatile, "loadVec4"); in EmitLoadOfScalar()
1171 llvm::LoadInst *Load = Builder.CreateLoad(Addr); in EmitLoadOfScalar()
1336 llvm::LoadInst *Load = Builder.CreateLoad(LV.getVectorAddr(), in EmitLoadOfLValue()
1363 llvm::Value *Val = Builder.CreateLoad(Ptr, LV.isVolatileQualified(), in EmitLoadOfBitfieldLValue()
1390 llvm::LoadInst *Load = Builder.CreateLoad(LV.getExtVectorAddr(), in EmitLoadOfExtVectorElementLValue()
1472 llvm::LoadInst *Load = Builder.CreateLoad(Dst.getVectorAddr(), in EmitStoreThroughLValue()
1577 llvm::Value *Val = Builder.CreateLoad(Ptr, Dst.isVolatileQualified(), in EmitStoreThroughBitfieldLValue()
1633 llvm::LoadInst *Load = Builder.CreateLoad(Dst.getExtVectorAddr(), in EmitStoreThroughExtVectorComponentLValue()
[all …]
/external/llvm/lib/Transforms/Scalar/
DLowerAtomic.cpp30 LoadInst *Orig = Builder.CreateLoad(Ptr); in LowerAtomicCmpXchgInst()
48 LoadInst *Orig = Builder.CreateLoad(Ptr); in LowerAtomicRMWInst()
DScalarReplAggregates.cpp636 Value *LoadedVal = Builder.CreateLoad(NewAI); in ConvertUsesToScalar()
647 Instruction *Old = Builder.CreateLoad(NewAI, NewAI->getName()+".in"); in ConvertUsesToScalar()
678 Instruction *Old = Builder.CreateLoad(NewAI, NewAI->getName()+".in"); in ConvertUsesToScalar()
717 LoadInst *SrcVal = Builder.CreateLoad(SrcPtr, "srcval"); in ConvertUsesToScalar()
724 LoadInst *SrcVal = Builder.CreateLoad(NewAI, "srcval"); in ConvertUsesToScalar()
1334 Builder.CreateLoad(SI->getTrueValue(), LI->getName()+".t"); in tryToMakeAllocaBePromotable()
1336 Builder.CreateLoad(SI->getFalseValue(), LI->getName()+".f"); in tryToMakeAllocaBePromotable()
1931 Value *Load = Builder.CreateLoad(NewElts[i], "load"); in RewriteForScalarRepl()
/external/llvm/lib/CodeGen/
DStackProtector.cpp355 LoadInst *LI = B.CreateLoad(StackGuardVar, "StackGuard"); in CreatePrologue()
453 LoadInst *LI1 = B.CreateLoad(StackGuardVar); in InsertStackProtectors()
454 LoadInst *LI2 = B.CreateLoad(AI); in InsertStackProtectors()
DShadowStackGCLowering.cpp405 Instruction *CurrentHead = AtEntry.CreateLoad(Head, "gc_currhead"); in runOnFunction()
446 Value *SavedHead = AtExit->CreateLoad(EntryNextPtr2, "gc_savedhead"); in runOnFunction()
DSjLjEHPrepare.cpp217 Value *ExnVal = Builder.CreateLoad(ExceptionAddr, true, "exn_val"); in setupFunctionContext()
222 Value *SelVal = Builder.CreateLoad(SelectorAddr, true, "exn_selector_val"); in setupFunctionContext()
/external/llvm/unittests/IR/
DIRBuilderTest.cpp137 F = Builder.CreateLoad(GV); in TEST_F()
213 Value *V = Builder.CreateLoad(G); in TEST_F()
280 Value *F = Builder.CreateLoad(GV); in TEST_F()
/external/llvm/lib/Transforms/Instrumentation/
DInstrProfiling.cpp149 llvm::Value *Count = Builder.CreateLoad(Addr, "pgocount"); in lowerIncrement()
294 auto *Load = IRB.CreateLoad(Var); in emitRuntimeHook()
DGCOVProfiling.cpp610 Value *Count = Builder.CreateLoad(Counter); in emitProfileArcs()
623 Value *Count = Builder.CreateLoad(Counter); in emitProfileArcs()
905 Value *Pred = Builder.CreateLoad(Arg, "pred"); in insertIndirectCounterIncrement()
917 Value *Counter = Builder.CreateLoad(GEP, "counter"); in insertIndirectCounterIncrement()
925 Value *Add = Builder.CreateAdd(Builder.CreateLoad(Counter), in insertIndirectCounterIncrement()
DSanitizerCoverage.cpp375 LoadInst *Load = IRB.CreateLoad(GuardP); in InjectCoverageAtBlock()
395 LoadInst *LI = IRB.CreateLoad(P); in InjectCoverageAtBlock()
/external/llvm/examples/BrainF/
DBrainF.cpp220 LoadInst *tape_0 = builder->CreateLoad(curhead, tapereg); in readloop()
272 LoadInst *tape_0 = builder->CreateLoad(curhead, tapereg); in readloop()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_misc.cpp211 return llvm::wrap(llvm::unwrap(B)->CreateLoad(llvm::unwrap(PointerVal), true, Name)); in lp_build_load_volatile()
/external/llvm/examples/ExceptionDemo/
DExceptionDemo.cpp1051 llvm::SwitchInst *theSwitch = builder.CreateSwitch(builder.CreateLoad( in createFinallyBlock()
1240 builder.CreateLoad(exceptionStorage)); in createCatchWrappedInvokeFunction()
1260 builder.CreateResume(builder.CreateLoad(caughtResultStorage)); in createCatchWrappedInvokeFunction()
1296 builder.CreateLoad(builder.CreateStructGEP( in createCatchWrappedInvokeFunction()
1348 *(builder.CreateLoad(typeInfoThrownType)), in createCatchWrappedInvokeFunction()
/external/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITTest.cpp104 Value *ReadGlobal = Builder.CreateLoad(GV); in TEST_F()
DMCJITMultipleModuleTest.cpp212 endFunctionWithRet(FA, Builder.CreateLoad(GVA)); in TEST_F()
214 endFunctionWithRet(FB, Builder.CreateLoad(GVB)); in TEST_F()
/external/llvm/lib/Target/R600/
DAMDGPUPromoteAlloca.cpp208 Value *VecValue = Builder.CreateLoad(BitCast); in tryPromoteAllocaToVector()
218 Value *VecValue = Builder.CreateLoad(BitCast); in tryPromoteAllocaToVector()
DSITypeRewriter.cpp88 LoadInst *Load = Builder.CreateLoad(BitCast); in visitLoadInst()
/external/llvm/lib/ExecutionEngine/Orc/
DIndirectionUtils.cpp46 LoadInst *ImplAddr = Builder.CreateLoad(&ImplPointer); in makeStub()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp380 B.CreateZExt(B.CreateLoad(Str2P, "strcmpload"), CI->getType())); in optimizeStrCmp()
383 return B.CreateZExt(B.CreateLoad(Str1P, "strcmpload"), CI->getType()); in optimizeStrCmp()
438 B.CreateZExt(B.CreateLoad(Str2P, "strcmpload"), CI->getType())); in optimizeStrNCmp()
441 return B.CreateZExt(B.CreateLoad(Str1P, "strcmpload"), CI->getType()); in optimizeStrNCmp()
572 return B.CreateZExt(B.CreateLoad(Src, "strlenfirst"), CI->getType()); in optimizeStrLen()
858 Value *LHSV = B.CreateZExt(B.CreateLoad(CastToCStr(LHS, B), "lhsc"), in optimizeMemCmp()
860 Value *RHSV = B.CreateZExt(B.CreateLoad(CastToCStr(RHS, B), "rhsc"), in optimizeMemCmp()
1828 Value *Char = B.CreateLoad(CastToCStr(CI->getArgOperand(0), B), "char"); in optimizeFWrite()

1234