reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/CodeGen/TargetInfo.cpp
 6689   llvm::Type *ArgTy = CGF.ConvertTypeForMem(Ty);
 6715   llvm::Type *IndexTy = CGF.Int64Ty;
 6724         CGF.Builder.CreateStructGEP(VAListAddr, 2, "overflow_arg_area_ptr");
 6726       Address(CGF.Builder.CreateLoad(OverflowArgAreaPtr, "overflow_arg_area"),
 6729       CGF.Builder.CreateElementBitCast(OverflowArgArea, DirectTy, "mem_addr");
 6733       CGF.Builder.CreateGEP(OverflowArgArea.getPointer(), PaddedSizeV,
 6735     CGF.Builder.CreateStore(NewOverflowArgArea, OverflowArgAreaPtr);
 6757       CGF.Builder.CreateStructGEP(VAListAddr, RegCountField, "reg_count_ptr");
 6758   llvm::Value *RegCount = CGF.Builder.CreateLoad(RegCountPtr, "reg_count");
 6760   llvm::Value *InRegs = CGF.Builder.CreateICmpULT(RegCount, MaxRegsV,
 6763   llvm::BasicBlock *InRegBlock = CGF.createBasicBlock("vaarg.in_reg");
 6764   llvm::BasicBlock *InMemBlock = CGF.createBasicBlock("vaarg.in_mem");
 6765   llvm::BasicBlock *ContBlock = CGF.createBasicBlock("vaarg.end");
 6766   CGF.Builder.CreateCondBr(InRegs, InRegBlock, InMemBlock);
 6769   CGF.EmitBlock(InRegBlock);
 6773     CGF.Builder.CreateMul(RegCount, PaddedSizeV, "scaled_reg_count");
 6778     CGF.Builder.CreateAdd(ScaledRegCount, RegBase, "reg_offset");
 6780       CGF.Builder.CreateStructGEP(VAListAddr, 3, "reg_save_area_ptr");
 6782     CGF.Builder.CreateLoad(RegSaveAreaPtr, "reg_save_area");
 6783   Address RawRegAddr(CGF.Builder.CreateGEP(RegSaveArea, RegOffset,
 6787     CGF.Builder.CreateElementBitCast(RawRegAddr, DirectTy, "reg_addr");
 6792     CGF.Builder.CreateAdd(RegCount, One, "reg_count");
 6793   CGF.Builder.CreateStore(NewRegCount, RegCountPtr);
 6794   CGF.EmitBranch(ContBlock);
 6797   CGF.EmitBlock(InMemBlock);
 6801       CGF.Builder.CreateStructGEP(VAListAddr, 2, "overflow_arg_area_ptr");
 6803     Address(CGF.Builder.CreateLoad(OverflowArgAreaPtr, "overflow_arg_area"),
 6806     CGF.Builder.CreateConstByteGEP(OverflowArgArea, Padding, "raw_mem_addr");
 6808     CGF.Builder.CreateElementBitCast(RawMemAddr, DirectTy, "mem_addr");
 6812     CGF.Builder.CreateGEP(OverflowArgArea.getPointer(), PaddedSizeV,
 6814   CGF.Builder.CreateStore(NewOverflowArgArea, OverflowArgAreaPtr);
 6815   CGF.EmitBranch(ContBlock);
 6818   CGF.EmitBlock(ContBlock);
 6819   Address ResAddr = emitMergePHI(CGF, RegAddr, InRegBlock,
 6823     ResAddr = Address(CGF.Builder.CreateLoad(ResAddr, "indirect_arg"),