Searched refs:Provenance (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/flang/include/flang/Parser/ |
| H A D | provenance.h | 52 class Provenance { 54 Provenance() {} in Provenance() function 56 Provenance(const Provenance &that) = default; 57 Provenance(Provenance &&that) = default; 58 Provenance &operator=(const Provenance &that) = default; 59 Provenance &operator=(Provenance &&that) = default; 63 Provenance operator+(ptrdiff_t n) const { 68 std::size_t operator-(Provenance that) const { 145 const char &operator[](Provenance) const; 208 const Origin &MapToOrigin(Provenance) const; [all …]
|
| /llvm-project-15.0.7/flang/lib/Parser/ |
| H A D | token-sequence.h | 46 TokenSequence(const std::string &s, Provenance p) { Put(s, p); } in TokenSequence() 80 void PutNextTokenChar(char ch, Provenance provenance) { in PutNextTokenChar() 98 void Put(const char *, std::size_t, Provenance); 99 void Put(const CharBlock &, Provenance); 100 void Put(const std::string &, Provenance); 101 void Put(llvm::raw_string_ostream &, Provenance); 103 Provenance GetCharProvenance(std::size_t) const; 104 Provenance GetTokenProvenance(
|
| H A D | prescan.h | 70 Provenance GetCurrentProvenance() const { return GetProvenance(at_); } in GetCurrentProvenance() 114 Provenance GetProvenance(const char *sourceChar) const { in GetProvenance() 129 Provenance provenance{allSources_.CompilerInsertionProvenance(ch)}; in EmitInsertedChar() 199 Provenance startProvenance_; 228 const Provenance spaceProvenance_{ 230 const Provenance backslashProvenance_{
|
| H A D | token-sequence.cpp | 130 const char *s, std::size_t bytes, Provenance provenance) { in Put() 137 void TokenSequence::Put(const CharBlock &t, Provenance provenance) { in Put() 141 void TokenSequence::Put(const std::string &s, Provenance provenance) { in Put() 145 void TokenSequence::Put(llvm::raw_string_ostream &ss, Provenance provenance) { in Put() 281 Provenance TokenSequence::GetCharProvenance(std::size_t offset) const { in GetCharProvenance() 286 Provenance TokenSequence::GetTokenProvenance( in GetTokenProvenance()
|
| H A D | provenance.cpp | 137 Provenance after{source.NextAfter()}; in Invert() 157 const char &AllSources::operator[](Provenance at) const { in operator []() 295 Provenance at, std::size_t *offset) const { in GetSourceFile() 319 Provenance start{range.start()}; in GetSource() 327 Provenance prov) const { in GetSourcePosition() 354 std::string AllSources::GetPath(Provenance at) const { in GetPath() 359 int AllSources::GetLineNumber(Provenance at) const { in GetLineNumber() 365 Provenance AllSources::CompilerInsertionProvenance(char ch) { in CompilerInsertionProvenance() 371 Provenance newCharProvenance{newCharRange.start()}; in CompilerInsertionProvenance() 417 const AllSources::Origin &AllSources::MapToOrigin(Provenance at) const { in MapToOrigin()
|
| H A D | preprocessor.cpp | 79 Provenance quoteProvenance{allSources.CompilerInsertionProvenance('"')}; in Stringify() 86 Provenance from{tokens.GetTokenProvenance(j, k)}; in Stringify() 200 Provenance commaProvenance{ in Apply()
|
| H A D | prescan.cpp | 168 Provenance newlineProvenance{GetCurrentProvenance()}; in Statement() 839 Provenance provenance{GetProvenance(nextLine_)}; in FortranInclude()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | Local.cpp | 2878 Provenance.resize(BW); in BitPart() 2963 A->Provenance[BitIdx] != B->Provenance[BitIdx]) in collectBitParts() 2967 Result->Provenance[BitIdx] = B->Provenance[BitIdx]; in collectBitParts() 2969 Result->Provenance[BitIdx] = A->Provenance[BitIdx]; in collectBitParts() 2994 auto &P = Result->Provenance; in collectBitParts() 3040 Result->Provenance[BitIdx] = Res->Provenance[BitIdx]; in collectBitParts() 3055 Result->Provenance[BitIdx] = Res->Provenance[BitIdx]; in collectBitParts() 3069 Result->Provenance[(BitWidth - 1) - BitIdx] = Res->Provenance[BitIdx]; in collectBitParts() 3120 Result->Provenance[BitIdx + ModAmt] = LHS->Provenance[BitIdx]; in collectBitParts() 3122 Result->Provenance[BitIdx] = RHS->Provenance[BitIdx + StartBitRHS]; in collectBitParts() [all …]
|