Home
last modified time | relevance | path

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

12345678910

/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DRISCVVEmitter.cpp639 SemaRecord SR; in createRVVIntrinsics() local
640 SR.Name = Name.str(); in createRVVIntrinsics()
654 SR.RequiredExtensions = 0; in createRVVIntrinsics()
680 SR.NF = NF; in createRVVIntrinsics()
681 SR.HasMasked = HasMasked; in createRVVIntrinsics()
682 SR.HasVL = HasVL; in createRVVIntrinsics()
691 SR.IsTuple = IsTuple; in createRVVIntrinsics()
715 R.Name = SR.Name.c_str(); in createRVVIntrinsicRecords()
726 R.NF = SR.NF; in createRVVIntrinsicRecords()
728 R.HasVL = SR.HasVL; in createRVVIntrinsicRecords()
[all …]
/freebsd/contrib/llvm-project/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.cpp883 for (VNInfo *VNI : SR.valnos) { in stripValuesNotDefiningMask()
913 SR.removeValNo(VNI); in stripValuesNotDefiningMask()
925 for (SubRange &SR : subranges()) { in refineSubRanges()
926 LaneBitmask SRMask = SR.LaneMask; in refineSubRanges()
934 MatchingRange = &SR; in refineSubRanges()
945 stripValuesNotDefiningMask(reg(), SR, SR.LaneMask, Indexes, TRI, in refineSubRanges()
1039 OS << SR; in print()
1084 Mask |= SR.LaneMask; in verify()
1089 assert(!SR.empty()); in verify()
1091 SR.verify(); in verify()
[all …]
H A DRegisterCoalescer.cpp1006 VNInfo *BSubValNo = SR.empty() ? SR.getNextValue(CopyIdx, Allocator) in removeCopyByCommutingDef()
1492 SR.LaneMask = TRI->composeSubRegIndexLaneMask(DstIdx, SR.LaneMask); in reMaterializeTrivialDef()
1527 MaxMask &= ~SR.LaneMask; in reMaterializeTrivialDef()
1555 << PrintLaneMask(SR.LaneMask) << " : " << SR << "\n"); in reMaterializeTrivialDef()
1574 if (SR.empty()) in reMaterializeTrivialDef()
1694 if (SR.liveAt(Idx)) in eliminateUndefCopy()
1745 SR.removeValNo(SVNI); in eliminateUndefCopy()
1764 if (SR.liveAt(UseIdx)) { in eliminateUndefCopy()
3466 if (I == SR.end()) in eraseInstrs()
3586 if (SR.empty()) { in mergeSubRangeInto()
[all …]
/freebsd/contrib/llvm-project/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.cpp288 if (const auto *SR = in evalDerivedToBase() local
290 if (SR->getSymbol()->getType()->getPointeeCXXRecordDecl() == BaseDecl) in evalDerivedToBase()
291 return loc::MemRegionVal(SR); in evalDerivedToBase()
311 if (const auto *SR = dyn_cast<SymbolicRegion>(MR)) in getCXXRecordType() local
312 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()
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430InstrInfo.td268 let Uses = [SR] in
630 let Defs = [SR] in {
642 let Uses = [SR] in {
653 } // Uses = [SR]
661 } // Defs = [SR]
677 let Defs = [SR] in {
694 let Uses = [SR] in {
711 } // Uses = [SR]
722 } // Defs = [SR]
732 let Defs = [SR] in {
[all …]
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Debugging/
H A DDebuggerSupportPlugin.cpp145 SectionRange SR(*DSec.GraphSec); in startSynthesis() local
146 DSec.BuilderSec->Content.Size = SR.getSize(); in startSynthesis()
147 if (!SR.empty()) { in startSynthesis()
203 SectionRange SR(*NDSP.GraphSec); in startSynthesis() local
204 if (!SR.empty()) in startSynthesis()
246 SectionRange SR(*NDSec.GraphSec); in completeSynthesisAndRegister() local
247 NDSec.BuilderSec->addr = SR.getStart().getValue(); in completeSynthesisAndRegister()
248 NDSec.BuilderSec->size = SR.getSize(); in completeSynthesisAndRegister()
249 NDSec.BuilderSec->offset = SR.getStart().getValue(); in completeSynthesisAndRegister()
250 if (SR.getEnd() > MaxAddr) in completeSynthesisAndRegister()
[all …]
H A DPerfSupportPlugin.cpp175 auto SR = SectionRange(*Eh_frame); in getUnwindingRecord() local
176 auto EHFrameSize = SR.getSize(); in getUnwindingRecord()
193 auto SR = SectionRange(*Eh_frame_hdr); in getUnwindingRecord() local
194 Record.EHFrameHdrAddr = SR.getStart().getValue(); in getUnwindingRecord()
195 Record.EHFrameHdrSize = SR.getSize(); in getUnwindingRecord()
199 Record.EHFrameAddr = SR.getStart().getValue(); in getUnwindingRecord()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMacOSXAPIChecker.cpp58 const SubRegion *SR = dyn_cast<SubRegion>(R); in getParentIvarRegion() local
59 while (SR) { in getParentIvarRegion()
60 if (const ObjCIvarRegion *IR = dyn_cast<ObjCIvarRegion>(SR)) in getParentIvarRegion()
62 SR = dyn_cast<SubRegion>(SR->getSuperRegion()); in getParentIvarRegion()
H A DTestAfterDivZeroChecker.cpp146 SymbolRef SR = Var.getAsSymbol(); in setDivZeroMap() local
147 if (!SR) in setDivZeroMap()
152 State->add<DivZeroMap>(ZeroState(SR, C.getBlockID(), C.getStackFrame())); in setDivZeroMap()
158 SymbolRef SR = Var.getAsSymbol(); in hasDivZeroMap() local
159 if (!SR) in hasDivZeroMap()
162 ZeroState ZS(SR, C.getBlockID(), C.getStackFrame()); in hasDivZeroMap()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCoverageMappingGen.cpp386 SR.LineEnd--; in adjustSkippedRange()
390 return SR; in adjustSkippedRange()
428 if (!SR) in gatherSkippedRegions()
431 *CovFileID, SR->LineStart, SR->ColumnStart, SR->LineEnd, in gatherSkippedRegions()
479 SR.LineEnd, SR.ColumnEnd)); in emitSourceRegions()
482 *CovFileID, SR.LineStart, SR.ColumnStart, SR.LineEnd, in emitSourceRegions()
488 SR.LineEnd, SR.ColumnEnd)); in emitSourceRegions()
492 SR.LineEnd, SR.ColumnEnd)); in emitSourceRegions()
496 SR.LineEnd, SR.ColumnEnd)); in emitSourceRegions()
524 *ParentFileID, *ExpandedFileID, SR.LineStart, SR.ColumnStart, in emitExpansionRegions()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DPrintPasses.cpp171 ArrayRef<StringRef> SR, in prepareTempFiles() argument
173 assert(FD.size() >= SR.size() && FileName.size() == FD.size() && in prepareTempFiles()
185 if (I < SR.size()) { in prepareTempFiles()
194 OutStream << SR[I]; in prepareTempFiles()
213 SmallVector<StringRef> SR{Before, After}; in doSystemDiff() local
215 if (prepareTempFiles(FD, SR, FileName)) in doSystemDiff()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DDynamicType.h73 ProgramStateRef removeDeadTypes(ProgramStateRef State, SymbolReaper &SR);
76 ProgramStateRef removeDeadCasts(ProgramStateRef State, SymbolReaper &SR);
80 SymbolReaper &SR);
/freebsd/contrib/llvm-project/llvm/lib/MCA/Stages/
H A DEntryStage.cpp39 SourceRef SR = SM.peekNext(); in getNextInstruction() local
40 std::unique_ptr<Instruction> Inst = std::make_unique<Instruction>(SR.second); in getNextInstruction()
41 CurrentInstruction = InstRef(SR.first, Inst.get()); in getNextInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZSubtarget.h64 template <class SR> SR &getSpecialRegisters() const { in getSpecialRegisters()
65 return *static_cast<SR *>(getSpecialRegisters()); in getSpecialRegisters()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopConstrainer.cpp460 MainLoopStructure(LS), SR(SR) {} in LoopConstrainer()
738 Increasing ? SR.LowLimit.has_value() : SR.HighLimit.has_value(); in run()
740 Increasing ? SR.HighLimit.has_value() : SR.LowLimit.has_value(); in run()
751 ExitPreLoopAtSCEV = *SR.LowLimit; in run()
752 else if (cannotBeMinInLoop(*SR.HighLimit, &OriginalLoop, SE, in run()
754 ExitPreLoopAtSCEV = SE.getAddExpr(*SR.HighLimit, MinusOneS); in run()
758 << *(*SR.HighLimit) << "\n"); in run()
778 ExitMainLoopAtSCEV = *SR.HighLimit; in run()
779 else if (cannotBeMinInLoop(*SR.LowLimit, &OriginalLoop, SE, in run()
781 ExitMainLoopAtSCEV = SE.getAddExpr(*SR.LowLimit, MinusOneS); in run()
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprObjC.cpp29 ObjCMethodDecl *Method, SourceRange SR) in ObjCArrayLiteral() argument
31 NumElements(Elements.size()), Range(SR), ArrayWithObjectsMethod(Method) { in ObjCArrayLiteral()
42 SourceRange SR) { in Create() argument
44 return new (Mem) ObjCArrayLiteral(Elements, T, Method, SR); in Create()
56 SourceRange SR) in ObjCDictionaryLiteral() argument
58 NumElements(VK.size()), HasPackExpansions(HasPackExpansions), Range(SR), in ObjCDictionaryLiteral()
81 ObjCMethodDecl *method, SourceRange SR) { in Create() argument
84 return new (Mem) ObjCDictionaryLiteral(VK, HasPackExpansions, T, method, SR); in Create()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DRDFCopy.cpp189 RegisterRef SR = FR->second; in run() local
190 if (PRI.equal_to(DR, SR)) in run()
193 auto &RDefSR = RDefMap[SR]; in run()
215 << " with " << Print<RegisterRef>(SR, DFG) << " in " in run()
219 unsigned NewReg = MinPhysReg(SR); in run()
244 J.second = SR; in run()
H A DHexagonGenExtract.cpp165 uint32_t SR = CSR->getZExtValue(); in INITIALIZE_PASS_DEPENDENCY() local
172 if (!LogicalSR && (SR > SL)) in INITIALIZE_PASS_DEPENDENCY()
174 APInt A = APInt(BW, ~0ULL).lshr(SR).shl(SL); in INITIALIZE_PASS_DEPENDENCY()
185 uint32_t U = BW - std::max(SL, SR); in INITIALIZE_PASS_DEPENDENCY()
216 Value *NewIn = IRB.CreateCall(ExtF, {BF, IRB.getInt32(W), IRB.getInt32(SR)}); in INITIALIZE_PASS_DEPENDENCY()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/
H A DSValExplainer.h47 if (const auto *SR = R->getSuperRegion()->getAs<SymbolicRegion>()) { in isThisObject() local
48 QualType Ty = SR->getPointeeStaticType(); in isThisObject()
51 return isThisObject(SR); in isThisObject()
71 if (auto SR = dyn_cast<SymbolicRegion>(R)) { in VisitMemRegionVal() local
73 if (!isThisObject(SR)) in VisitMemRegionVal()
74 return Visit(SR->getSymbol()); in VisitMemRegionVal()

12345678910