Home
last modified time | relevance | path

Searched refs:VR (Results 1 – 25 of 55) sorted by relevance

123

/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dsplitkit-copy-bundle.mir91 ; VR-LABEL: name: splitkit_copy_bundle
92 ; VR: bb.0:
93 ; VR-NEXT: successors: %bb.1(0x80000000)
94 ; VR-NEXT: {{ $}}
100 ; VR-NEXT: {{ $}}
101 ; VR-NEXT: bb.1:
104 ; VR-NEXT: {{ $}}
164 ; VR-NEXT: {{ $}}
165 ; VR-NEXT: bb.2:
168 ; VR-NEXT: {{ $}}
[all …]
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonGenInsert.cpp445 Seq.push_back(VR); in insert()
447 Seq.insert(L, VR); in insert()
940 for (unsigned VR = InsDefs.find_first(); VR; VR = InsDefs.find_next(VR)) { in collectInBlock() local
949 if (findSelfReference(VR) || isSmallConstant(VR)) in collectInBlock()
961 for (unsigned VR = InsDefs.find_first(); VR; VR = InsDefs.find_next(VR)) in collectInBlock() local
962 AVs.insert(VR); in collectInBlock()
971 for (unsigned VR = BlockDefs.find_first(); VR; VR = BlockDefs.find_next(VR)) in collectInBlock() local
972 AVs.remove(VR); in collectInBlock()
984 Regs[S].insert(VR); in findRemovableRegisters()
1023 RMs.remove(VR); in findRemovableRegisters()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoV.td1025 (VMSLT_VV VR:$vd, VR:$vb, VR:$va, VMaskOp:$vm), 0>;
1242 (VFSGNJN_VV VR:$vd, VR:$vs, VR:$vs, VMaskOp:$vm)>;
1244 (VFSGNJN_VV VR:$vd, VR:$vs, VR:$vs, zero_reg)>;
1246 (VFSGNJX_VV VR:$vd, VR:$vs, VR:$vs, VMaskOp:$vm)>;
1248 (VFSGNJX_VV VR:$vd, VR:$vs, VR:$vs, zero_reg)>;
1390 (VMAND_MM VR:$vd, VR:$vs, VR:$vs)>;
1392 (VMXOR_MM VR:$vd, VR:$vd, VR:$vd)>;
1394 (VMXNOR_MM VR:$vd, VR:$vd, VR:$vd)>;
1396 (VMNAND_MM VR:$vd, VR:$vs, VR:$vs)>;
1399 (VMANDN_MM VR:$vd, VR:$vs2, VR:$vs1), 0>;
[all …]
H A DRISCVInstrInfoVVLPatterns.td1478 VR:$rs1, VR:$rs2, GPR:$vl, mti.Log2SEW)>;
1479 def : Pat<(mti.Mask (riscv_vmor_vl VR:$rs1, VR:$rs2, VLOpFrag)),
1481 VR:$rs1, VR:$rs2, GPR:$vl, mti.Log2SEW)>;
1484 VR:$rs1, VR:$rs2, GPR:$vl, mti.Log2SEW)>;
1490 VR:$rs1, VR:$rs2, GPR:$vl, mti.Log2SEW)>;
1495 VR:$rs1, VR:$rs2, GPR:$vl, mti.Log2SEW)>;
1501 VR:$rs1, VR:$rs2, GPR:$vl, mti.Log2SEW)>;
1507 VR:$rs1, VR:$rs2, GPR:$vl, mti.Log2SEW)>;
1512 VR:$rs1, VR:$rs2, GPR:$vl, mti.Log2SEW)>;
1517 VR:$rs1, VR:$rs2, GPR:$vl, mti.Log2SEW)>;
[all …]
H A DRISCVInstrInfoVSDPatterns.td792 def : Pat<(mti.Mask (and VR:$rs1, VR:$rs2)),
794 VR:$rs1, VR:$rs2, mti.AVL, mti.Log2SEW)>;
795 def : Pat<(mti.Mask (or VR:$rs1, VR:$rs2)),
797 VR:$rs1, VR:$rs2, mti.AVL, mti.Log2SEW)>;
798 def : Pat<(mti.Mask (xor VR:$rs1, VR:$rs2)),
802 def : Pat<(mti.Mask (rvv_vnot (and VR:$rs1, VR:$rs2))),
805 def : Pat<(mti.Mask (rvv_vnot (or VR:$rs1, VR:$rs2))),
808 def : Pat<(mti.Mask (rvv_vnot (xor VR:$rs1, VR:$rs2))),
812 def : Pat<(mti.Mask (and VR:$rs1, (rvv_vnot VR:$rs2))),
815 def : Pat<(mti.Mask (or VR:$rs1, (rvv_vnot VR:$rs2))),
[all …]
H A DRISCVInstrInfoVPseudos.td87 def V_M1 : LMULInfo<0b000, 8, VR, VRM2, VR, VR, VR, "M1">;
88 def V_M2 : LMULInfo<0b001, 16, VRM2, VRM4, VR, VR, VR, "M2">;
89 def V_M4 : LMULInfo<0b010, 32, VRM4, VRM8, VRM2, VR, VR, "M4">;
90 def V_M8 : LMULInfo<0b011, 64, VRM8,/*NoVReg*/VR, VRM4, VRM2, VR, "M8">;
92 def V_MF8 : LMULInfo<0b101, 1, VR, VR,/*NoVReg*/VR,/*NoVReg*/VR,/*NoVReg*/VR, "MF8">;
93 def V_MF4 : LMULInfo<0b110, 2, VR, VR, VR,/*NoVReg*/VR,/*NoVReg*/VR, "MF4">;
94 def V_MF2 : LMULInfo<0b111, 4, VR, VR, VR, VR,/*NoVReg*/VR, "MF2">;
1944 def "_MM_" # m.MX : VPseudoBinaryNoMask<VR, VR, VR, "", /*DummyMask*/0>,
3710 mti.Log2SEW, VR, VR>;
4169 VR, vti.RegClass, VR>;
[all …]
/llvm-project-15.0.7/compiler-rt/lib/profile/
H A DInstrProfilingMergeFile.c28 ValueProfRecord *VR = getFirstValueProfRecord(SrcValueProfData); in lprofMergeValueProfData() local
30 VData = getValueProfRecordValueData(VR); in lprofMergeValueProfData()
32 for (S = 0; S < VR->NumValueSites; S++) { in lprofMergeValueProfData()
33 uint8_t NV = VR->SiteCountArray[S]; in lprofMergeValueProfData()
41 VR = getValueProfRecordNext(VR); in lprofMergeValueProfData()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DStackAddrEscapeChecker.cpp96 } else if (const auto *VR = dyn_cast<VarRegion>(R)) { in genName() local
97 os << "stack memory associated with local variable '" << VR->getString() in genName()
99 range = VR->getDecl()->getSourceRange(); in genName()
341 const MemRegion *VR = Val.getAsRegion(); in checkEndFunction() local
342 if (!VR) in checkEndFunction()
345 if (checkForDanglingStackVariable(Region, VR)) in checkEndFunction()
351 if (VR && VR->hasStackStorage() && !isArcManagedBlock(VR, Ctx) && in checkEndFunction()
352 !isNotInCurrentFrame(VR, Ctx)) in checkEndFunction()
353 V.emplace_back(Region, VR); in checkEndFunction()
H A DMacOSXAPIChecker.cpp96 if (const VarRegion *VR = dyn_cast<VarRegion>(RB)) { in CheckDispatchOnce() local
97 const VarDecl *VD = VR->getDecl(); in CheckDispatchOnce()
106 if (VR != R) in CheckDispatchOnce()
112 os << VR->getDecl()->getName() << '\''; in CheckDispatchOnce()
H A DMIGChecker.cpp132 const auto *VR = dyn_cast<VarRegion>(MR); in REGISTER_TRAIT_WITH_PROGRAMSTATE() local
133 if (VR && VR->hasStackParametersStorage() && in REGISTER_TRAIT_WITH_PROGRAMSTATE()
134 VR->getStackFrame()->inTopFrame()) in REGISTER_TRAIT_WITH_PROGRAMSTATE()
135 return cast<ParmVarDecl>(VR->getDecl()); in REGISTER_TRAIT_WITH_PROGRAMSTATE()
H A DUndefCapturedBlockVarChecker.cpp65 const VarRegion *VR = I.getCapturedRegion(); in checkPostStmt() local
66 const VarDecl *VD = VR->getDecl(); in checkPostStmt()
89 bugreporter::trackStoredValue(*V, VR, *R, in checkPostStmt()
H A DNSErrorChecker.cpp202 if (const VarRegion *VR = R->getAs<VarRegion>()) in parameterTypeFromSVal() local
204 stackReg = dyn_cast<StackArgumentsSpaceRegion>(VR->getMemorySpace())) in parameterTypeFromSVal()
206 return VR->getValueType(); in parameterTypeFromSVal()
/llvm-project-15.0.7/clang/unittests/StaticAnalyzer/
H A DSymbolReaperTest.cpp30 const VarRegion *VR = Eng.getRegionManager().getVarRegion(VD, SFC); in performTest() local
31 const FieldRegion *FR = Eng.getRegionManager().getFieldRegion(FD, VR); in performTest()
39 EXPECT_TRUE(SymReaper.isLiveRegion(VR)); in performTest()
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DInstrProf.cpp887 ValueProfRecord *VR = getFirstValueProfRecord(this); in deserializeTo() local
889 VR->deserializeTo(Record, SymTab); in deserializeTo()
890 VR = getValueProfRecordNext(VR); in deserializeTo()
918 ValueProfRecord *VR = getFirstValueProfRecord(this); in checkIntegrity() local
920 if (VR->Kind > IPVK_Last) in checkIntegrity()
923 VR = getValueProfRecordNext(VR); in checkIntegrity()
967 ValueProfRecord *VR = getFirstValueProfRecord(this); in swapBytesToHost() local
969 VR->swapBytes(Endianness, getHostEndianness()); in swapBytesToHost()
970 VR = getValueProfRecordNext(VR); in swapBytesToHost()
983 VR->swapBytes(getHostEndianness(), Endianness); in swapBytesFromHost()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/CSKY/
H A DCSKYFrameLowering.cpp180 Register VR = in emitPrologue() local
182 BuildMI(MBB, MBBI, DL, TII->get(CSKY::LSRI32), VR) in emitPrologue()
186 .addReg(VR) in emitPrologue()
189 Register VR = in emitPrologue() local
191 BuildMI(MBB, MBBI, DL, TII->get(CSKY::MOV16), VR).addReg(SPReg); in emitPrologue()
192 BuildMI(MBB, MBBI, DL, TII->get(CSKY::LSRI16), VR) in emitPrologue()
193 .addReg(VR) in emitPrologue()
195 BuildMI(MBB, MBBI, DL, TII->get(CSKY::LSLI16), VR) in emitPrologue()
196 .addReg(VR) in emitPrologue()
198 BuildMI(MBB, MBBI, DL, TII->get(CSKY::MOV16), SPReg).addReg(VR); in emitPrologue()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DSymbolManager.cpp447 if (const auto *VR = dyn_cast<VarRegion>(MR)) in isLiveRegion() local
448 return isLive(VR, true); in isLiveRegion()
529 bool SymbolReaper::isLive(const VarRegion *VR, bool includeStoreBindings) const{ in isLive() argument
530 const StackFrameContext *VarContext = VR->getStackFrame(); in isLive()
549 if (LCtx->getAnalysis<RelaxedLiveVariables>()->isLive(Loc, VR->getDecl())) in isLive()
556 const_cast<SymbolReaper *>(this)->includedRegionCache[VR]; in isLive()
565 reapedStore.getStoreManager().includedInBindings(store, VR); in isLive()
H A DMemRegion.cpp724 else if (VR) { in sourceRange()
725 return VR->getDecl()->getSourceRange(); in sourceRange()
941 if (VR->getDecl() == VD) in getStackOrCaptureRegionForDeclContext()
1612 const VarRegion *VR = nullptr; in getCaptureRegions() local
1616 VR = MemMgr.getNonParamVarRegion(VD, this); in getCaptureRegions()
1621 VR = MemMgr.getVarRegion(VD, LC); in getCaptureRegions()
1622 OriginalVR = VR; in getCaptureRegions()
1629 return std::make_pair(VR, OriginalVR); in getCaptureRegions()
1658 const VarRegion *VR = nullptr; in LazyInitializeReferencedVars() local
1661 assert(VR); in LazyInitializeReferencedVars()
[all …]
H A DBugReporterVisitors.cpp649 const MemRegion *VR = V.getAsRegion(); in findRegionOfInterestInRecord() local
654 if (RegionOfInterest == VR) in findRegionOfInterestInRecord()
1252 if (DS->getSingleDecl() != VR->getDecl()) in isInitializationOfVar()
1265 assert(VR->getDecl()->hasLocalStorage()); in isInitializationOfVar()
1342 const auto *VR = cast<VarRegion>(SI.Dest); in showBRParamDiagnostics() local
1367 if (VR->canPrintPretty()) { in showBRParamDiagnostics()
1369 VR->printPretty(OS); in showBRParamDiagnostics()
1426 if (isInitializationOfVar(Pred, VR)) { in VisitNode()
1428 InitE = VR->getDecl()->getInit(); in VisitNode()
1596 const auto *VR = dyn_cast<VarRegion>(R); in VisitNode() local
[all …]
H A DRegionStore.cpp1094 const VarRegion *VR = BI.getCapturedRegion(); in VisitCluster() local
1095 const VarDecl *VD = VR->getDecl(); in VisitCluster()
1097 AddToWorkList(VR); in VisitCluster()
1099 else if (Loc::isLocType(VR->getValueType())) { in VisitCluster()
1491 if (const VarRegion *VR = dyn_cast<VarRegion>(R)) { in getBinding() local
1732 const VarRegion *VR = dyn_cast<VarRegion>(Base); in getConstantValFromConstArrayInitializer() local
1733 if (!VR) in getConstantValFromConstArrayInitializer()
1741 const VarDecl *VD = VR->getDecl(); in getConstantValFromConstArrayInitializer()
1977 if (const auto *VR = dyn_cast<VarRegion>(superR)) { in getBindingForField() local
1978 const VarDecl *VD = VR->getDecl(); in getBindingForField()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DSuspiciousEnumUsageCheck.cpp101 ValueRange VR(EnumDec); in isPossiblyBitMask() local
106 (VR.MaxVal - VR.MinVal != EnumLen - 1) && in isPossiblyBitMask()
/llvm-project-15.0.7/llvm/test/CodeGen/SystemZ/
H A Dfp-move-13.ll5 ; VR-to-VR moves. Since f128s are passed by reference,
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DREADME_P9.txt57 VR[VRT].word[i] ← EXTS32(VR[VRB].word[i].byte[3])
65 VR[VRT].word[i] ← EXTS32(VR[VRB].word[i].hword[1])
73 VR[VRT].dword[i] ← EXTS64(VR[VRB].dword[i].byte[7])
81 VR[VRT].dword[i] ← EXTS64(VR[VRB].dword[i].hword[3])
89 VR[VRT].dword[i] ← EXTS64(VR[VRB].dword[i].word[1])
122 sh ← VR[VRB].byte[i].bit[5:7]
123 VR[VRT].byte[i] ← src.byte[i:i+1].bit[sh:sh+7]
126 VR[VRT].byte[i] is composed of 2 bytes from src.byte[i:i+1]
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Daddr-of-overloaded-function.cpp217 void VR() volatile __restrict {}; in VR() function
229 …X = &Qualifiers::VR; // expected-error-re{{assigning to 'void (test1::Qualifiers::*)(){{( __attrib… in QualifierTest()
/llvm-project-15.0.7/llvm/lib/Target/Mips/
H A DMipsSEFrameLowering.cpp174 Register VR = MRI.createVirtualRegister(RC); in expandLoadCCond() local
177 TII.loadRegFromStack(MBB, I, VR, FI, RC, &RegInfo, 0); in expandLoadCCond()
179 .addReg(VR, RegState::Kill); in expandLoadCCond()
189 Register VR = MRI.createVirtualRegister(RC); in expandStoreCCond() local
192 BuildMI(MBB, I, I->getDebugLoc(), TII.get(TargetOpcode::COPY), VR) in expandStoreCCond()
194 TII.storeRegToStack(MBB, I, VR, true, FI, RC, &RegInfo, 0); in expandStoreCCond()
540 Register VR = MF.getRegInfo().createVirtualRegister(RC); in emitPrologue() local
545 BuildMI(MBB, MBBI, dl, TII.get(ADDiu), VR).addReg(ZERO).addImm(MaxAlign); in emitPrologue()
546 BuildMI(MBB, MBBI, dl, TII.get(AND), SP).addReg(SP).addReg(VR); in emitPrologue()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.cpp171 const VarRegion *VR = I.getCapturedRegion(); in checkPostStmt() local
172 if (VR->getSuperRegion() == R) { in checkPostStmt()
173 VR = MemMgr.getVarRegion(VR->getDecl(), LC); in checkPostStmt()
175 Regions.push_back(VR); in checkPostStmt()
509 const auto *VR = dyn_cast<VarRegion>(R); in shouldEscapeRegion() local
511 if (!R->hasStackStorage() || !VR) in shouldEscapeRegion()
514 const VarDecl *VD = VR->getDecl(); in shouldEscapeRegion()

123