Home
last modified time | relevance | path

Searched refs:RV (Results 1 – 25 of 99) sorted by relevance

1234

/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DSveEmitter.cpp315 for (auto *RV : Records.getAllDerivedDefinitions("EltType")) in SVEEmitter() local
316 EltTypes[RV->getNameInitAsString()] = RV->getValueAsInt("Value"); in SVEEmitter()
317 for (auto *RV : Records.getAllDerivedDefinitions("MemEltType")) in SVEEmitter() local
318 MemEltTypes[RV->getNameInitAsString()] = RV->getValueAsInt("Value"); in SVEEmitter()
319 for (auto *RV : Records.getAllDerivedDefinitions("FlagType")) in SVEEmitter() local
320 FlagTypes[RV->getNameInitAsString()] = RV->getValueAsInt("Value"); in SVEEmitter()
321 for (auto *RV : Records.getAllDerivedDefinitions("MergeType")) in SVEEmitter() local
322 MergeTypes[RV->getNameInitAsString()] = RV->getValueAsInt("Value"); in SVEEmitter()
323 for (auto *RV : Records.getAllDerivedDefinitions("ImmCheckType")) in SVEEmitter() local
324 ImmCheckTypes[RV->getNameInitAsString()] = RV->getValueAsInt("Value"); in SVEEmitter()
[all …]
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DCodeEmitterGen.cpp293 if (const RecordVal *RV = R->getValue("EncodingInfos")) { in getInstructionCases() local
294 if (const auto *DI = dyn_cast_or_null<DefInit>(RV->getValue())) { in getInstructionCases()
358 for (const RecordVal &RV : EncodingDef->getValues()) { in addInstructionCasesForEncoding() local
361 if (RV.isNonconcreteOK() || RV.getValue()->isComplete()) in addInstructionCasesForEncoding()
364 Success &= addCodeToMergeInOperand(R, BI, RV.getName().str(), Case, in addInstructionCasesForEncoding()
420 if (const RecordVal *RV = R->getValue("EncodingInfos")) { in emitInstructionBaseValues() local
421 if (auto *DI = dyn_cast_or_null<DefInit>(RV->getValue())) { in emitInstructionBaseValues()
493 if (const RecordVal *RV = R->getValue("EncodingInfos")) { in run() local
494 if (const DefInit *DI = dyn_cast_or_null<DefInit>(RV->getValue())) { in run()
H A DDecoderEmitter.cpp317 const RecordVal *RV = Def.getValue(FieldName); in getBitsField() local
318 if (const BitsInit *Bits = dyn_cast<BitsInit>(RV->getValue())) in getBitsField()
322 VarLenInst VLI(cast<DagInit>(RV->getValue()), RV); in getBitsField()
547 const RecordVal *RV = EncodingDef->getValue("SoftFail"); in insnWithID() local
548 const BitsInit *SFBits = RV ? dyn_cast<BitsInit>(RV->getValue()) : nullptr; in insnWithID()
1411 const RecordVal *RV = EncodingDef->getValue("SoftFail"); in emitSoftFailTableEntry() local
1412 const BitsInit *SFBits = RV ? dyn_cast<BitsInit>(RV->getValue()) : nullptr; in emitSoftFailTableEntry()
1892 const RecordVal *RV = Def.getValue("Inst"); in parseVarLenInstOperand() local
1893 VarLenInst VLI(cast<DagInit>(RV->getValue()), RV); in parseVarLenInstOperand()
2560 if (const RecordVal *RV = InstDef->getValue("EncodingInfos")) { in run() local
[all …]
H A DDXILEmitter.cpp89 static StringRef GetIntrinsicName(const RecordVal *RV) { in GetIntrinsicName() argument
90 if (RV && RV->getValue()) { in GetIntrinsicName()
91 if (const DefInit *DI = dyn_cast<DefInit>(RV->getValue())) { in GetIntrinsicName()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DFixedAddressChecker.cpp52 SVal RV = C.getSVal(B->getRHS()); in checkPreStmt() local
54 if (!RV.isConstant() || RV.isZeroConstant()) in checkPreStmt()
H A DPointerSubChecker.cpp47 SVal RV = C.getSVal(B->getRHS()); in checkPreStmt() local
50 const MemRegion *RR = RV.getAsRegion(); in checkPreStmt()
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DJSONBackend.cpp140 for (const RecordVal &RV : Def->getValues()) { in run() local
141 if (!Def->isTemplateArg(RV.getNameInit())) { in run()
142 auto Name = RV.getNameInitAsString(); in run()
143 if (RV.isNonconcreteOK()) in run()
145 Obj[Name] = translateInit(*RV.getValue()); in run()
H A DTGParser.cpp70 static bool checkBitsConcrete(Record &R, const RecordVal &RV) { in checkBitsConcrete() argument
71 const auto *BV = cast<BitsInit>(RV.getValue()); in checkBitsConcrete()
90 for (const RecordVal &RV : R.getValues()) { in checkConcrete() local
95 if (RV.isNonconcreteOK()) in checkConcrete()
98 if (const Init *V = RV.getValue()) { in checkConcrete()
99 bool Ok = isa<BitsInit>(V) ? checkBitsConcrete(R, RV) : V->isConcrete(); in checkConcrete()
102 Twine("Initializer of '") + RV.getNameInitAsString() + in checkConcrete()
105 RV.getValue()->getAsString()); in checkConcrete()
153 RecordVal *RV = Rec->getValue(ArgName); in getVar() local
154 assert(RV && "Template arg doesn't exist??"); in getVar()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineFunctionPass.cpp100 bool RV; in runOnFunction() local
105 RV = runOnMachineFunction(MF); in runOnFunction()
108 RV = runOnMachineFunction(MF); in runOnFunction()
181 return RV; in runOnFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMips16HardFloat.cpp280 FPReturnVariant RV = whichFPReturnVariant(FStub->getReturnType()); in assureFPCallStub() local
286 if (RV != NoFPRet) { in assureFPCallStub()
294 switch (RV) { in assureFPCallStub()
338 if (RV != NoFPRet) in assureFPCallStub()
394 FPReturnVariant RV = whichFPReturnVariant(T); in fixupFPReturnAndCall() local
395 if (RV == NoFPRet) continue; in fixupFPReturnAndCall()
400 const char *Name = Helper[RV]; in fixupFPReturnAndCall()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/
H A DVarLenCodeEmitterGen.cpp239 if (const RecordVal *RV = R->getValue("EncodingInfos")) { in run() local
240 if (auto *DI = dyn_cast_or_null<DefInit>(RV->getValue())) { in run()
245 const RecordVal *RV = EncodingDef->getValue("Inst"); in run() local
246 const DagInit *DI = cast<DagInit>(RV->getValue()); in run()
247 VarLenInsts[R].try_emplace(Mode, VarLenInst(DI, RV)); in run()
252 const RecordVal *RV = R->getValue("Inst"); in run() local
253 const DagInit *DI = cast<DagInit>(RV->getValue()); in run()
254 VarLenInsts[R].try_emplace(Universal, VarLenInst(DI, RV)); in run()
H A DCodeGenInstruction.h335 const RecordVal *RV = TheDef->getValue("Inst"); in isVariableLengthEncoding() local
336 return RV && isa<DagInit>(RV->getValue()); in isVariableLengthEncoding()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DASTUtils.cpp271 if (auto *RV = RS->getRetValue()) { in VisitReturnStmt() local
272 RV = RV->IgnoreParenCasts(); in VisitReturnStmt()
273 if (isa<CXXNullPtrLiteralExpr>(RV)) in VisitReturnStmt()
275 return isConstOwnerPtrMemberExpr(RV); in VisitReturnStmt()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCall.h232 RValue RV; member
244 : RV(rv), HasLV(false), IsUsed(false), Ty(ty) {} in CallArg()
260 return RV; in getKnownRValue()
264 RV = _RV; in setRValue()
267 bool isAggregate() const { return HasLV || RV.isAggregate(); } in isAggregate()
H A DCGObjCRuntime.cpp436 RValue RV = I->getRValue(CGF); in destroyCalleeDestroyedArguments() local
437 assert(RV.isScalar() && in destroyCalleeDestroyedArguments()
439 CGF.EmitARCRelease(RV.getScalarVal(), ARCImpreciseLifetime); in destroyCalleeDestroyedArguments()
444 RValue RV = I->getRValue(CGF); in destroyCalleeDestroyedArguments() local
448 CGF.destroyCXXObject(CGF, RV.getAggregateAddress(), QT); in destroyCalleeDestroyedArguments()
451 CGF.destroyNonTrivialCStruct(CGF, RV.getAggregateAddress(), QT); in destroyCalleeDestroyedArguments()
H A DCGCoroutine.cpp220 RValue RV; member
362 Res.RV = RValue::getIgnored(); in emitSuspendExpression()
370 Res.RV = CGF.EmitAnyExpr(S.getResumeExpr(), aggSlot, ignoreResult); in emitSuspendExpression()
380 ignoreResult, /*forLValue*/false).RV; in EmitCoawaitExpr()
386 aggSlot, ignoreResult, /*forLValue*/false).RV; in EmitCoyieldExpr()
391 const Expr *RV = S.getOperand(); in EmitCoreturnStmt() local
392 if (RV && RV->getType()->isVoidType() && !isa<InitListExpr>(RV)) { in EmitCoreturnStmt()
396 EmitIgnoredExpr(RV); in EmitCoreturnStmt()
H A DCGStmt.cpp1556 void CodeGenFunction::EmitReturnOfRValue(RValue RV, QualType Ty) { in EmitReturnOfRValue() argument
1557 if (RV.isScalar()) { in EmitReturnOfRValue()
1558 Builder.CreateStore(RV.getScalarVal(), ReturnValue); in EmitReturnOfRValue()
1559 } else if (RV.isAggregate()) { in EmitReturnOfRValue()
1561 LValue Src = MakeAddrLValue(RV.getAggregateAddress(), Ty); in EmitReturnOfRValue()
1564 EmitStoreOfComplex(RV.getComplexVal(), MakeAddrLValue(ReturnValue, Ty), in EmitReturnOfRValue()
1630 const Expr *RV = S.getRetValue(); in EmitReturnStmt() local
1640 SaveRetExprRAII SaveRetExpr(RV, *this); in EmitReturnStmt()
1643 if (const auto *EWC = dyn_cast_or_null<ExprWithCleanups>(RV)) in EmitReturnStmt()
1644 RV = EWC->getSubExpr(); in EmitReturnStmt()
[all …]
H A DCGVTables.cpp71 QualType ResultType, RValue RV, in PerformReturnAdjustment() argument
80 llvm::Value *ReturnValue = RV.getScalarVal(); in PerformReturnAdjustment()
235 RValue RV = RValue::get(T->getOperand(0)); in GenerateVarArgsThunk() local
238 RV = PerformReturnAdjustment(*this, ResultType, RV, Thunk); in GenerateVarArgsThunk()
239 Builder.CreateRet(RV.getScalarVal()); in GenerateVarArgsThunk()
390 RValue RV = EmitCall(*CurFnInfo, CGCallee::forDirect(Callee, CurGD), Slot, in EmitCallAndReturnForThunk() local
395 RV = PerformReturnAdjustment(*this, ResultType, RV, *Thunk); in EmitCallAndReturnForThunk()
401 CGM.getCXXABI().EmitReturnFromThunk(*this, RV, ResultType); in EmitCallAndReturnForThunk()
H A DCGExprAgg.cpp994 RValue RV = CGF.EmitAnyExpr(Src); in VisitCastExpr() local
999 assert(RV.isScalar() && "RHS of HLSL splat cast must be a scalar."); in VisitCastExpr()
1000 llvm::Value *SrcVal = RV.getScalarVal(); in VisitCastExpr()
1007 RValue RV = CGF.EmitAnyExpr(Src); in VisitCastExpr() local
1012 if (RV.isScalar()) { in VisitCastExpr()
1013 llvm::Value *SrcVal = RV.getScalarVal(); in VisitCastExpr()
1016 assert(RV.isAggregate() && in VisitCastExpr()
1018 Address SrcVal = RV.getAggregateAddress(); in VisitCastExpr()
1197 RValue RV = CGF.EmitAnyExpr(E); in VisitBinCmp() local
1198 if (RV.isScalar()) in VisitBinCmp()
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.cpp297 SVal RV = (*CE)->getReturnValue(); in generateDiagnosticsForCallLike() local
298 if (CurrSt->isNull(RV).isConstrainedTrue()) { in generateDiagnosticsForCallLike()
300 } else if (CurrSt->isNonNull(RV).isConstrainedTrue()) { in generateDiagnosticsForCallLike()
786 const RefVal *RV = getRefBinding(EndN->getState(), Sym); in getEndPath() local
787 assert(RV); in getEndPath()
789 if (RV->getKind() == RefVal::ErrorLeakReturned) { in getEndPath()
814 ObjKind K = RV->getObjKind(); in getEndPath()
822 } else if (RV->getObjKind() == ObjKind::OS) { in getEndPath()
832 << RV->getCount(); in getEndPath()
/freebsd/sys/contrib/openzfs/.github/workflows/scripts/
H A Dqemu-4-build-vm.sh77 RV=$(cat /tmp/rv)
79 echo "exit with value=$RV ($*)"
82 exit $RV
H A Dqemu-6-tests.sh225 RV=0
226 $TDIR/zfs-tests.sh -vKO -s 3GB -T $TAGS || RV=$?
229 echo $RV > tests-exitcode.txt
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEInstrVec.td445 def "" : RV<opc, (outs RC:$vx), dag_in,
449 def _v : RV<opc, (outs RC:$vx), !con(dag_in, (ins RC:$base)),
489 def "" : RV<opc, (outs RC:$vx), dag_in,
493 def _v : RV<opc, (outs RC:$vx), !con(dag_in, (ins RC:$base)),
530 def "" : RV<opc, (outs RC:$vx), dag_in,
534 def _v : RV<opc, (outs RC:$vx), !con(dag_in, (ins RC:$base)),
553 // Generic RV multiclass with 2 arguments.
565 // Special RV multiclass with 2 arguments using cs2.
581 // Generic RV multiclass with 2 arguments for logical operations.
593 // Generic RV multiclass with 1 argument.
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiRegisterInfo.td34 def RV : LanaiReg< 8, "rv", [R8]>, DwarfRegAlias<R8>;
51 R8, RV, // return value
/freebsd/sys/contrib/device-tree/src/riscv/allwinner/
H A Dsun20i-d1-lichee-rv-86-panel-720p.dts7 model = "Sipeed Lichee RV 86 Panel (720p)";

1234