/external/clang/lib/CodeGen/ |
D | CGCall.cpp | 830 EnterStructPointerForCoercedAccess(llvm::Value *SrcPtr, in EnterStructPointerForCoercedAccess() argument 834 if (SrcSTy->getNumElements() == 0) return SrcPtr; in EnterStructPointerForCoercedAccess() 846 return SrcPtr; in EnterStructPointerForCoercedAccess() 849 SrcPtr = CGF.Builder.CreateConstGEP2_32(SrcSTy, SrcPtr, 0, 0, "coerce.dive"); in EnterStructPointerForCoercedAccess() 853 cast<llvm::PointerType>(SrcPtr->getType())->getElementType(); in EnterStructPointerForCoercedAccess() 855 return EnterStructPointerForCoercedAccess(SrcPtr, SrcSTy, DstSize, CGF); in EnterStructPointerForCoercedAccess() 857 return SrcPtr; in EnterStructPointerForCoercedAccess() 920 static llvm::Value *CreateCoercedLoad(llvm::Value *SrcPtr, in CreateCoercedLoad() argument 924 cast<llvm::PointerType>(SrcPtr->getType())->getElementType(); in CreateCoercedLoad() 928 return CGF.Builder.CreateLoad(SrcPtr); in CreateCoercedLoad() [all …]
|
D | CGClass.cpp | 587 llvm::Value *SrcPtr in EmitMemberInitializer() local 589 LValue ThisRHSLV = CGF.MakeNaturalAlignAddrLValue(SrcPtr, RecordTy); in EmitMemberInitializer() 927 llvm::Value *SrcPtr = CGF.Builder.CreateLoad(CGF.GetAddrOfLocalVar(SrcRec)); in emitMemcpy() local 928 LValue SrcLV = CGF.MakeNaturalAlignAddrLValue(SrcPtr, RecordTy); in emitMemcpy() 947 void emitMemcpyIR(llvm::Value *DestPtr, llvm::Value *SrcPtr, in emitMemcpyIR() argument 954 llvm::PointerType *SPT = cast<llvm::PointerType>(SrcPtr->getType()); in emitMemcpyIR() 957 SrcPtr = CGF.Builder.CreateBitCast(SrcPtr, SBP); in emitMemcpyIR() 959 CGF.Builder.CreateMemCpy(DestPtr, SrcPtr, Size.getQuantity(), in emitMemcpyIR() 1161 Expr *SrcPtr = CE->getArg(1); in getMemcpyableField() local 1162 if (ImplicitCastExpr *SC = dyn_cast<ImplicitCastExpr>(SrcPtr)) in getMemcpyableField() [all …]
|
D | CGExprAgg.cpp | 1406 llvm::Value *SrcPtr, QualType Ty, in EmitAggregateCopy() argument 1469 llvm::PointerType *SPT = cast<llvm::PointerType>(SrcPtr->getType()); in EmitAggregateCopy() 1472 SrcPtr = Builder.CreateBitCast(SrcPtr, SBP); in EmitAggregateCopy() 1483 CGM.getObjCRuntime().EmitGCMemmoveCollectable(*this, DestPtr, SrcPtr, in EmitAggregateCopy() 1495 CGM.getObjCRuntime().EmitGCMemmoveCollectable(*this, DestPtr, SrcPtr, in EmitAggregateCopy() 1507 Builder.CreateMemCpy(DestPtr, SrcPtr, in EmitAggregateCopy()
|
D | CGExprComplex.cpp | 309 llvm::Value *SrcPtr = lvalue.getAddress(); in EmitLoadOfLValue() local 320 llvm::Value *RealP = Builder.CreateStructGEP(nullptr, SrcPtr, 0, in EmitLoadOfLValue() 321 SrcPtr->getName() + ".realp"); in EmitLoadOfLValue() 323 SrcPtr->getName() + ".real"); in EmitLoadOfLValue() 327 llvm::Value *ImagP = Builder.CreateStructGEP(nullptr, SrcPtr, 1, in EmitLoadOfLValue() 328 SrcPtr->getName() + ".imagp"); in EmitLoadOfLValue() 330 SrcPtr->getName() + ".imag"); in EmitLoadOfLValue()
|
D | CGDecl.cpp | 1180 llvm::Value *SrcPtr = GV; in EmitAutoVarInit() local 1181 if (SrcPtr->getType() != BP) in EmitAutoVarInit() 1182 SrcPtr = Builder.CreateBitCast(SrcPtr, BP); in EmitAutoVarInit() 1184 Builder.CreateMemCpy(Loc, SrcPtr, SizeVal, alignment.getQuantity(), in EmitAutoVarInit()
|
D | CGObjCRuntime.h | 263 llvm::Value *SrcPtr,
|
D | CodeGenFunction.h | 1539 void EmitAggregateAssign(llvm::Value *DestPtr, llvm::Value *SrcPtr, in EmitAggregateAssign() argument 1542 EmitAggregateCopy(DestPtr, SrcPtr, EltTy, IsVolatile, CharUnits::Zero(), in EmitAggregateAssign() 1546 void EmitAggregateCopyCtor(llvm::Value *DestPtr, llvm::Value *SrcPtr, in EmitAggregateCopyCtor() argument 1550 EmitAggregateCopy(DestPtr, SrcPtr, SrcTy, /*IsVolatile=*/false, in EmitAggregateCopyCtor() 1561 void EmitAggregateCopy(llvm::Value *DestPtr, llvm::Value *SrcPtr, 2645 void EmitGCMemmoveCollectable(llvm::Value *DestPtr, llvm::Value *SrcPtr,
|
D | CodeGenFunction.cpp | 1324 llvm::Value *SrcPtr = in EmitNullInitialization() local 1327 if (vla) return emitNonZeroVLAInit(*this, Ty, DestPtr, SrcPtr, SizeVal); in EmitNullInitialization() 1330 Builder.CreateMemCpy(DestPtr, SrcPtr, SizeVal, Align.getQuantity(), false); in EmitNullInitialization()
|
D | CGObjCGNU.cpp | 546 llvm::Value *SrcPtr, 2733 llvm::Value *SrcPtr, in EmitGCMemmoveCollectable() argument 2737 SrcPtr = EnforceType(B, SrcPtr, PtrTy); in EmitGCMemmoveCollectable() 2739 B.CreateCall3(MemMoveFn, DestPtr, SrcPtr, Size); in EmitGCMemmoveCollectable()
|
D | CGObjCMac.cpp | 4190 llvm::Value *SrcPtr, in EmitGCMemmoveCollectable() argument 4192 SrcPtr = CGF.Builder.CreateBitCast(SrcPtr, ObjCTypes.Int8PtrTy); in EmitGCMemmoveCollectable() 4194 llvm::Value *args[] = { DestPtr, SrcPtr, size }; in EmitGCMemmoveCollectable() 6833 llvm::Value *SrcPtr, in EmitGCMemmoveCollectable() argument 6835 SrcPtr = CGF.Builder.CreateBitCast(SrcPtr, ObjCTypes.Int8PtrTy); in EmitGCMemmoveCollectable() 6837 llvm::Value *args[] = { DestPtr, SrcPtr, Size }; in EmitGCMemmoveCollectable()
|
D | CGExprCXX.cpp | 378 llvm::Value *SrcPtr = CGF.EmitCastToVoidPtr(NullVariable); in EmitNullBaseClassInitialization() local 381 CGF.Builder.CreateMemCpy(DestPtr, SrcPtr, SizeVal, Align.getQuantity()); in EmitNullBaseClassInitialization()
|
D | CGBuiltin.cpp | 251 Value *SrcPtr = EmitVAListRef(E->getArg(1)); in EmitBuiltinExpr() local 256 SrcPtr = Builder.CreateBitCast(SrcPtr, Type); in EmitBuiltinExpr() 258 DstPtr, SrcPtr)); in EmitBuiltinExpr()
|
/external/llvm/lib/Analysis/ |
D | DependenceAnalysis.cpp | 3312 Value *SrcPtr = getPointerOperand(Src); in depends() local 3316 SrcPtr)) { in depends() 3340 GEPOperator *SrcGEP = dyn_cast<GEPOperator>(SrcPtr); in depends() 3370 const SCEV *SrcSCEV = SE->getSCEV(SrcPtr); in depends() 3760 Value *SrcPtr = getPointerOperand(Src); in getSplitIteration() local 3763 SrcPtr) == AliasAnalysis::MustAlias); in getSplitIteration() 3772 GEPOperator *SrcGEP = dyn_cast<GEPOperator>(SrcPtr); in getSplitIteration() 3796 const SCEV *SrcSCEV = SE->getSCEV(SrcPtr); in getSplitIteration()
|
D | ConstantFolding.cpp | 1055 Constant *SrcPtr = CE->getOperand(0); in ConstantFoldInstOperands() local 1056 unsigned SrcPtrSize = DL.getPointerTypeSizeInBits(SrcPtr->getType()); in ConstantFoldInstOperands() 1060 unsigned SrcAS = SrcPtr->getType()->getPointerAddressSpace(); in ConstantFoldInstOperands()
|
/external/llvm/lib/Transforms/Scalar/ |
D | ScalarReplAggregates.cpp | 708 Value *SrcPtr = MTI->getSource(); in ConvertUsesToScalar() local 709 PointerType* SPTy = cast<PointerType>(SrcPtr->getType()); in ConvertUsesToScalar() 715 SrcPtr = Builder.CreateBitCast(SrcPtr, AIPTy); in ConvertUsesToScalar() 717 LoadInst *SrcVal = Builder.CreateLoad(SrcPtr, "srcval"); in ConvertUsesToScalar()
|
D | SROA.cpp | 2999 Value *SrcPtr = getAdjustedPtr(IRB, DL, OtherPtr, OtherOffset, OtherPtrTy, in visitMemTransferInst() local 3005 std::swap(SrcPtr, DstPtr); in visitMemTransferInst() 3020 IRB.CreateAlignedLoad(SrcPtr, SrcAlign, II.isVolatile(), "copyload"); in visitMemTransferInst()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | MemorySanitizer.cpp | 2847 Value *SrcPtr = IRB.CreateConstGEP1_32(IRB.getInt8Ty(), VAArgTLSCopy, in finalizeInstrumentation() local 2849 IRB.CreateMemCpy(OverflowArgAreaShadowPtr, SrcPtr, VAArgOverflowSize, 16); in finalizeInstrumentation()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.cpp | 2218 SDValue SrcPtr = Op.getOperand(2); in lowerVACOPY() local 2223 return DAG.getMemcpy(Chain, DL, DstPtr, SrcPtr, DAG.getIntPtrConstant(32), in lowerVACOPY()
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 7849 const PointerType *SrcPtr = Op->getType()->getAs<PointerType>(); in CheckCastAlign() local 7850 if (!SrcPtr) return; in CheckCastAlign() 7851 QualType SrcPointee = SrcPtr->getPointeeType(); in CheckCastAlign()
|
/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 14446 SDValue SrcPtr = Op.getOperand(1); in LowerVAARG() local 14479 SDValue InstOps[] = {Chain, SrcPtr, DAG.getConstant(ArgSize, MVT::i32), in LowerVAARG() 14506 SDValue SrcPtr = Op.getOperand(2); in LowerVACOPY() local 14511 return DAG.getMemcpy(Chain, DL, DstPtr, SrcPtr, in LowerVACOPY()
|