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

References

tools/clang/lib/CodeGen/CGAtomic.cpp
 1183     if (UseOptimizedLibcall && Res.getScalarVal()) {
 1184       llvm::Value *ResVal = Res.getScalarVal();
 1186         llvm::Value *LoadVal1 = Args[1].getRValue(*this).getScalarVal();
 1554     CGF.EmitStoreOfScalar(rvalue.getScalarVal(), TempLVal, /*init*/ true);
 1580     llvm::Value *Value = RVal.getScalarVal();
 1644   return SuccessFailureRVal.getScalarVal();
tools/clang/lib/CodeGen/CGCall.cpp
 1103     llvm::Value *V = RV.getScalarVal();
 3294     llvm::Value *src = srcRV.getScalarVal();
 3393   llvm::Value *V = RV.getScalarVal();
 3430     assert(EmittedArg.getScalarVal() && "We emitted nothing for the arg?");
 3432                                                      EmittedArg.getScalarVal(),
 3543     CGF.EmitStoreOfScalar(RV.getScalarVal(), Dst, /*isInit=*/true);
 4039           V = I->getKnownRValue().getScalarVal();
 4147         llvm::Type *scalarType = RV.getScalarVal()->getType();
 4153             RV.getScalarVal()->getType(),
 4160         Builder.CreateStore(RV.getScalarVal(), addr);
 4571       EmitAlignmentAssumption(Ret.getScalarVal(), RetTy, Loc, AA->getLocation(),
 4576                                       .getScalarVal();
 4577       EmitAlignmentAssumption(Ret.getScalarVal(), RetTy, Loc, AA->getLocation(),
tools/clang/lib/CodeGen/CGClass.cpp
 2130     Address Src(Args[1].getRValue(*this).getScalarVal(),
 2253                            ? ParamValue::forDirect(RV.getScalarVal())
 2866       RV = RValue::get(EmitARCRetainAutoreleasedReturnValue(RV.getScalarVal()));
tools/clang/lib/CodeGen/CGCleanup.cpp
   28     return DominatingLLVMValue::needsSaving(rv.getScalarVal());
   37     llvm::Value *V = rv.getScalarVal();
tools/clang/lib/CodeGen/CGDeclCXX.cpp
  223   EmitStoreOfScalar(RV.getScalarVal(), DeclAddr, false, T);
tools/clang/lib/CodeGen/CGExpr.cpp
 1520         .getScalarVal();
 1669     return EmitAtomicLoad(AtomicLValue, Loc).getScalarVal();
 1934       Vec = Builder.CreateInsertElement(Vec, Src.getScalarVal(),
 1965         Src = RValue::get(EmitARCRetain(Dst.getType(), Src.getScalarVal()));
 1968       EmitARCStoreStrong(Dst, Src.getScalarVal(), /*ignore*/ true);
 1974         EmitARCInitWeak(Dst.getAddress(), Src.getScalarVal());
 1976         EmitARCStoreWeak(Dst.getAddress(), Src.getScalarVal(), /*ignore*/ true);
 1981                                                      Src.getScalarVal()));
 1990     llvm::Value *src = Src.getScalarVal();
 1998     llvm::Value *src = Src.getScalarVal();
 2021   EmitStoreOfScalar(Src.getScalarVal(), Dst, isInit);
 2031   llvm::Value *SrcVal = Src.getScalarVal();
 2099   llvm::Value *SrcVal = Src.getScalarVal();
 2177   llvm::Value *Value = Src.getScalarVal();
 4643       EmitNullabilityCheck(LV, RV.getScalarVal(), E->getExprLoc());
 4668   return MakeNaturalAlignPointeeAddrLValue(RV.getScalarVal(), E->getType());
 4719   return MakeNaturalAlignPointeeAddrLValue(RV.getScalarVal(), E->getType());
tools/clang/lib/CodeGen/CGExprAgg.cpp
  999       return {RV.getScalarVal(), nullptr};
tools/clang/lib/CodeGen/CGExprCXX.cpp
  292                                (*RtlArgs)[0].getRValue(*this).getScalarVal(),
 1639     allocation = Address(RV.getScalarVal(), allocationAlign);
tools/clang/lib/CodeGen/CGExprComplex.cpp
 1169   Result = Val.getScalarVal();
tools/clang/lib/CodeGen/CGExprScalar.cpp
  262     return CGF.EmitLoadOfLValue(LV, Loc).getScalarVal();
  445     return CGF.EmitCoawaitExpr(*S).getScalarVal();
  448     return CGF.EmitCoyieldExpr(*S).getScalarVal();
  491     return CGF.EmitPseudoObjectRValue(E).getScalarVal();
  500     return CGF.getOrCreateOpaqueRValueMapping(E).getScalarVal();
  523     return CGF.EmitObjCMessageExpr(E).getScalarVal();
  528     Value *V = CGF.EmitLoadOfLValue(LV, E->getExprLoc()).getScalarVal();
  580     Value *V = CGF.EmitCallExpr(E).getScalarVal();
 2564     llvm::Value *old = CGF.EmitToMemory(Pair.first.getScalarVal(), type);
 2776                                   E->getExprLoc()).getScalarVal();
 2793                                   E->getExprLoc()).getScalarVal();
 2920     llvm::Value *old = CGF.EmitToMemory(Pair.first.getScalarVal(), LHSTy);
 4431   return CGF.EmitAtomicExpr(E).getScalarVal();
tools/clang/lib/CodeGen/CGGPUBuiltin.cpp
  100       ArgTypes.push_back(Args[I].getRValue(*this).getScalarVal()->getType());
  112       llvm::Value *Arg = Args[I].getRValue(*this).getScalarVal();
  121       VprintfFunc, {Args[0].getRValue(*this).getScalarVal(), BufferPtr}));
