HomeSort by: relevance | last modified time | path
    Searched defs:StringRef (Results 1 - 10 of 10) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
Assumptions.h 18 #include "llvm/ADT/StringRef.h"
26 constexpr StringRef AssumptionAttrKey = "llvm.assume";
35 KnownAssumptionString(StringRef AssumptionStr)
39 operator StringRef() const { return AssumptionStr; }
42 StringRef AssumptionStr;
  /src/external/apache2/llvm/dist/clang/utils/
ClangDataFormat.py 27 debugger.HandleCommand("type summary add -F ClangDataFormat.StringRef_summary llvm::StringRef")
36 return StringRef(strref).summary()
82 class StringRef(object):
  /src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
CachedHashString.h 1 //===- llvm/ADT/CachedHashString.h - Prehashed string/StringRef -*- C++ -*-===//
23 #include "llvm/ADT/StringRef.h"
27 /// A container which contains a StringRef plus a precomputed hash.
35 explicit CachedHashStringRef(StringRef S)
36 : CachedHashStringRef(S, DenseMapInfo<StringRef>::getHashValue(S)) {}
38 CachedHashStringRef(StringRef S, uint32_t Hash)
43 StringRef val() const { return StringRef(P, Size); }
51 return CachedHashStringRef(DenseMapInfo<StringRef>::getEmptyKey(), 0);
54 return CachedHashStringRef(DenseMapInfo<StringRef>::getTombstoneKey(), 1)
    [all...]
StringRef.h 1 //===- StringRef.h - Constant String Reference Wrapper ----------*- C++ -*-===//
38 class StringRef;
40 /// Helper functions for StringRef::getAsInteger.
41 bool getAsUnsignedInteger(StringRef Str, unsigned Radix,
44 bool getAsSignedInteger(StringRef Str, unsigned Radix, long long &Result);
46 bool consumeUnsignedInteger(StringRef &Str, unsigned Radix,
48 bool consumeSignedInteger(StringRef &Str, unsigned Radix, long long &Result);
50 /// StringRef - Represent a constant reference to a string, i.e. a character
55 /// lifetime extends past that of the StringRef. For this reason, it is not in
56 /// general safe to store a StringRef
    [all...]
SmallString.h 17 #include "llvm/ADT/StringRef.h"
30 /// Initialize from a StringRef.
31 SmallString(StringRef S) : SmallVector<char, InternalLen>(S.begin(), S.end()) {}
34 SmallString(std::initializer_list<StringRef> Refs)
49 /// Assign from a StringRef.
50 void assign(StringRef RHS) {
55 void assign(std::initializer_list<StringRef> Refs) {
66 /// Append from a StringRef.
67 void append(StringRef RHS) {
72 void append(std::initializer_list<StringRef> Refs)
    [all...]
StringExtras.h 18 #include "llvm/ADT/StringRef.h"
44 inline std::vector<StringRef> toStringRefArray(const char *const *Strings) {
45 std::vector<StringRef> Result;
52 inline StringRef toStringRef(bool B) { return StringRef(B ? "true" : "false"); }
55 inline StringRef toStringRef(ArrayRef<uint8_t> Input) {
56 return StringRef(reinterpret_cast<const char *>(Input.begin()), Input.size());
60 inline ArrayRef<uint8_t> arrayRefFromStringRef(StringRef Input) {
106 inline bool isASCII(llvm::StringRef S) {
161 inline std::string toHex(StringRef Input, bool LowerCase = false)
    [all...]
  /src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/
CheckerManager.h 24 #include "llvm/ADT/StringRef.h"
110 StringRef Name;
112 explicit CheckerNameRef(StringRef Name) : Name(Name) {}
117 StringRef getName() const { return Name; }
118 operator StringRef() const { return Name; }
188 StringRef OptionName,
189 StringRef ExpectedValueDesc) const;
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
JSON.h 51 #include "llvm/ADT/StringRef.h"
77 bool isUTF8(llvm::StringRef S, size_t *ErrOffset = nullptr);
81 std::string fixUTF8(llvm::StringRef S);
91 using Storage = DenseMap<ObjectKey, Value, llvm::DenseMapInfo<StringRef>>;
125 bool erase(StringRef K);
128 iterator find(StringRef K) { return M.find_as(K); }
129 const_iterator find(StringRef K) const { return M.find_as(K); }
134 Value *get(StringRef K);
135 const Value *get(StringRef K) const;
139 llvm::Optional<std::nullptr_t> getNull(StringRef K) const
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/ProfileData/
SampleProf.h 20 #include "llvm/ADT/StringRef.h"
105 static inline StringRef getRepInFormat(StringRef Name, bool UseMD5,
110 return UseMD5 ? StringRef(GUIDBuf) : Name;
298 using CallTarget = std::pair<StringRef, uint64_t>;
329 sampleprof_error addCalledTarget(StringRef F, uint64_t S,
398 // using StringRef, which is also the input for constructing a `SampleContext`.
408 SampleContext(StringRef ContextStr, ContextStateMask CState = UnknownContext)
416 void promoteOnPath(StringRef ContextStrToRemove) {
425 static std::pair<StringRef, StringRef
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/Driver/
Driver.cpp 106 std::string Driver::GetResourcesPath(StringRef BinaryPath,
107 StringRef CustomResourceDir) {
132 Driver::Driver(StringRef ClangExecutable, StringRef TargetTriple,
171 void Driver::ParseDriverMode(StringRef ProgramName,
181 const StringRef Arg = ArgPtr;
186 void Driver::setDriverModeFromOption(StringRef Opt) {
191 StringRef Value = Opt.drop_front(OptName.size());
336 StringRef Value, bool Claim = true) {
366 for (StringRef Val : A->getValues()
    [all...]

Completed in 23 milliseconds