Searched refs:RV (Results 1 - 25 of 72) sorted by relevance

123

/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DFixedAddressChecker.cpp46 SVal RV = C.getSVal(B->getRHS());
48 if (!RV.isConstant() || RV.isZeroConstant())
H A DPointerSubChecker.cpp42 SVal RV = C.getSVal(B->getRHS()); local
45 const MemRegion *RR = RV.getAsRegion();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineFunctionPass.cpp73 bool RV = runOnMachineFunction(MF); local
100 return RV;
/freebsd-13-stable/contrib/llvm-project/clang/utils/TableGen/
H A DSveEmitter.cpp268 for (auto *RV : Records.getAllDerivedDefinitions("EltType"))
269 EltTypes[RV->getNameInitAsString()] = RV->getValueAsInt("Value");
270 for (auto *RV : Records.getAllDerivedDefinitions("MemEltType"))
271 MemEltTypes[RV->getNameInitAsString()] = RV->getValueAsInt("Value");
272 for (auto *RV : Records.getAllDerivedDefinitions("FlagType"))
273 FlagTypes[RV->getNameInitAsString()] = RV->getValueAsInt("Value");
274 for (auto *RV
1230 std::vector<Record *> RV = Records.getAllDerivedDefinitions("Inst"); local
1289 std::vector<Record *> RV = Records.getAllDerivedDefinitions("Inst"); local
1320 std::vector<Record *> RV = Records.getAllDerivedDefinitions("Inst"); local
1353 std::vector<Record *> RV = Records.getAllDerivedDefinitions("Inst"); local
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/TableGen/
H A DJSONBackend.cpp147 for (const RecordVal &RV : Def.getValues()) {
148 if (!Def.isTemplateArg(RV.getNameInit())) {
149 auto Name = RV.getNameInitAsString();
150 if (RV.getPrefix())
152 obj[Name] = translateInit(*RV.getValue());
H A DTGParser.cpp72 static bool checkBitsConcrete(Record &R, const RecordVal &RV) { argument
73 BitsInit *BV = cast<BitsInit>(RV.getValue());
92 for (const RecordVal &RV : R.getValues()) {
97 if (RV.getPrefix())
100 if (Init *V = RV.getValue()) {
101 bool Ok = isa<BitsInit>(V) ? checkBitsConcrete(R, RV) : V->isConcrete();
104 Twine("Initializer of '") + RV.getNameInitAsString() +
107 RV.getValue()->getAsString());
141 bool TGParser::AddValue(Record *CurRec, SMLoc Loc, const RecordVal &RV) { argument
145 if (RecordVal *ERV = CurRec->getValue(RV
167 RecordVal *RV = CurRec->getValue(ValName); local
861 const RecordVal *RV = TemplateRec->getValue(TemplateArgName); local
2330 const RecordVal *RV = ArgsRec->getValue(TArgs[ArgN]); local
2357 const RecordVal *RV = ArgsRec->getValue(TArgs[ArgN]); local
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeEmitterGen.cpp269 if (const RecordVal *RV = R->getValue("EncodingInfos")) {
270 if (auto *DI = dyn_cast_or_null<DefInit>(RV->getValue())) {
300 for (const RecordVal &RV : R->getValues()) {
302 if (!CGI.Operands.hasOperandNamed(RV.getName(), OpIdx))
311 for (const RecordVal &RV : EncodingDef->getValues()) {
314 if (RV.getPrefix() || RV.getValue()->isComplete())
317 AddCodeToMergeInOperand(R, BI, std::string(RV.getName()), NumberedOp,
367 if (const RecordVal *RV = R->getValue("EncodingInfos")) {
368 if (auto *DI = dyn_cast_or_null<DefInit>(RV
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DIPConstantPropagation.cpp183 Value *RV = RetVals[i]; local
184 if (!RV)
201 if (isa<UndefValue>(RV)) {
207 if (RV == V)
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Lanai/MCTargetDesc/
H A DLanaiBaseInfo.h62 case Lanai::RV:
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMips16HardFloat.cpp280 FPReturnVariant RV = whichFPReturnVariant(FStub->getReturnType()); local
286 if (RV != NoFPRet) {
294 switch (RV) {
338 if (RV != NoFPRet)
395 FPReturnVariant RV = whichFPReturnVariant(T); local
396 if (RV == NoFPRet) continue;
401 const char *Name = Helper[RV];
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.h220 RValue RV; member in union:clang::CodeGen::CGCallee::CallArg::__anon1686
232 : RV(rv), HasLV(false), IsUsed(false), Ty(ty) {}
248 return RV;
252 RV = _RV;
255 bool isAggregate() const { return HasLV || RV.isAggregate(); }
H A DCGCoroutine.cpp172 RValue RV; member in struct:__anon1696::LValueOrRValue
251 Res.RV = CGF.EmitAnyExpr(S.getResumeExpr(), aggSlot, ignoreResult);
266 ignoreResult, /*forLValue*/false).RV;
272 aggSlot, ignoreResult, /*forLValue*/false).RV;
277 const Expr *RV = S.getOperand(); local
278 if (RV && RV->getType()->isVoidType() && !isa<InitListExpr>(RV)) {
282 EmitIgnoredExpr(RV);
H A DCGStmt.cpp1059 void CodeGenFunction::EmitReturnOfRValue(RValue RV, QualType Ty) { argument
1060 if (RV.isScalar()) {
1061 Builder.CreateStore(RV.getScalarVal(), ReturnValue);
1062 } else if (RV.isAggregate()) {
1064 LValue Src = MakeAddrLValue(RV.getAggregateAddress(), Ty);
1067 EmitStoreOfComplex(RV.getComplexVal(), MakeAddrLValue(ReturnValue, Ty),
1109 const Expr *RV = S.getRetValue(); local
1119 SaveRetExprRAII SaveRetExpr(RV, *this);
1122 if (const auto *EWC = dyn_cast_or_null<ExprWithCleanups>(RV))
1123 RV
[all...]
H A DCGVTables.cpp70 QualType ResultType, RValue RV,
79 llvm::Value *ReturnValue = RV.getScalarVal();
223 RValue RV = RValue::get(T->getOperand(0)); local
226 RV = PerformReturnAdjustment(*this, ResultType, RV, Thunk);
227 Builder.CreateRet(RV.getScalarVal());
373 RValue RV = EmitCall(*CurFnInfo, CGCallee::forDirect(Callee, CurGD), Slot, local
378 RV = PerformReturnAdjustment(*this, ResultType, RV, *Thunk);
384 CGM.getCXXABI().EmitReturnFromThunk(*this, RV, ResultTyp
69 PerformReturnAdjustment(CodeGenFunction &CGF, QualType ResultType, RValue RV, const ThunkInfo &Thunk) argument
[all...]
H A DCGCall.cpp1106 auto RV = Arg.getKnownRValue(); local
1107 assert(RV.isScalar() &&
1111 llvm::Value *V = RV.getScalarVal();
3151 llvm::Value *RV = nullptr;
3166 RV = Builder.CreateAlignedLoad(SRet, getPointerAlign(), "sret");
3211 RV = SI->getValueOperand();
3216 RV = Builder.CreateLoad(ReturnValue);
3222 RV = CreateCoercedLoad(V, RetAI.getCoerceToType(), *this);
3248 RV = emitAutoreleaseOfResult(*this, RV);
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.cpp301 SVal RV = (*CE)->getReturnValue(); local
302 if (CurrSt->isNull(RV).isConstrainedTrue()) {
304 } else if (CurrSt->isNonNull(RV).isConstrainedTrue()) {
756 const RefVal* RV = getRefBinding(EndN->getState(), Sym); local
757 assert(RV);
759 if (RV->getKind() == RefVal::ErrorLeakReturned) {
787 ObjKind K = RV->getObjKind();
795 } else if (RV->getObjKind() == ObjKind::OS) {
804 "count of +" << RV->getCount();
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DEvaluator.h77 Constant *castCallResultIfNeeded(Value *CallExpr, Constant *RV);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DEvaluator.cpp309 Constant *Evaluator::castCallResultIfNeeded(Value *CallExpr, Constant *RV) { argument
311 if (!RV || !CE || CE->getOpcode() != Instruction::BitCast)
312 return RV;
316 RV = ConstantFoldLoadThroughBitcast(RV, FT->getReturnType(), DL);
317 if (!RV)
320 return RV;
H A DVNCoercion.cpp523 Value *RV = NewLoad; local
525 RV = Builder.CreateLShr(RV, (NewLoadSize - SrcValStoreSize) * 8);
526 RV = Builder.CreateTrunc(RV, SrcVal->getType());
527 SrcVal->replaceAllUsesWith(RV);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEISelLowering.cpp463 SDValue RV; local
466 RV = Chain.getValue(0);
469 if (!RV.getNode()) {
470 RV = DAG.getCopyFromReg(Chain, DL, Reg, RVLocs[i].getLocVT(), InGlue);
471 Chain = RV.getValue(1);
477 RV = DAG.getNode(ISD::SRL, DL, VA.getLocVT(), RV,
484 RV = DAG.getNode(ISD::AssertSext, DL, VA.getLocVT(), RV,
488 RV
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/IR/
H A DBasicBlock.cpp167 if (Value *RV = RI->getReturnValue()) {
168 if (RV != Prev)
173 RV = BI->getOperand(0);
175 if (!Prev || RV != Prev)
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp418 if (Optional<Loc> RV = rhs.getAs<Loc>())
419 return evalBinOpLL(state, op, *LV, *RV, type);
424 if (Optional<Loc> RV = rhs.getAs<Loc>()) {
430 return evalBinOpLN(state, op, *RV, lhs.castAs<NonLoc>(), type);
H A DSVals.cpp51 if (Optional<loc::MemRegionVal> RV = getAs<loc::MemRegionVal>()) {
52 const MemRegion *R = RV->getRegion();
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/TableGen/
H A DRecord.h1427 inline raw_ostream &operator<<(raw_ostream &OS, const RecordVal &RV) { argument
1428 RV.print(OS << " ");
1550 void addValue(const RecordVal &RV) { argument
1551 assert(getValue(RV.getNameInit()) == nullptr && "Value already added!");
1552 Values.push_back(RV);
1936 const RecordVal *RV; member in class:llvm::final::final::LessRecordRegister::final
1939 explicit RecordValResolver(Record &R, const RecordVal *RV) argument
1940 : Resolver(&R), RV(RV) {}
1943 if (VarName == RV
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A Dsimple_ilist.h279 RI = std::find_if(RI, RE, [&](reference RV) { return !comp(RV, *LI); });

Completed in 331 milliseconds

123