/external/clang/lib/CodeGen/ |
D | CGClass.cpp | 730 llvm::Value *SrcPtr in EmitMemberInitializer() local 732 LValue ThisRHSLV = CGF.MakeNaturalAlignAddrLValue(SrcPtr, RecordTy); in EmitMemberInitializer() 1056 llvm::Value *SrcPtr = CGF.Builder.CreateLoad(CGF.GetAddrOfLocalVar(SrcRec)); in emitMemcpy() local 1057 LValue SrcLV = CGF.MakeNaturalAlignAddrLValue(SrcPtr, RecordTy); in emitMemcpy() 1075 void emitMemcpyIR(Address DestPtr, Address SrcPtr, CharUnits Size) { in emitMemcpyIR() argument 1081 llvm::PointerType *SPT = SrcPtr.getType(); in emitMemcpyIR() 1084 SrcPtr = CGF.Builder.CreateBitCast(SrcPtr, SBP); in emitMemcpyIR() 1086 CGF.Builder.CreateMemCpy(DestPtr, SrcPtr, Size.getQuantity()); in emitMemcpyIR() 1287 Expr *SrcPtr = CE->getArg(1); in getMemcpyableField() local 1288 if (ImplicitCastExpr *SC = dyn_cast<ImplicitCastExpr>(SrcPtr)) in getMemcpyableField() [all …]
|
D | CGExprAgg.cpp | 1460 Address SrcPtr, QualType Ty, in EmitAggregateCopy() argument 1545 SrcPtr = Builder.CreateElementBitCast(SrcPtr, Int8Ty); in EmitAggregateCopy() 1553 CGM.getObjCRuntime().EmitGCMemmoveCollectable(*this, DestPtr, SrcPtr, in EmitAggregateCopy() 1561 CGM.getObjCRuntime().EmitGCMemmoveCollectable(*this, DestPtr, SrcPtr, in EmitAggregateCopy() 1568 auto Inst = Builder.CreateMemCpy(DestPtr, SrcPtr, SizeVal, isVolatile); in EmitAggregateCopy()
|
D | CGExprComplex.cpp | 324 Address SrcPtr = lvalue.getAddress(); in EmitLoadOfLValue() local 330 Address RealP = CGF.emitAddrOfRealComponent(SrcPtr, lvalue.getType()); in EmitLoadOfLValue() 331 Real = Builder.CreateLoad(RealP, isVolatile, SrcPtr.getName() + ".real"); in EmitLoadOfLValue() 335 Address ImagP = CGF.emitAddrOfImagComponent(SrcPtr, lvalue.getType()); in EmitLoadOfLValue() 336 Imag = Builder.CreateLoad(ImagP, isVolatile, SrcPtr.getName() + ".imag"); in EmitLoadOfLValue()
|
D | CGDecl.cpp | 1267 Address SrcPtr = Address(GV, Loc.getAlignment()); in EmitAutoVarInit() local 1268 if (SrcPtr.getType() != BP) in EmitAutoVarInit() 1269 SrcPtr = Builder.CreateBitCast(SrcPtr, BP); in EmitAutoVarInit() 1271 Builder.CreateMemCpy(Loc, SrcPtr, SizeVal, isVolatile); in EmitAutoVarInit()
|
D | CGObjCRuntime.h | 272 Address SrcPtr,
|
D | CGCall.cpp | 1050 EnterStructPointerForCoercedAccess(Address SrcPtr, in EnterStructPointerForCoercedAccess() argument 1054 if (SrcSTy->getNumElements() == 0) return SrcPtr; in EnterStructPointerForCoercedAccess() 1066 return SrcPtr; in EnterStructPointerForCoercedAccess() 1069 SrcPtr = CGF.Builder.CreateStructGEP(SrcPtr, 0, CharUnits(), "coerce.dive"); in EnterStructPointerForCoercedAccess() 1072 llvm::Type *SrcTy = SrcPtr.getElementType(); in EnterStructPointerForCoercedAccess() 1074 return EnterStructPointerForCoercedAccess(SrcPtr, SrcSTy, DstSize, CGF); in EnterStructPointerForCoercedAccess() 1076 return SrcPtr; in EnterStructPointerForCoercedAccess()
|
D | CodeGenFunction.h | 1795 void EmitAggregateAssign(Address DestPtr, Address SrcPtr, in EmitAggregateAssign() argument 1798 EmitAggregateCopy(DestPtr, SrcPtr, EltTy, IsVolatile, true); in EmitAggregateAssign() 1801 void EmitAggregateCopyCtor(Address DestPtr, Address SrcPtr, in EmitAggregateCopyCtor() argument 1803 EmitAggregateCopy(DestPtr, SrcPtr, SrcTy, /*IsVolatile=*/false, in EmitAggregateCopyCtor() 1813 void EmitAggregateCopy(Address DestPtr, Address SrcPtr,
|
D | CodeGenFunction.cpp | 1498 Address SrcPtr(Builder.CreateBitCast(NullVariable, Builder.getInt8PtrTy()), in EmitNullInitialization() local 1501 if (vla) return emitNonZeroVLAInit(*this, Ty, DestPtr, SrcPtr, SizeVal); in EmitNullInitialization() 1504 Builder.CreateMemCpy(DestPtr, SrcPtr, SizeVal, false); in EmitNullInitialization()
|
D | CGObjCGNU.cpp | 572 Address SrcPtr, 2772 Address SrcPtr, in EmitGCMemmoveCollectable() argument 2776 SrcPtr = EnforceType(B, SrcPtr, PtrTy); in EmitGCMemmoveCollectable() 2779 {DestPtr.getPointer(), SrcPtr.getPointer(), Size}); in EmitGCMemmoveCollectable()
|
D | CGObjCMac.cpp | 4472 Address SrcPtr, in EmitGCMemmoveCollectable() argument 4474 SrcPtr = CGF.Builder.CreateBitCast(SrcPtr, ObjCTypes.Int8PtrTy); in EmitGCMemmoveCollectable() 4476 llvm::Value *args[] = { DestPtr.getPointer(), SrcPtr.getPointer(), size }; in EmitGCMemmoveCollectable() 7106 Address SrcPtr, in EmitGCMemmoveCollectable() argument 7108 SrcPtr = CGF.Builder.CreateBitCast(SrcPtr, ObjCTypes.Int8PtrTy); in EmitGCMemmoveCollectable() 7110 llvm::Value *args[] = { DestPtr.getPointer(), SrcPtr.getPointer(), Size }; in EmitGCMemmoveCollectable()
|
D | CGExprCXX.cpp | 411 Address SrcPtr = Address(CGF.EmitCastToVoidPtr(NullVariable), Align); in EmitNullBaseClassInitialization() local 420 CGF.Builder.CreateConstInBoundsByteGEP(SrcPtr, StoreOffset), in EmitNullBaseClassInitialization()
|
D | CGBuiltin.cpp | 496 Value *SrcPtr = EmitVAListRef(E->getArg(1)).getPointer(); in EmitBuiltinExpr() local 501 SrcPtr = Builder.CreateBitCast(SrcPtr, Type); in EmitBuiltinExpr() 503 {DstPtr, SrcPtr})); in EmitBuiltinExpr()
|
/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 499 auto *SrcPtr = CE->getOperand(0); in ConstantFoldLoadThroughBitcast() local 500 auto *SrcPtrTy = dyn_cast<PointerType>(SrcPtr->getType()); in ConstantFoldLoadThroughBitcast() 505 Constant *C = ConstantFoldLoadFromConstPtr(SrcPtr, SrcTy, DL); in ConstantFoldLoadThroughBitcast() 1213 Constant *SrcPtr = CE->getOperand(0); in ConstantFoldCastOperand() local 1214 unsigned SrcPtrSize = DL.getPointerTypeSizeInBits(SrcPtr->getType()); in ConstantFoldCastOperand() 1218 unsigned SrcAS = SrcPtr->getType()->getPointerAddressSpace(); in ConstantFoldCastOperand() 1854 auto *SrcPtr = Operands[0]; in ConstantFoldVectorCall() local 1858 Constant *VecData = ConstantFoldLoadFromConstPtr(SrcPtr, VTy, DL); in ConstantFoldVectorCall()
|
D | DependenceAnalysis.cpp | 3179 Value *SrcPtr = getPointerOperand(Src); in tryDelinearize() local 3187 SE->getSCEVAtScope(SrcPtr, SrcLoop); in tryDelinearize() 3305 Value *SrcPtr = getPointerOperand(Src); in depends() local 3309 SrcPtr)) { in depends() 3333 GEPOperator *SrcGEP = dyn_cast<GEPOperator>(SrcPtr); in depends() 3363 const SCEV *SrcSCEV = SE->getSCEV(SrcPtr); in depends() 3755 Value *SrcPtr = getPointerOperand(Src); in getSplitIteration() local 3758 SrcPtr) == MustAlias); in getSplitIteration() 3767 GEPOperator *SrcGEP = dyn_cast<GEPOperator>(SrcPtr); in getSplitIteration() 3791 const SCEV *SrcSCEV = SE->getSCEV(SrcPtr); in getSplitIteration()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 577 auto *SrcPtr = CE->getOperand(0); in ConstantFoldLoadThroughBitcastExpr() local 578 auto *SrcPtrTy = dyn_cast<PointerType>(SrcPtr->getType()); in ConstantFoldLoadThroughBitcastExpr() 583 Constant *C = ConstantFoldLoadFromConstPtr(SrcPtr, SrcTy, DL); in ConstantFoldLoadThroughBitcastExpr() 1305 Constant *SrcPtr = CE->getOperand(0); in ConstantFoldCastOperand() local 1306 unsigned SrcPtrSize = DL.getPointerTypeSizeInBits(SrcPtr->getType()); in ConstantFoldCastOperand() 1310 unsigned SrcAS = SrcPtr->getType()->getPointerAddressSpace(); in ConstantFoldCastOperand() 2026 auto *SrcPtr = Operands[0]; in ConstantFoldVectorCall() local 2030 Constant *VecData = ConstantFoldLoadFromConstPtr(SrcPtr, VTy, DL); in ConstantFoldVectorCall()
|
D | DependenceAnalysis.cpp | 3254 Value *SrcPtr = getLoadStorePointerOperand(Src); in tryDelinearize() local 3262 SE->getSCEVAtScope(SrcPtr, SrcLoop); in tryDelinearize() 3314 if (!isKnownNonNegative(SrcSubscripts[i], SrcPtr)) in tryDelinearize() 3395 Value *SrcPtr = getLoadStorePointerOperand(Src); in depends() local 3424 const SCEV *SrcSCEV = SE->getSCEV(SrcPtr); in depends() 3814 Value *SrcPtr = getLoadStorePointerOperand(Src); in getSplitIteration() local 3827 const SCEV *SrcSCEV = SE->getSCEV(SrcPtr); in getSplitIteration()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | ScalarReplAggregates.cpp | 616 Value *SrcPtr = MTI->getSource(); in ConvertUsesToScalar() local 617 PointerType* SPTy = cast<PointerType>(SrcPtr->getType()); in ConvertUsesToScalar() 623 SrcPtr = Builder.CreateBitCast(SrcPtr, AIPTy); in ConvertUsesToScalar() 625 LoadInst *SrcVal = Builder.CreateLoad(SrcPtr, "srcval"); in ConvertUsesToScalar()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 2919 Value *DestPtr, *SrcPtr; in visitMemTransferInst() local 2925 SrcPtr = OtherPtr; in visitMemTransferInst() 2930 SrcPtr = OurPtr; in visitMemTransferInst() 2933 CallInst *New = IRB.CreateMemCpy(DestPtr, DestAlign, SrcPtr, SrcAlign, in visitMemTransferInst() 2965 Value *SrcPtr = getAdjustedPtr(IRB, DL, OtherPtr, OtherOffset, OtherPtrTy, in visitMemTransferInst() local 2971 std::swap(SrcPtr, DstPtr); in visitMemTransferInst() 2985 LoadInst *Load = IRB.CreateAlignedLoad(SrcPtr, SrcAlign, II.isVolatile(), in visitMemTransferInst()
|
/external/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 2828 Value *SrcPtr = getAdjustedPtr(IRB, DL, OtherPtr, OtherOffset, OtherPtrTy, in visitMemTransferInst() local 2834 std::swap(SrcPtr, DstPtr); in visitMemTransferInst() 2849 IRB.CreateAlignedLoad(SrcPtr, SrcAlign, II.isVolatile(), "copyload"); in visitMemTransferInst()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | MemorySanitizer.cpp | 3031 Value *SrcPtr = IRB.CreateConstGEP1_32(IRB.getInt8Ty(), VAArgTLSCopy, in finalizeInstrumentation() local 3033 IRB.CreateMemCpy(OverflowArgAreaShadowPtr, SrcPtr, VAArgOverflowSize, 16); in finalizeInstrumentation()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | MemorySanitizer.cpp | 3435 Value *SrcPtr = IRB.CreateConstGEP1_32(IRB.getInt8Ty(), VAArgTLSCopy, in finalizeInstrumentation() local 3437 IRB.CreateMemCpy(OverflowArgAreaShadowPtr, Alignment, SrcPtr, Alignment, in finalizeInstrumentation()
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 9507 const PointerType *SrcPtr = Op->getType()->getAs<PointerType>(); in CheckCastAlign() local 9508 if (!SrcPtr) return; in CheckCastAlign() 9509 QualType SrcPointee = SrcPtr->getPointeeType(); in CheckCastAlign()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.cpp | 2839 SDValue SrcPtr = Op.getOperand(2); in lowerVACOPY() local 2844 return DAG.getMemcpy(Chain, DL, DstPtr, SrcPtr, DAG.getIntPtrConstant(32, DL), in lowerVACOPY()
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86ISelLowering.cpp | 9055 SDValue SrcPtr = Op.getOperand(1); in LowerVAARG() local 9090 InstOps.push_back(SrcPtr); in LowerVAARG() 9118 SDValue SrcPtr = Op.getOperand(2); in LowerVACOPY() local 9123 return DAG.getMemcpy(Chain, DL, DstPtr, SrcPtr, in LowerVACOPY()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/ |
D | SystemZISelLowering.cpp | 2973 SDValue SrcPtr = Op.getOperand(2); in lowerVACOPY() local 2978 return DAG.getMemcpy(Chain, DL, DstPtr, SrcPtr, DAG.getIntPtrConstant(32, DL), in lowerVACOPY()
|