Home
last modified time | relevance | path

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

12345

/llvm-project-15.0.7/lldb/unittests/Utility/
H A DRegisterValueTest.cpp26 using RV = RegisterValue; in TEST() typedef
27 const auto &Get = [](const RV &V) -> llvm::Optional<Scalar> { in TEST()
33 EXPECT_EQ(Get(RV(uint8_t(47))), Scalar(47)); in TEST()
34 EXPECT_EQ(Get(RV(uint16_t(4747))), Scalar(4747)); in TEST()
35 EXPECT_EQ(Get(RV(uint32_t(47474242))), Scalar(47474242)); in TEST()
36 EXPECT_EQ(Get(RV(uint64_t(4747424247474242))), Scalar(4747424247474242)); in TEST()
38 EXPECT_EQ(Get(RV(47.5f)), Scalar(47.5f)); in TEST()
39 EXPECT_EQ(Get(RV(47.5)), Scalar(47.5)); in TEST()
40 EXPECT_EQ(Get(RV(47.5L)), Scalar(47.5L)); in TEST()
41 EXPECT_EQ(Get(RV({0xff, 0xee, 0xdd, 0xcc}, lldb::eByteOrderLittle)), in TEST()
[all …]
/llvm-project-15.0.7/llvm/utils/TableGen/
H A DVarLenCodeEmitterGen.cpp203 if (const RecordVal *RV = R->getValue("EncodingInfos")) { in run() local
204 if (auto *DI = dyn_cast_or_null<DefInit>(RV->getValue())) { in run()
209 RecordVal *RV = EncodingDef->getValue("Inst"); in run() local
210 DagInit *DI = cast<DagInit>(RV->getValue()); in run()
211 VarLenInsts.insert({EncodingDef, VarLenInst(DI, RV)}); in run()
216 RecordVal *RV = R->getValue("Inst"); in run() local
217 DagInit *DI = cast<DagInit>(RV->getValue()); in run()
218 VarLenInsts.insert({R, VarLenInst(DI, RV)}); in run()
346 if (const RecordVal *RV = R->getValue("EncodingInfos")) { in emitInstructionBaseValues() local
394 if (const RecordVal *RV = R->getValue("EncodingInfos")) { in getInstructionCase() local
[all …]
H A DCodeEmitterGen.cpp271 if (const RecordVal *RV = R->getValue("EncodingInfos")) { in getInstructionCase() local
272 if (auto *DI = dyn_cast_or_null<DefInit>(RV->getValue())) { in getInstructionCase()
302 for (const RecordVal &RV : R->getValues()) { in getInstructionCaseForEncoding() local
304 if (!CGI.Operands.hasOperandNamed(RV.getName(), OpIdx)) in getInstructionCaseForEncoding()
313 for (const RecordVal &RV : EncodingDef->getValues()) { in getInstructionCaseForEncoding() local
316 if (RV.isNonconcreteOK() || RV.getValue()->isComplete()) in getInstructionCaseForEncoding()
319 AddCodeToMergeInOperand(R, BI, std::string(RV.getName()), NumberedOp, in getInstructionCaseForEncoding()
361 if (const RecordVal *RV = R->getValue("EncodingInfos")) { in emitInstructionBaseValues() local
362 if (auto *DI = dyn_cast_or_null<DefInit>(RV->getValue())) { in emitInstructionBaseValues()
409 if (const RecordVal *RV = R->getValue("EncodingInfos")) { in run() local
[all …]
H A DDecoderEmitter.cpp222 const RecordVal *RV = def.getValue(str); in getBitsField() local
223 if (BitsInit *Bits = dyn_cast<BitsInit>(RV->getValue())) in getBitsField()
227 VarLenInst VLI = VarLenInst(cast<DagInit>(RV->getValue()), RV); in getBitsField()
453 const RecordVal *RV = in insnWithID() local
455 const BitsInit *SFBits = RV ? dyn_cast<BitsInit>(RV->getValue()) : nullptr; in insnWithID()
1351 BitsInit *SFBits = RV ? dyn_cast<BitsInit>(RV->getValue()) : nullptr; in emitSoftFailTableEntry()
1870 const RecordVal *RV = Def.getValue("Inst"); in parseVarLenInstOperand() local
1871 VarLenInst VLI(cast<DagInit>(RV->getValue()), RV); in parseVarLenInstOperand()
2551 if (const RecordVal *RV = in run() local
2569 if (const RecordVal *RV = in run() local
[all …]
/llvm-project-15.0.7/clang/utils/TableGen/
H A DSveEmitter.cpp268 for (auto *RV : Records.getAllDerivedDefinitions("EltType")) in SVEEmitter() local
269 EltTypes[RV->getNameInitAsString()] = RV->getValueAsInt("Value"); in SVEEmitter()
271 MemEltTypes[RV->getNameInitAsString()] = RV->getValueAsInt("Value"); in SVEEmitter()
272 for (auto *RV : Records.getAllDerivedDefinitions("FlagType")) in SVEEmitter() local
273 FlagTypes[RV->getNameInitAsString()] = RV->getValueAsInt("Value"); in SVEEmitter()
275 MergeTypes[RV->getNameInitAsString()] = RV->getValueAsInt("Value"); in SVEEmitter()
277 ImmCheckTypes[RV->getNameInitAsString()] = RV->getValueAsInt("Value"); in SVEEmitter()
1232 for (auto *R : RV) in createHeader()
1294 for (auto *R : RV) in createBuiltins()
1325 for (auto *R : RV) in createCodeGenMap()
[all …]
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DFixedAddressChecker.cpp46 SVal RV = C.getSVal(B->getRHS()); in checkPreStmt() local
48 if (!RV.isConstant() || RV.isZeroConstant()) in checkPreStmt()
H A DPointerSubChecker.cpp42 SVal RV = C.getSVal(B->getRHS()); in checkPreStmt() local
45 const MemRegion *RR = RV.getAsRegion(); in checkPreStmt()
/llvm-project-15.0.7/llvm/lib/TableGen/
H A DJSONBackend.cpp144 for (const RecordVal &RV : Def.getValues()) { in run() local
145 if (!Def.isTemplateArg(RV.getNameInit())) { in run()
146 auto Name = RV.getNameInitAsString(); in run()
147 if (RV.isNonconcreteOK()) in run()
149 obj[Name] = translateInit(*RV.getValue()); in run()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dcxx0x-defaulted-functions.cpp267 using RV=T&; typedef
275 auto operator=(RC<A>) -> RV<A> = default;
276 auto operator=(RM<A>) -> RV<A> = default;
283 auto operator = (RC<B>) -> RV<B> = delete;
284 auto operator = (RM<B>) -> RV<B> = delete;
/llvm-project-15.0.7/libcxxabi/test/
H A Dcxa_thread_atexit_test.pass.cpp27 int RV = __cxxabiv1::__cxa_thread_atexit( in main() local
30 assert(RV == 4); in main()
/llvm-project-15.0.7/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()
395 FPReturnVariant RV = whichFPReturnVariant(T); in fixupFPReturnAndCall() local
396 if (RV == NoFPRet) continue; in fixupFPReturnAndCall()
401 const char *Name = Helper[RV]; in fixupFPReturnAndCall()
/llvm-project-15.0.7/llvm/test/CodeGen/Generic/
H A D2004-05-09-LiveVarPartialRegister.ll10 %RV = sub i32 1, %cast2 ; <i32> [#uses=1]
11 ret i32 %RV
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGCall.h217 RValue RV; member
229 : RV(rv), HasLV(false), IsUsed(false), Ty(ty) {} in CallArg()
245 return RV; in getKnownRValue()
249 RV = _RV; in setRValue()
252 bool isAggregate() const { return HasLV || RV.isAggregate(); } in isAggregate()
H A DCGCoroutine.cpp172 RValue RV; member
251 Res.RV = CGF.EmitAnyExpr(S.getResumeExpr(), aggSlot, ignoreResult); in emitSuspendExpression()
266 ignoreResult, /*forLValue*/false).RV; in EmitCoawaitExpr()
272 aggSlot, ignoreResult, /*forLValue*/false).RV; in EmitCoyieldExpr()
277 const Expr *RV = S.getOperand(); in EmitCoreturnStmt() local
278 if (RV && RV->getType()->isVoidType() && !isa<InitListExpr>(RV)) { in EmitCoreturnStmt()
282 EmitIgnoredExpr(RV); in EmitCoreturnStmt()
H A DCGObjCRuntime.cpp438 RValue RV = I->getRValue(CGF); in destroyCalleeDestroyedArguments() local
439 assert(RV.isScalar() && in destroyCalleeDestroyedArguments()
441 CGF.EmitARCRelease(RV.getScalarVal(), ARCImpreciseLifetime); in destroyCalleeDestroyedArguments()
446 RValue RV = I->getRValue(CGF); in destroyCalleeDestroyedArguments() local
450 CGF.destroyCXXObject(CGF, RV.getAggregateAddress(), QT); in destroyCalleeDestroyedArguments()
453 CGF.destroyNonTrivialCStruct(CGF, RV.getAggregateAddress(), QT); in destroyCalleeDestroyedArguments()
H A DCGStmt.cpp1214 if (RV.isScalar()) { in EmitReturnOfRValue()
1216 } else if (RV.isAggregate()) { in EmitReturnOfRValue()
1295 const Expr *RV = S.getRetValue(); in EmitReturnStmt() local
1305 SaveRetExprRAII SaveRetExpr(RV, *this); in EmitReturnStmt()
1309 RV = EWC->getSubExpr(); in EmitReturnStmt()
1327 } else if (!ReturnValue.isValid() || (RV && RV->getType()->isVoidType())) { in EmitReturnStmt()
1330 if (RV) { in EmitReturnStmt()
1331 EmitAnyExpr(RV); in EmitReturnStmt()
1335 } else if (!RV) { in EmitReturnStmt()
1348 EmitComplexExprIntoLValue(RV, MakeAddrLValue(ReturnValue, RV->getType()), in EmitReturnStmt()
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DEvaluator.cpp281 Constant *Evaluator::castCallResultIfNeeded(Type *ReturnType, Constant *RV) { in castCallResultIfNeeded() argument
282 if (!RV || RV->getType() == ReturnType) in castCallResultIfNeeded()
283 return RV; in castCallResultIfNeeded()
285 RV = ConstantFoldLoadThroughBitcast(RV, ReturnType, DL); in castCallResultIfNeeded()
286 if (!RV) in castCallResultIfNeeded()
288 return RV; in castCallResultIfNeeded()
H A DVNCoercion.cpp495 Value *RV = NewLoad; in getLoadValueForLoad() local
497 RV = Builder.CreateLShr(RV, (NewLoadSize - SrcValStoreSize) * 8); in getLoadValueForLoad()
498 RV = Builder.CreateTrunc(RV, SrcVal->getType()); in getLoadValueForLoad()
499 SrcVal->replaceAllUsesWith(RV); in getLoadValueForLoad()
/llvm-project-15.0.7/llvm/tools/llvm-exegesis/lib/
H A DBenchmarkResult.cpp254 static void output(const exegesis::RegisterValue &RV, void *Ctx, in output()
257 Out << Context.getRegName(RV.Register) << "=0x" in output()
258 << toString(RV.Value, kRadix, kSigned); in output()
262 exegesis::RegisterValue &RV) { in input()
269 RV.Register = *RegNo; in input()
271 RV.Value = APInt(BitsNeeded, Pieces[1], kRadix); in input()
/llvm-project-15.0.7/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()
783 const RefVal *RV = getRefBinding(EndN->getState(), Sym); in getEndPath() local
784 assert(RV); in getEndPath()
786 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()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachineFunctionPass.cpp85 bool RV = runOnMachineFunction(MF); in runOnFunction() local
129 return RV; in runOnFunction()
/llvm-project-15.0.7/clang/test/Layout/
H A Dms-x86-alias-avoidance-padding.cpp255 struct RV {}; struct
264 struct RX6 : virtual RV { RB a; };
/llvm-project-15.0.7/llvm/lib/Target/Lanai/
H A DLanaiRegisterInfo.td34 def RV : LanaiReg< 8, "rv", [R8]>, DwarfRegAlias<R8>;
51 R8, RV, // return value
/llvm-project-15.0.7/llvm/lib/Target/VE/
H A DVEInstrVec.td445 def "" : RV<opc, (outs RC:$vx), dag_in,
489 def "" : RV<opc, (outs RC:$vx), dag_in,
530 def "" : RV<opc, (outs RC:$vx), dag_in,
553 // Generic RV multiclass with 2 arguments.
593 // Generic RV multiclass with 1 argument.
601 // Generic RV multiclass with no argument.
633 // Special RV multiclass with 3 arguments.
693 def "" : RV<opc, (outs RC:$vx), dag_in,
731 // special RV multiclass with 3 arguments for VSHF.
787 def m : RV<opc, (outs RCM:$vx), (ins RCM:$vy),
[all …]
/llvm-project-15.0.7/libcxx/test/std/input.output/filesystems/class.path/path.member/
H A Dpath.compare.pass.cpp90 const std::basic_string_view<path::value_type> RV(R); in test_compare_basic() local
100 int ret4 = normalize_ret(p1.compare(RV)); in test_compare_basic()

12345