Home
last modified time | relevance | path

Searched refs:RVal (Results 1 – 14 of 14) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/utilities/optional/optional.monadic/
H A Dtransform.pass.cpp40 struct RVal { struct
136 assert(std::move(i).transform(RVal{}) == 1); in test_val_types()
137 ASSERT_SAME_TYPE(decltype(std::move(i).transform(RVal{})), std::optional<int>); in test_val_types()
H A Dand_then.pass.cpp40 struct RVal { struct
196 assert(std::move(i).and_then(RVal{}) == 1); in test_val_types()
198 ASSERT_SAME_TYPE(decltype(std::move(i).and_then(RVal{})), std::optional<int>); in test_val_types()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DIteratorModeling.cpp102 const SVal &LVal, const SVal &RVal,
269 const SVal RVal = State->getSVal(RHS, C.getLocationContext()); in checkPostStmt() local
273 handleComparison(C, BO, Result, LVal, RVal, in checkPostStmt()
285 const SVal &AmountVal = IsIterOnLHS ? RVal : LVal; in checkPostStmt()
450 const SVal &RVal, in handleComparison() argument
458 const auto *RPos = getIteratorPosition(State, RVal); in handleComparison()
483 State = setIteratorPosition(State, RVal, in handleComparison()
485 RPos = getIteratorPosition(State, RVal); in handleComparison()
H A DMismatchedIteratorChecker.cpp199 SVal RVal = State->getSVal(BO->getRHS(), C.getLocationContext()); in checkPreStmt() local
200 verifyMatch(C, LVal, RVal); in checkPreStmt()
H A DIteratorRangeChecker.cpp171 SVal RVal = State->getSVal(BO->getRHS(), C.getLocationContext()); in checkPreStmt() local
175 RVal); in checkPreStmt()
/llvm-project-15.0.7/llvm/lib/Target/Mips/
H A DMips16HardFloat.cpp385 Value *RVal = RI->getReturnValue(); in fixupFPReturnAndCall() local
386 if (!RVal) continue; in fixupFPReturnAndCall()
394 Type *T = RVal->getType(); in fixupFPReturnAndCall()
403 Value *Params[] = {RVal}; in fixupFPReturnAndCall()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGAtomic.cpp198 llvm::Value *convertRValueToInt(RValue RVal) const;
1713 llvm::Value *AtomicInfo::convertRValueToInt(RValue RVal) const { in convertRValueToInt()
1716 if (RVal.isScalar() && (!hasPadding() || !LVal.isSimple())) { in convertRValueToInt()
1717 llvm::Value *Value = RVal.getScalarVal(); in convertRValueToInt()
1732 Address Addr = materializeRValue(RVal); in convertRValueToInt()
H A DCGStmtOpenMP.cpp5887 LValue LVal, RValue RVal) { in emitSimpleAtomicStore() argument
5889 CGF.EmitStoreThroughGlobalRegLValue(RVal, LVal); in emitSimpleAtomicStore()
5891 CGF.EmitAtomicStore(RVal, LVal, AO, LVal.isVolatile(), /*isInit=*/false); in emitSimpleAtomicStore()
5904 void CodeGenFunction::emitOMPSimpleStore(LValue LVal, RValue RVal, in emitOMPSimpleStore() argument
5909 *this, RVal, RValTy, LVal.getType(), Loc)), in emitOMPSimpleStore()
5914 convertToComplexValue(*this, RVal, RValTy, LVal.getType(), Loc), LVal, in emitOMPSimpleStore()
H A DCodeGenFunction.h3348 void emitOMPSimpleStore(LValue LVal, RValue RVal, QualType RValTy,
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DBugReporterVisitors.cpp2353 SVal RVal; in handle() local
2355 RVal = LVState->getRawSVal(*L, Inner->getType()); in handle()
2357 RVal = LVState->getSVal(L->getRegion()); in handle()
2363 if (auto KV = RVal.getAs<KnownSVal>()) in handle()
2368 const MemRegion *RegionRVal = RVal.getAsRegion(); in handle()
/llvm-project-15.0.7/clang/lib/AST/
H A DExprConstant.cpp7898 APValue RVal; in VisitCastExpr() local
7903 return DerivedSuccess(RVal, E); in VisitCastExpr()
7938 APValue RVal; in VisitUnaryPostIncDec() local
7942 return DerivedSuccess(RVal, UO); in VisitUnaryPostIncDec()
8254 APValue RVal; in VisitVarDecl() local
8258 Result.setFrom(Info.Ctx, RVal); in VisitVarDecl()
8759 APValue RVal; in VisitCXXThisExpr() local
8981 APValue RVal; in VisitCastExpr() local
8987 return Success(RVal, E); in VisitCastExpr()
11724 APValue RVal; in tryEvaluateBuiltinObjectSize() local
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/
H A DLegalizeDAG.cpp675 SDValue RVal = SDValue(Node, 0); in LegalizeLoadOps() local
687 std::tie(RVal, RChain) = TLI.expandUnalignedLoad(LD, DAG); in LegalizeLoadOps()
692 if (SDValue Res = TLI.LowerOperation(RVal, DAG)) { in LegalizeLoadOps()
693 RVal = Res; in LegalizeLoadOps()
704 RVal = DAG.getNode(ISD::BITCAST, dl, VT, Res); in LegalizeLoadOps()
710 assert(RVal.getNode() != Node && "Load must be completely replaced"); in LegalizeLoadOps()
711 DAG.ReplaceAllUsesOfValueWith(SDValue(Node, 0), RVal); in LegalizeLoadOps()
714 UpdatedNodes->insert(RVal.getNode()); in LegalizeLoadOps()
/llvm-project-15.0.7/llvm/unittests/Frontend/
H A DOpenMPIRBuilderTest.cpp3570 AllocaInst *RVal = Builder.CreateAlloca(Int32); in TEST_F() local
3571 RVal->setName("r"); in TEST_F()
3579 OpenMPIRBuilder::AtomicOpValue R = {RVal, Int32, false, false}; in TEST_F()
3725 EXPECT_EQ(Store4->getPointerOperand(), RVal); in TEST_F()
3769 EXPECT_EQ(Store6->getPointerOperand(), RVal); in TEST_F()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp2784 static bool isCompatibleIVType(Value *LVal, Value *RVal) { in isCompatibleIVType() argument
2786 Type *RType = RVal->getType(); in isCompatibleIVType()