Home
last modified time | relevance | path

Searched refs:SR (Results 1 – 25 of 220) sorted by relevance

123456789

/llvm-project-15.0.7/llvm/test/CodeGen/RISCV/
H A Dsaverestore.ll23 ; RV32I-SR-LABEL: callee_saved0:
27 ; RV64I-SR-LABEL: callee_saved0:
155 ; RV32I-SR-LABEL: tail_call:
160 ; RV64I-SR-LABEL: tail_call:
195 ; RV32I-SR-LABEL: varargs:
199 ; RV64I-SR-LABEL: varargs:
231 ; RV32I-SR-LABEL: many_args:
235 ; RV64I-SR-LABEL: many_args:
271 ; RV32I-SR-LABEL: alloca:
277 ; RV64I-SR-LABEL: alloca:
[all …]
H A Dshrinkwrap.ll38 ; RV32I-SW-SR-LABEL: eliminate_restore:
39 ; RV32I-SW-SR: # %bb.0:
40 ; RV32I-SW-SR-NEXT: li a1, 32
42 ; RV32I-SW-SR-NEXT: # %bb.1: # %if.end
43 ; RV32I-SW-SR-NEXT: ret
46 ; RV32I-SW-SR-NEXT: call abort@plt
116 ; RV32I-SW-SR: # %bb.0:
117 ; RV32I-SW-SR-NEXT: li a1, 32
124 ; RV32I-SW-SR-NEXT: sub a0, sp, a0
125 ; RV32I-SW-SR-NEXT: mv sp, a0
[all …]
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DRenameIndependentSubregs.cpp69 LiveInterval::SubRange *SR; member
74 : ConEQ(LIS), SR(&SR), Index(Index) {} in SubRangeInfo()
186 const LiveInterval::SubRange &SR = *SRInfo.SR; in findComponents() local
187 if ((SR.LaneMask & LaneMask).none()) in findComponents()
231 const LiveInterval::SubRange &SR = *SRInfo.SR; in rewriteOperands() local
232 if ((SR.LaneMask & LaneMask).none()) in rewriteOperands()
273 LiveInterval::SubRange &SR = *SRInfo.SR; in distribute() local
274 unsigned NumValNos = SR.valnos.size(); in distribute()
280 const VNInfo &VNI = *SR.valnos[I]; in distribute()
293 if (SR.liveAt(Pos)) in subRangeLiveAt()
[all …]
H A DVirtRegMap.cpp305 for (const LiveInterval::SubRange &SR : LI.subranges()) { in addLiveInsForSubRanges() local
306 SubRanges.push_back(std::make_pair(&SR, SR.begin())); in addLiveInsForSubRanges()
308 First = SR.segments.front().start; in addLiveInsForSubRanges()
309 if (!Last.isValid() || SR.segments.back().end > Last) in addLiveInsForSubRanges()
310 Last = SR.segments.back().end; in addLiveInsForSubRanges()
322 const LiveInterval::SubRange *SR = RangeIterPair.first; in addLiveInsForSubRanges() local
324 while (SRI != SR->end() && SRI->end <= MBBBegin) in addLiveInsForSubRanges()
326 if (SRI == SR->end()) in addLiveInsForSubRanges()
329 LaneMask |= SR->LaneMask; in addLiveInsForSubRanges()
400 for (const LiveInterval::SubRange &SR : LI.subranges()) { in readsUndefSubreg() local
[all …]
H A DLiveInterval.cpp880 for (VNInfo *VNI : SR.valnos) { in stripValuesNotDefiningMask()
910 SR.removeValNo(VNI); in stripValuesNotDefiningMask()
922 for (SubRange &SR : subranges()) { in refineSubRanges()
923 LaneBitmask SRMask = SR.LaneMask; in refineSubRanges()
931 MatchingRange = &SR; in refineSubRanges()
942 stripValuesNotDefiningMask(reg(), SR, SR.LaneMask, Indexes, TRI, in refineSubRanges()
1036 OS << SR; in print()
1081 Mask |= SR.LaneMask; in verify()
1086 assert(!SR.empty()); in verify()
1088 SR.verify(); in verify()
[all …]
H A DDeadMachineInstructionElim.cpp160 for (MCSubRegIterator SR(Reg, TRI,/*IncludeSelf=*/true); in eliminateDeadMI() local
161 SR.isValid(); ++SR) in eliminateDeadMI()
162 LivePhysRegs.reset(*SR); in eliminateDeadMI()
/llvm-project-15.0.7/clang/utils/TableGen/
H A DRISCVVEmitter.cpp560 SemaRecord SR; in createRVVIntrinsics() local
561 SR.Name = Name.str(); in createRVVIntrinsics()
575 SR.RequiredExtensions = 0; in createRVVIntrinsics()
585 SR.NF = NF; in createRVVIntrinsics()
586 SR.HasMasked = HasMasked; in createRVVIntrinsics()
587 SR.HasVL = HasVL; in createRVVIntrinsics()
593 SemaRecords->push_back(SR); in createRVVIntrinsics()
614 R.Name = SR.Name.c_str(); in createRVVIntrinsicRecords()
625 R.NF = SR.NF; in createRVVIntrinsicRecords()
626 R.HasMasked = SR.HasMasked; in createRVVIntrinsicRecords()
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/Mips/
H A Dhelloworld.ll7 …inux-gnu -march=mipsel -mattr=mips16 -relocation-model=pic -O3 < %s | FileCheck %s -check-prefix=SR
18 ; SR: .set mips16
22 ; SR-NOT: .set noreorder
23 ; SR-NOT: .set nomacro
24 ; SR-NOT: .set noat
28 ; SR: save $ra, 24 # 16 bit inst
39 ; SR: restore $ra, 24 # 16 bit inst
50 ; SR-NOT: .set at
51 ; SR-NOT: .set macro
52 ; SR-NOT: .set reorder
[all …]
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DDynamicType.cpp55 if (const auto *SR = dyn_cast<SymbolicRegion>(MR)) { in getDynamicTypeInfo() local
56 SymbolRef Sym = SR->getSymbol(); in getDynamicTypeInfo()
158 static bool isLive(SymbolReaper &SR, const MemRegion *MR) { in isLive() argument
159 return SR.isLiveRegion(MR); in isLive()
162 static bool isLive(SymbolReaper &SR, SymbolRef Sym) { return SR.isLive(Sym); } in isLive() argument
169 if (!isLive(SR, Elem.first)) in removeDeadImpl()
175 ProgramStateRef removeDeadTypes(ProgramStateRef State, SymbolReaper &SR) { in removeDeadTypes() argument
176 return removeDeadImpl<DynamicTypeMap>(State, SR); in removeDeadTypes()
180 return removeDeadImpl<DynamicCastMap>(State, SR); in removeDeadCasts()
184 SymbolReaper &SR) { in removeDeadClassObjectTypes() argument
[all …]
H A DStore.cpp289 if (const auto *SR = in evalDerivedToBase() local
291 if (SR->getSymbol()->getType()->getPointeeCXXRecordDecl() == BaseDecl) in evalDerivedToBase()
292 return loc::MemRegionVal(SR); in evalDerivedToBase()
312 if (const auto *SR = dyn_cast<SymbolicRegion>(MR)) in getCXXRecordType() local
313 return SR->getSymbol()->getType()->getPointeeCXXRecordDecl(); in getCXXRecordType()
382 if (const auto *SR = dyn_cast<SymbolicRegion>(MR)) { in evalBaseToDerived() local
383 QualType T = SR->getSymbol()->getType(); in evalBaseToDerived()
387 MRMgr.getCXXDerivedObjectRegion(TargetClass, SR)); in evalBaseToDerived()
388 return loc::MemRegionVal(GetElementZeroRegion(SR, TargetType)); in evalBaseToDerived()
/llvm-project-15.0.7/llvm/lib/Target/MSP430/
H A DMSP430InstrInfo.td268 let Uses = [SR] in
629 let Defs = [SR] in {
641 let Uses = [SR] in {
652 } // Uses = [SR]
660 } // Defs = [SR]
676 let Defs = [SR] in {
693 let Uses = [SR] in {
710 } // Uses = [SR]
721 } // Defs = [SR]
731 let Defs = [SR] in {
[all …]
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DUnusedRaiiCheck.cpp42 void reportDiagnostic(DiagnosticBuilder D, const T *Node, SourceRange SR, in reportDiagnostic() argument
49 D << FixItHint::CreateReplacement(CharSourceRange::getTokenRange(SR), in reportDiagnostic()
57 D << FixItHint::CreateInsertion(SR.getBegin(), Replacement); in reportDiagnostic()
85 auto SR = SourceRange(Node->getLParenLoc(), Node->getRParenLoc()); in check() local
92 SR = SourceRange(ILE->getLBraceLoc(), ILE->getRBraceLoc()); in check()
95 reportDiagnostic(D, Node, SR, DefaultConstruction); in check()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/JITLink/
H A DDefineExternalSectionStartAndEndSymbols.h52 auto &SR = getSectionRange(*D.Sec); in operator() local
54 if (SR.empty()) in operator()
57 G.makeDefined(*Sym, *SR.getFirstBlock(), 0, 0, Linkage::Strong, in operator()
60 if (SR.empty()) in operator()
63 G.makeDefined(*Sym, *SR.getLastBlock(), in operator()
64 SR.getLastBlock()->getSize(), 0, Linkage::Strong, in operator()
/llvm-project-15.0.7/llvm/test/tools/llvm-readobj/ELF/
H A Dsections-ext.test42 # SR-NEXT: Relocations [
43 # SR-NEXT: ]
62 # SR-NEXT: Relocations [
63 # SR-NEXT: ]
91 # SR-NEXT: Relocations [
93 # SR-NEXT: ]
114 # SR-NEXT: Relocations [
115 # SR-NEXT: ]
133 # SR-NEXT: ]
156 # SR-NEXT: ]
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/XCore/
H A Depilogue_prologue.ll4 ; When using SP for small frames, we don't need any scratch registers (SR).
8 ; FP + small frame: spill FP+SR = entsp 2
29 ; FP + small frame: spill FP+SR+R0+LR = entsp 3 + extsp 1
62 ; FP + large frame: spill FP+SR = entsp 2 + 100000
78 ; !FP + large frame: spill SR+SR = entsp 2 + 100000
94 ; FP + large frame: spill FP+SR+R4+LR = entsp 3 + 200000 + extsp 1
139 ; !FP + large frame: spill SR+SR+R4+LR = entsp 4 + 200000
187 ; FP + large frame: spill FP+SR+LR = entsp 2 + 256 + extsp 1
201 ; !FP + large frame: spill SR+SR+LR = entsp 3 + 256
215 ; FP + large frame: spill FP+SR+LR = entsp 2 + 32768 + extsp 1
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DSemanticSelection.cpp42 llvm::Optional<FoldingRange> toFoldingRange(SourceRange SR, in toFoldingRange() argument
44 const auto Begin = SM.getDecomposedLoc(SR.getBegin()), in toFoldingRange()
45 End = SM.getDecomposedLoc(SR.getEnd()); in toFoldingRange()
132 auto SR = toHalfOpenFileRange(SM, LangOpts, Node->ASTNode.getSourceRange()); in getSemanticRanges() local
133 if (!SR || SM.getFileID(SR->getBegin()) != SM.getMainFileID()) { in getSemanticRanges()
137 R.start = sourceLocToPosition(SM, SR->getBegin()); in getSemanticRanges()
138 R.end = sourceLocToPosition(SM, SR->getEnd()); in getSemanticRanges()
/llvm-project-15.0.7/llvm/lib/DebugInfo/CodeView/
H A DRecordSerialization.cpp107 BinaryStreamReader SR(S); in consume() local
108 auto EC = consume(SR, Num); in consume()
109 Data = Data.take_back(SR.bytesRemaining()); in consume()
133 BinaryStreamReader SR(S); in consume() local
134 auto EC = consume(SR, Item); in consume()
135 Data = Data.take_back(SR.bytesRemaining()); in consume()
H A DStringsAndChecksums.cpp32 const DebugSubsectionRecord &SR) { in initializeStrings() argument
33 assert(SR.kind() == DebugSubsectionKind::StringTable); in initializeStrings()
37 consumeError(OwnedStrings->initialize(SR.getRecordData())); in initializeStrings()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DMacOSXAPIChecker.cpp56 const SubRegion *SR = dyn_cast<SubRegion>(R); in getParentIvarRegion() local
57 while (SR) { in getParentIvarRegion()
58 if (const ObjCIvarRegion *IR = dyn_cast<ObjCIvarRegion>(SR)) in getParentIvarRegion()
60 SR = dyn_cast<SubRegion>(SR->getSuperRegion()); in getParentIvarRegion()
H A DTaint.cpp80 if (const SymbolicRegion *SR = dyn_cast_or_null<SymbolicRegion>(R)) in addTaint() local
81 return addTaint(State, SR->getSymbol(), Kind); in addTaint()
107 if (const SymbolicRegion *SR = dyn_cast_or_null<SymbolicRegion>(R)) in removeTaint() local
108 return removeTaint(State, SR->getSymbol()); in removeTaint()
171 if (const SymbolicRegion *SR = dyn_cast<SymbolicRegion>(Reg)) in isTainted() local
172 return isTainted(State, SR->getSymbol(), K); in isTainted()
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DRDFCopy.cpp149 RegisterRef SR = FR->second; in run() local
150 if (DR == SR) in run()
153 NodeId AtCopy = getLocalReachingDef(SR, SA); in run()
166 NodeId AtUse = getLocalReachingDef(SR, IA); in run()
175 << " with " << Print<RegisterRef>(SR, DFG) << " in " in run()
179 unsigned NewReg = MinPhysReg(SR); in run()
204 J.second = SR; in run()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp350 SR.LineStart++; in adjustSkippedRange()
353 SR.LineEnd--; in adjustSkippedRange()
354 SR.ColumnEnd++; in adjustSkippedRange()
357 return SR; in adjustSkippedRange()
395 if (!SR) in gatherSkippedRegions()
398 *CovFileID, SR->LineStart, SR->ColumnStart, SR->LineEnd, in gatherSkippedRegions()
444 SR.LineEnd, SR.ColumnEnd)); in emitSourceRegions()
448 SR.LineStart, SR.ColumnStart, SR.LineEnd, SR.ColumnEnd)); in emitSourceRegions()
452 SR.LineEnd, SR.ColumnEnd)); in emitSourceRegions()
480 *ParentFileID, *ExpandedFileID, SR.LineStart, SR.ColumnStart, in emitExpansionRegions()
[all …]
/llvm-project-15.0.7/clang/tools/libclang/
H A DCXLoadedDiagnostic.cpp207 CXSourceRange &SR);
291 CXSourceRange &SR) { in readRange() argument
304 SR = clang_getRange(startLoc, endLoc); in readRange()
353 CXSourceRange SR; in visitSourceRangeRecord() local
354 if (std::error_code EC = readRange(Start, End, SR)) in visitSourceRangeRecord()
356 CurrentDiags.back()->Ranges.push_back(SR); in visitSourceRangeRecord()
364 CXSourceRange SR; in visitFixitRecord() local
365 if (std::error_code EC = readRange(Start, End, SR)) in visitFixitRecord()
371 std::make_pair(SR, TopDiags->copyString(CodeToInsert))); in visitFixitRecord()
/llvm-project-15.0.7/llvm/test/TableGen/
H A Dpseudo-inst-expansion.td17 def SR : SysReg<0b111100001111>;
34 [(set GPR:$rd, (i32 SR.Encoding))]>,
35 PseudoInstExpansion<(INSTR GPR:$rd, SR.Encoding)>;
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DDynamicType.h75 ProgramStateRef removeDeadTypes(ProgramStateRef State, SymbolReaper &SR);
78 ProgramStateRef removeDeadCasts(ProgramStateRef State, SymbolReaper &SR);
82 SymbolReaper &SR);

123456789