Lines Matching refs:SrcPtr
530 EnterStructPointerForCoercedAccess(llvm::Value *SrcPtr,
534 if (SrcSTy->getNumElements() == 0) return SrcPtr;
544 return SrcPtr;
547 SrcPtr = CGF.Builder.CreateConstGEP2_32(SrcPtr, 0, 0, "coerce.dive");
551 cast<llvm::PointerType>(SrcPtr->getType())->getElementType();
553 return EnterStructPointerForCoercedAccess(SrcPtr, SrcSTy, DstSize, CGF);
555 return SrcPtr;
590 /// CreateCoercedLoad - Create a load from \arg SrcPtr interpreted as
596 static llvm::Value *CreateCoercedLoad(llvm::Value *SrcPtr,
600 cast<llvm::PointerType>(SrcPtr->getType())->getElementType();
604 return CGF.Builder.CreateLoad(SrcPtr);
609 SrcPtr = EnterStructPointerForCoercedAccess(SrcPtr, SrcSTy, DstSize, CGF);
610 SrcTy = cast<llvm::PointerType>(SrcPtr->getType())->getElementType();
619 llvm::LoadInst *Load = CGF.Builder.CreateLoad(SrcPtr);
632 CGF.Builder.CreateBitCast(SrcPtr, llvm::PointerType::getUnqual(Ty));
645 CGF.Builder.CreateStore(CGF.Builder.CreateLoad(SrcPtr), Casted);
1981 llvm::Value *SrcPtr;
1983 SrcPtr = CreateMemTemp(I->Ty, "coerce");
1984 EmitStoreOfScalar(RV.getScalarVal(), SrcPtr, false, TypeAlign, I->Ty);
1986 SrcPtr = CreateMemTemp(I->Ty, "coerce");
1987 StoreComplexToAddr(RV.getComplexVal(), SrcPtr, false);
1989 SrcPtr = RV.getAggregateAddr();
1993 SrcPtr = Builder.CreateBitCast(SrcPtr, Builder.getInt8PtrTy());
1994 SrcPtr = Builder.CreateConstGEP1_32(SrcPtr, Offs);
1995 SrcPtr = Builder.CreateBitCast(SrcPtr,
2005 SrcPtr = Builder.CreateBitCast(SrcPtr,
2008 llvm::Value *EltPtr = Builder.CreateConstGEP2_32(SrcPtr, 0, i);
2019 Args.push_back(CreateCoercedLoad(SrcPtr, ArgInfo.getCoerceToType(),