Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:RV

1836   llvm::Value *RV = nullptr;
1851 RV = Builder.CreateLoad(SRet, "sret");
1896 RV = SI->getValueOperand();
1907 RV = Builder.CreateLoad(ReturnValue);
1919 RV = CreateCoercedLoad(V, RetAI.getCoerceToType(), *this);
1928 RV = emitAutoreleaseOfResult(*this, RV);
1940 llvm::Instruction *Ret = RV ? Builder.CreateRet(RV) : Builder.CreateRetVoid();
1996 RValue RV = Slot.asRValue();
1997 args.add(RV, type);
2364 RValue RV = Slot.asRValue();
2365 args.add(RV, type);
2523 void CodeGenFunction::ExpandTypeToArgs(QualType Ty, RValue RV,
2529 llvm::Value *Addr = RV.getAggregateAddr();
2537 assert(RV.isAggregate() && "Unexpected rvalue during struct expansion");
2538 LValue LV = MakeAddrLValue(RV.getAggregateAddr(), Ty);
2564 ComplexPairTy CV = RV.getComplexVal();
2568 assert(RV.isScalar() &&
2572 llvm::Value *V = RV.getScalarVal();
2662 RValue RV = I->RV;
2679 if (RV.isAggregate()) {
2682 cast<llvm::Instruction>(RV.getAggregateAddr());
2701 EmitInitStoreOfNonAggregate(*this, RV, argLV);
2707 if (RV.isScalar() || RV.isComplex()) {
2715 EmitInitStoreOfNonAggregate(*this, RV, argLV);
2724 // 2. If the argument is byval, RV is not sufficiently aligned, and
2726 // 3. If the argument is byval, but RV is located in an address space
2728 llvm::Value *Addr = RV.getAggregateAddr();
2743 EmitAggregateCopy(AI, Addr, I->Ty, RV.isVolatileQualified());
2767 if (RV.isScalar())
2768 V = RV.getScalarVal();
2770 V = Builder.CreateLoad(RV.getAggregateAddr());
2785 if (RV.isScalar() || RV.isComplex()) {
2788 EmitInitStoreOfNonAggregate(*this, RV, SrcLV);
2790 SrcPtr = RV.getAggregateAddr();
2851 ExpandTypeToArgs(I->Ty, RV, Args, IRFuncTy);