tools/clang/lib/CodeGen/CGNonTrivialStruct.cpp
  709         CGF->EmitLoadOfLValue(SrcLV, SourceLocation()).getScalarVal();
  772         CGF->EmitLoadOfLValue(SrcLV, SourceLocation()).getScalarVal();
  776         CGF->EmitLoadOfLValue(DstLV, SourceLocation()).getScalarVal();
tools/clang/lib/CodeGen/CGObjC.cpp
  113   return Builder.CreateBitCast(result.getScalarVal(),
  236   return Builder.CreateBitCast(result.getScalarVal(),
  273   if (ExpLLVMTy == Result.getScalarVal()->getType())
  277   return RValue::get(CGF.Builder.CreateBitCast(Result.getScalarVal(),
  395           const llvm::Value* arg = Args.front().getKnownRValue().getScalarVal();
  631     llvm::Value *newSelf = result.getScalarVal();
 1127         RV.getScalarVal(),
 1179           value = EmitLoadOfLValue(LV, SourceLocation()).getScalarVal();
 1710   llvm::Value *initialBufferLimit = CountRV.getScalarVal();
 1884   llvm::Value *refetchCount = CountRV.getScalarVal();
 2541   Receiver = AllocRV.getScalarVal();
 2548   return InitRV.getScalarVal();
 2708     result = CGF.EmitLoadOfLValue(lvalue, SourceLocation()).getScalarVal();
 2732                                                SourceLocation()).getScalarVal();
 3659               AggValueSlot::forAddr(Address(DV.getScalarVal(), Alignment),
 3689   Val = Result.getScalarVal();
 3693   Val = Result.getScalarVal();
tools/clang/lib/CodeGen/CGObjCGNU.cpp
 2733       llvm::Value *v = msgRet.getScalarVal();
tools/clang/lib/CodeGen/CGObjCMac.cpp
 1760           CGF.EmitARCRelease(RV.getScalarVal(), ARCImpreciseLifetime);
 1786       phi->addIncoming(result.getScalarVal(), callBB);
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp
 8215         Pointers.push_back(VarRVal.getScalarVal());
tools/clang/lib/CodeGen/CGStmt.cpp
 1038     Builder.CreateStore(RV.getScalarVal(), ReturnValue);
 1108     Builder.CreateStore(Result.getScalarVal(), ReturnValue);
 1825       Arg = EmitLoadOfLValue(InputValue, Loc).getScalarVal();
 2437               .getScalarVal();
 2447     CXXThisValue = EmitLoadOfLValue(ThisLValue, Loc).getScalarVal();
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp
 1683     auto *Val = cast<llvm::ConstantInt>(Len.getScalarVal());
 1693     auto *Val = cast<llvm::ConstantInt>(Len.getScalarVal());
 3646   return Val.isScalar() ? CGF.EmitScalarConversion(Val.getScalarVal(), SrcType,
 3663         Val.getScalarVal(), SrcType, DestElementType, Loc);
 3757       !Update.getScalarVal()->getType()->isIntegerTy() ||
 3758       !X.isSimple() || (!isa<llvm::ConstantInt>(Update.getScalarVal()) &&
 3759                         (Update.getScalarVal()->getType() !=
 3830   llvm::Value *UpdateVal = Update.getScalarVal();
tools/clang/lib/CodeGen/CGVTables.cpp
   78   llvm::Value *ReturnValue = RV.getScalarVal();
  226         Builder.CreateRet(RV.getScalarVal());
tools/clang/lib/CodeGen/CodeGenFunction.cpp
  971               EmitLoadOfLValue(ThisFieldLValue, SourceLocation()).getScalarVal();
  977                                            SourceLocation()).getScalarVal();
 2025   llvm::Value *value = rvalue.getScalarVal();
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
 1935   return RV.getScalarVal();