Searched refs:Provenance (Results 1 – 11 of 11) sorted by relevance
/external/llvm-project/flang/include/flang/Parser/ |
D | provenance.h | 51 class Provenance { 53 Provenance() {} in Provenance() function 54 Provenance(std::size_t offset) : offset_{offset} { CHECK(offset > 0); } in Provenance() function 55 Provenance(const Provenance &that) = default; 56 Provenance(Provenance &&that) = default; 57 Provenance &operator=(const Provenance &that) = default; 58 Provenance &operator=(Provenance &&that) = default; 62 Provenance operator+(ptrdiff_t n) const { 66 Provenance operator+(std::size_t n) const { return {offset_ + n}; } 67 std::size_t operator-(Provenance that) const { [all …]
|
/external/llvm-project/flang/lib/Parser/ |
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() 100 void Put(const char *, std::size_t, Provenance); 101 void Put(const CharBlock &, Provenance); 102 void Put(const std::string &, Provenance); 103 void Put(llvm::raw_string_ostream &, Provenance); 105 Provenance GetTokenProvenance(
|
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() 198 Provenance startProvenance_; 227 const Provenance spaceProvenance_{ 229 const Provenance backslashProvenance_{
|
D | provenance.cpp | 134 Provenance after{source.NextAfter()}; in Invert() 154 const char &AllSources::operator[](Provenance at) const { in operator []() 282 Provenance at, std::size_t *offset) const { in GetSourceFile() 305 Provenance start{range.start()}; in GetSource() 313 Provenance prov) const { in GetSourcePosition() 332 std::string AllSources::GetPath(Provenance at) const { in GetPath() 337 int AllSources::GetLineNumber(Provenance at) const { in GetLineNumber() 343 Provenance AllSources::CompilerInsertionProvenance(char ch) { in CompilerInsertionProvenance() 349 Provenance newCharProvenance{newCharRange.start()}; in CompilerInsertionProvenance() 395 const AllSources::Origin &AllSources::MapToOrigin(Provenance at) const { in MapToOrigin()
|
D | token-sequence.cpp | 138 const char *s, std::size_t bytes, Provenance provenance) { in Put() 145 void TokenSequence::Put(const CharBlock &t, Provenance provenance) { in Put() 149 void TokenSequence::Put(const std::string &s, Provenance provenance) { in Put() 153 void TokenSequence::Put(llvm::raw_string_ostream &ss, Provenance provenance) { in Put() 288 Provenance TokenSequence::GetTokenProvenance( in GetTokenProvenance()
|
D | preprocessor.cpp | 79 Provenance quoteProvenance{allSources.CompilerInsertionProvenance('"')}; in Stringify() 86 Provenance from{tokens.GetTokenProvenance(j, k)}; in Stringify() 199 Provenance commaProvenance{ in Apply()
|
D | prescan.cpp | 164 Provenance newlineProvenance{GetCurrentProvenance()}; in Statement() 762 Provenance provenance{GetProvenance(nextLine_)}; in FortranInclude()
|
/external/llvm/lib/Transforms/Utils/ |
D | Local.cpp | 1710 Provenance.resize(BW); in BitPart() 1717 SmallVector<int8_t, 32> Provenance; // int8_t means max size is i128. member 1771 for (unsigned i = 0; i < A->Provenance.size(); ++i) { in collectBitParts() 1772 if (A->Provenance[i] != BitPart::Unset && in collectBitParts() 1773 B->Provenance[i] != BitPart::Unset && in collectBitParts() 1774 A->Provenance[i] != B->Provenance[i]) in collectBitParts() 1777 if (A->Provenance[i] == BitPart::Unset) in collectBitParts() 1778 Result->Provenance[i] = B->Provenance[i]; in collectBitParts() 1780 Result->Provenance[i] = A->Provenance[i]; in collectBitParts() 1801 auto &P = Result->Provenance; in collectBitParts() [all …]
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | Local.cpp | 2792 Provenance.resize(BW); in BitPart() 2800 SmallVector<int8_t, 32> Provenance; // int8_t means max size is i128. member 2869 if (A->Provenance[BitIdx] != BitPart::Unset && in collectBitParts() 2870 B->Provenance[BitIdx] != BitPart::Unset && in collectBitParts() 2871 A->Provenance[BitIdx] != B->Provenance[BitIdx]) in collectBitParts() 2874 if (A->Provenance[BitIdx] == BitPart::Unset) in collectBitParts() 2875 Result->Provenance[BitIdx] = B->Provenance[BitIdx]; in collectBitParts() 2877 Result->Provenance[BitIdx] = A->Provenance[BitIdx]; in collectBitParts() 2898 auto &P = Result->Provenance; in collectBitParts() 2930 Result->Provenance[BitIdx] = BitPart::Unset; in collectBitParts() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | Local.cpp | 2655 Provenance.resize(BW); in BitPart() 2663 SmallVector<int8_t, 32> Provenance; // int8_t means max size is i128. member 2724 for (unsigned i = 0; i < A->Provenance.size(); ++i) { in collectBitParts() 2725 if (A->Provenance[i] != BitPart::Unset && in collectBitParts() 2726 B->Provenance[i] != BitPart::Unset && in collectBitParts() 2727 A->Provenance[i] != B->Provenance[i]) in collectBitParts() 2730 if (A->Provenance[i] == BitPart::Unset) in collectBitParts() 2731 Result->Provenance[i] = B->Provenance[i]; in collectBitParts() 2733 Result->Provenance[i] = A->Provenance[i]; in collectBitParts() 2754 auto &P = Result->Provenance; in collectBitParts() [all …]
|
/external/tensorflow/tensorflow/core/profiler/protobuf/ |
D | op_metrics.proto | 39 // Provenance of this op (e.g., if HLO op, original TF op).
|