/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/X86/ |
H A D | X86WinEHState.cpp | 287 Builder.CreateStore(SP, Builder.CreateStructGEP(RegNodeTy, RegNode, 0)); in emitExceptionRegistrationRecord() 294 Link = Builder.CreateStructGEP(RegNodeTy, RegNode, 1); in emitExceptionRegistrationRecord() 317 Builder.CreateStore(SP, Builder.CreateStructGEP(RegNodeTy, RegNode, 0)); in emitExceptionRegistrationRecord() 332 Builder.CreateStore(LSDA, Builder.CreateStructGEP(RegNodeTy, RegNode, 3)); in emitExceptionRegistrationRecord() 349 Link = Builder.CreateStructGEP(RegNodeTy, RegNode, 2); in emitExceptionRegistrationRecord() 428 Builder.CreateStore(HandlerI8, Builder.CreateStructGEP(LinkTy, Link, 1)); in linkExceptionRegistration() 433 Builder.CreateStore(Next, Builder.CreateStructGEP(LinkTy, Link, 0)); in linkExceptionRegistration() 448 Builder.CreateStructGEP(LinkTy, Link, 0)); in unlinkExceptionRegistration() 774 Value *StateField = Builder.CreateStructGEP(RegNode->getAllocatedType(), in addStateStores() 786 Value *StateField = Builder.CreateStructGEP(RegNode->getAllocatedType(), in insertStateNumberStore()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/ |
H A D | GCOVProfiling.cpp | 1274 Builder.CreateStructGEP(FileInfoTy, FileInfoPtr, 0, "start_file_args"); in insertCounterWriteout() 1278 Builder.CreateStructGEP(StartFileCallArgsTy, in insertCounterWriteout() 1282 Builder.CreateStructGEP(StartFileCallArgsTy, in insertCounterWriteout() 1286 Builder.CreateStructGEP(StartFileCallArgsTy, in insertCounterWriteout() 1293 Builder.CreateStructGEP(FileInfoTy, FileInfoPtr, 1), "num_ctrs"); in insertCounterWriteout() 1296 Builder.CreateStructGEP(FileInfoTy, FileInfoPtr, 2), in insertCounterWriteout() 1300 Builder.CreateStructGEP(FileInfoTy, FileInfoPtr, 3), "emit_arcs_args"); in insertCounterWriteout() 1314 Builder.CreateStructGEP(EmitFunctionCallArgsTy, in insertCounterWriteout() 1318 Builder.CreateStructGEP(EmitFunctionCallArgsTy, in insertCounterWriteout() 1322 Builder.CreateStructGEP(EmitFunctionCallArgsTy, in insertCounterWriteout() [all …]
|
H A D | DataFlowSanitizer.cpp | 3008 auto *LabelVAPtr = IRB.CreateStructGEP(LabelVATy, LabelVAAlloca, N); in addShadowArguments() 3013 Args.push_back(IRB.CreateStructGEP(LabelVATy, LabelVAAlloca, 0)); in addShadowArguments() 3047 auto *OriginVAPtr = IRB.CreateStructGEP(OriginVATy, OriginVAAlloca, N); in addOriginArguments() 3051 Args.push_back(IRB.CreateStructGEP(OriginVATy, OriginVAAlloca, 0)); in addOriginArguments()
|
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
H A D | CGBuilder.h | 187 using CGBuilderBaseTy::CreateStructGEP; 188 Address CreateStructGEP(Address Addr, unsigned Index, 195 return Address(CreateStructGEP(Addr.getElementType(),
|
H A D | CGBlocks.cpp | 852 return Builder.CreateStructGEP(blockAddr, index, name); in EmitBlockLiteral() 938 src = Builder.CreateStructGEP(LoadBlockStruct(), in EmitBlockLiteral() 1207 llvm::Value *FuncPtr = Builder.CreateStructGEP(GenBlockTy, BlockPtr, 2); in EmitBlockCallExpr() 1216 llvm::Value *FuncPtr = Builder.CreateStructGEP(GenBlockTy, BlockPtr, 3); in EmitBlockCallExpr() 1252 Address addr = Builder.CreateStructGEP(LoadBlockStruct(), capture.getIndex(), in GetAddrOfBlockDecl() 1378 b.CreateStructGEP(literal, 0), in buildGlobalBlock() 1538 Address addr = Builder.CreateStructGEP( in GenerateBlockFunction() 1985 Address srcField = Builder.CreateStructGEP(src, index); in GenerateCopyHelperFunction() 1986 Address dstField = Builder.CreateStructGEP(dst, index); in GenerateCopyHelperFunction() 2178 Address srcField = Builder.CreateStructGEP(src, capture.getIndex()); in GenerateDestroyHelperFunction() [all …]
|
H A D | CGGPUBuiltin.cpp | 112 llvm::Value *P = Builder.CreateStructGEP(AllocaTy, Alloca, I - 1); in EmitNVPTXDevicePrintfCallExpr()
|
H A D | CGCleanup.cpp | 55 CGF.Builder.CreateStore(V.first, CGF.Builder.CreateStructGEP(addr, 0)); in save() 56 CGF.Builder.CreateStore(V.second, CGF.Builder.CreateStructGEP(addr, 1)); in save() 95 CGF.Builder.CreateLoad(CGF.Builder.CreateStructGEP(address, 0)); in restore() 97 CGF.Builder.CreateLoad(CGF.Builder.CreateStructGEP(address, 1)); in restore()
|
H A D | CGCall.cpp | 1157 SrcPtr = CGF.Builder.CreateStructGEP(SrcPtr, 0, "coerce.dive"); in EnterStructPointerForCoercedAccess() 1302 Address EltPtr = Builder.CreateStructGEP(Dest, i); in EmitAggregateStore() 2667 Builder.CreateStructGEP(ArgStruct, FieldIndex, Arg->getName()); in EmitFunctionProlog() 2896 Address EltPtr = Builder.CreateStructGEP(AddrToStoreInto, i); in EmitFunctionProlog() 2939 auto eltAddr = Builder.CreateStructGEP(alloca, i); in EmitFunctionProlog() 3434 llvm::Value *SRet = Builder.CreateStructGEP( in EmitFunctionEpilog() 3539 auto eltAddr = Builder.CreateStructGEP(addr, i); in EmitFunctionEpilog() 4691 Builder.CreateStructGEP(ArgMemory, RetAI.getInAllocaFieldIndex()); in EmitCall() 4736 Addr = Builder.CreateStructGEP(ArgMemory, in EmitCall() 4744 Address ArgSlot = Builder.CreateStructGEP( in EmitCall() [all …]
|
H A D | TargetInfo.cpp | 3941 CGF.Builder.CreateStructGEP(VAListAddr, 2, "overflow_arg_area_p"); in EmitX86_64VAArgFromMemory() 4012 gp_offset_p = CGF.Builder.CreateStructGEP(VAListAddr, 0, "gp_offset_p"); in EmitVAArg() 4019 fp_offset_p = CGF.Builder.CreateStructGEP(VAListAddr, 1, "fp_offset_p"); in EmitVAArg() 4048 CGF.Builder.CreateStructGEP(VAListAddr, 3), "reg_save_area"); in EmitVAArg() 4074 CGF.Builder.CreateStore(V, CGF.Builder.CreateStructGEP(Tmp, 0)); in EmitVAArg() 4080 CGF.Builder.CreateStore(V, CGF.Builder.CreateStructGEP(Tmp, 1)); in EmitVAArg() 4126 CGF.Builder.CreateStore(V, CGF.Builder.CreateStructGEP(Tmp, 0)); in EmitVAArg() 4129 CGF.Builder.CreateStore(V, CGF.Builder.CreateStructGEP(Tmp, 1)); in EmitVAArg() 4731 NumRegsAddr = Builder.CreateStructGEP(VAList, 0, "gpr"); in EmitVAArg() 4733 NumRegsAddr = Builder.CreateStructGEP(VAList, 1, "fpr"); in EmitVAArg() [all …]
|
H A D | CGObjCGNU.cpp | 783 IMPTy, Builder.CreateStructGEP(nullptr, slot, 4), in LookupIMP() 803 IMPTy, Builder.CreateStructGEP(nullptr, slot, 4), in LookupIMPSuper() 1658 b.CreateStructGEP(lateInit.second.first, lateInit.second.second), in ModuleInitFunction() 2592 ReceiverClass = Builder.CreateStructGEP(CastTy, ReceiverClass, 1); in GenerateMessageSendSuper() 2604 Builder.CreateStore(Receiver, Builder.CreateStructGEP(ObjCSuper, 0)); in GenerateMessageSendSuper() 2605 Builder.CreateStore(ReceiverClass, Builder.CreateStructGEP(ObjCSuper, 1)); in GenerateMessageSendSuper()
|
H A D | CGExprComplex.cpp | 339 return Builder.CreateStructGEP(addr, 0, addr.getName() + ".realp"); in emitAddrOfRealComponent() 344 return Builder.CreateStructGEP(addr, 1, addr.getName() + ".imagp"); in emitAddrOfImagComponent()
|
H A D | CGObjCMac.cpp | 2096 CGF.Builder.CreateStructGEP(ObjCSuper, 0)); in GenerateMessageSendSuper() 2110 Target = CGF.Builder.CreateStructGEP(ObjCTypes.ClassTy, Target, 0); in GenerateMessageSendSuper() 2116 CGF.Builder.CreateStructGEP(ObjCTypes.ClassTy, MetaClassPtr, 1); in GenerateMessageSendSuper() 2125 ClassPtr = CGF.Builder.CreateStructGEP(ObjCTypes.ClassTy, ClassPtr, 1); in GenerateMessageSendSuper() 2134 CGF.Builder.CreateStore(Target, CGF.Builder.CreateStructGEP(ObjCSuper, 1)); in GenerateMessageSendSuper() 7393 Address calleeAddr = CGF.Builder.CreateStructGEP(mref, 0); in EmitVTableMessageSend() 7627 CGF.Builder.CreateStructGEP(ObjCSuper, 0)); in GenerateMessageSendSuper() 7641 CGF.Builder.CreateStore(Target, CGF.Builder.CreateStructGEP(ObjCSuper, 1)); in GenerateMessageSendSuper()
|
H A D | CGExprAgg.cpp | 800 CGF.Builder.CreateStructGEP(valueDest.getAddress(), 0); in VisitCastExpr() 820 Address valueAddr = Builder.CreateStructGEP(atomicSlot.getAddress(), 0); in VisitCastExpr()
|
H A D | CGAtomic.cpp | 204 addr = CGF.Builder.CreateStructGEP(addr, 0); in projectValue() 1444 addr = CGF.Builder.CreateStructGEP(addr, 0); in convertAtomicTempToRValue()
|
H A D | CGObjC.cpp | 1818 Builder.CreateStructGEP(StatePtr, 2, "mutationsptr.ptr"); in EmitObjCForCollectionStmt() 1901 Builder.CreateStructGEP(StatePtr, 1, "stateitems.ptr"); in EmitObjCForCollectionStmt()
|
H A D | CGException.cpp | 2116 llvm::Value *Rec = Builder.CreateStructGEP(PtrsTy, Ptrs, 0); in EmitSEHExceptionCodeSave()
|
H A D | CodeGenFunction.cpp | 1071 llvm::Value *Addr = Builder.CreateStructGEP(nullptr, &*EI, Idx); in StartFunction()
|
H A D | CGDecl.cpp | 1221 Address EltPtr = Builder.CreateStructGEP(Loc, i); in emitStoresForConstant()
|
H A D | CGExpr.cpp | 4241 return CGF.Builder.CreateStructGEP(base, idx, field->getName()); in emitAddrOfFieldStorage() 4298 Addr = Builder.CreateStructGEP(Addr, Idx, field->getName()); in EmitLValueForField()
|
H A D | CGBuiltin.cpp | 2019 FieldPtr = CGF.Builder.CreateStructGEP(CGF.ConvertType(RType), FieldPtr, in dumpRecord()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Coroutines/ |
H A D | CoroSplit.cpp | 347 auto *GepIndex = Builder.CreateStructGEP( in createResumeEntryBlock() 366 auto *GepIndex = Builder.CreateStructGEP(FrameTy, FramePtr, in createResumeEntryBlock() 373 auto *GepIndex = Builder.CreateStructGEP( in createResumeEntryBlock() 446 auto *GepIndex = Builder.CreateStructGEP(Shape.FrameTy, NewFramePtr, in handleFinalSuspend() 1087 auto *ResumeAddr = Builder.CreateStructGEP( in updateCoroFrame() 1101 auto *DestroyAddr = Builder.CreateStructGEP( in updateCoroFrame()
|
/netbsd-src/external/apache2/llvm/dist/llvm/examples/ExceptionDemo/ |
H A D | ExceptionDemo.cpp | 1245 builder.CreateLoad(builder.CreateStructGEP( in createCatchWrappedInvokeFunction() 1289 typeInfoThrown = builder.CreateStructGEP(ourExceptionType, typeInfoThrown, 0); in createCatchWrappedInvokeFunction() 1292 builder.CreateStructGEP(builder.getInt8PtrTy(), typeInfoThrown, 0); in createCatchWrappedInvokeFunction()
|
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/ |
H A D | IRBuilder.h | 1942 Value *CreateStructGEP(Type *Ty, Value *Ptr, unsigned Idx, 1947 Value *CreateStructGEP(Value *Ptr, unsigned Idx, const Twine &Name = "") {
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
H A D | Core.cpp | 3684 return wrap(unwrap(B)->CreateStructGEP(Ty, Val, Idx, Name)); in LLVMBuildStructGEP() 3691 unwrap(B)->CreateStructGEP(unwrap(Ty), unwrap(Pointer), Idx, Name)); in LLVMBuildStructGEP2()
|
/netbsd-src/external/apache2/llvm/dist/llvm/bindings/go/llvm/ |
H A D | ir.go | 1665 func (b Builder) CreateStructGEP(p Value, i int, name string) (v Value) { func
|