HomeSort by relevance Sort by last modified time
    Searched refs:StringRef (Results 126 - 150 of 1334) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/llvm/include/llvm/Option/
Arg.h 19 #include "llvm/ADT/StringRef.h"
44 StringRef Spelling;
62 Arg(const Option Opt, StringRef Spelling, unsigned Index,
64 Arg(const Option Opt, StringRef Spelling, unsigned Index,
66 Arg(const Option Opt, StringRef Spelling, unsigned Index,
71 StringRef getSpelling() const { return Spelling; }
102 bool containsValue(StringRef Value) const {
  /external/llvm/lib/Support/
Program.cpp 25 static bool Execute(ProcessInfo &PI, StringRef Program, const char **args,
26 const char **env, const StringRef **Redirects,
29 int sys::ExecuteAndWait(StringRef Program, const char **args, const char **envp,
30 const StringRef **redirects, unsigned secondsToWait,
48 ProcessInfo sys::ExecuteNoWait(StringRef Program, const char **args,
49 const char **envp, const StringRef **redirects,
Regex.cpp 22 Regex::Regex(StringRef regex, unsigned Flags) {
59 bool Regex::match(StringRef String, SmallVectorImpl<StringRef> *Matches){
86 Matches->push_back(StringRef());
90 Matches->push_back(StringRef(String.data()+pm[i].rm_so,
98 std::string Regex::sub(StringRef Repl, StringRef String,
100 SmallVector<StringRef, 8> Matches;
116 std::pair<StringRef, StringRef> Split = Repl.split('\\')
    [all...]
SpecialCaseList.cpp 44 bool match(StringRef Query) const {
52 const StringRef Path, std::string &Error) {
72 SpecialCaseList *SpecialCaseList::createOrDie(const StringRef Path) {
81 SmallVector<StringRef, 16> Lines;
87 for (SmallVectorImpl<StringRef>::iterator I = Lines.begin(), E = Lines.end();
93 std::pair<StringRef, StringRef> SplitLine = I->split(":");
94 StringRef Prefix = SplitLine.first;
102 std::pair<StringRef, StringRef> SplitRegexp = SplitLine.second.split("=")
    [all...]
  /external/llvm/lib/Target/Hexagon/MCTargetDesc/
HexagonMCTargetDesc.cpp 43 static MCRegisterInfo *createHexagonMCRegisterInfo(StringRef TT) {
49 static MCSubtargetInfo *createHexagonMCSubtargetInfo(StringRef TT,
50 StringRef CPU,
51 StringRef FS) {
58 StringRef TT) {
69 static MCCodeGenInfo *createHexagonMCCodeGenInfo(StringRef TT, Reloc::Model RM,
  /external/llvm/lib/Target/R600/
AMDGPUSubtarget.h 20 #include "llvm/ADT/StringRef.h"
63 AMDGPUSubtarget(StringRef TT, StringRef CPU, StringRef FS);
73 void ParseSubtargetFeatures(StringRef CPU, StringRef FS);
160 StringRef getDeviceName() const {
  /external/clang/unittests/AST/
CommentLexer.cpp 48 StringRef getCommandName(const Token &Tok) {
52 StringRef getVerbatimBlockName(const Token &Tok) {
56 StringRef getVerbatimLineName(const Token &Tok) {
138 ASSERT_EQ(StringRef(" Meow"), Toks[0].getText());
158 ASSERT_EQ(StringRef(" Meow"), Toks[0].getText());
181 ASSERT_EQ(StringRef(" Aaa"), Toks[0].getText());
183 ASSERT_EQ(StringRef("\\"), Toks[1].getText());
187 ASSERT_EQ(StringRef(" Bbb"), Toks[3].getText());
189 ASSERT_EQ(StringRef("\\"), Toks[4].getText());
191 ASSERT_EQ(StringRef(" "), Toks[5].getText())
    [all...]
NamedDeclPrinterTest.cpp 54 StringRef getPrinted() const {
64 PrintedNamedDeclMatches(StringRef Code, const std::vector<std::string> &Args,
67 StringRef ExpectedPrinted, StringRef FileName) {
96 PrintedNamedDeclCXX98Matches(StringRef Code, StringRef DeclName,
97 StringRef ExpectedPrinted) {
108 PrintedWrittenNamedDeclCXX11Matches(StringRef Code, StringRef DeclName,
109 StringRef ExpectedPrinted)
    [all...]
StmtPrinterTest.cpp 59 StringRef getPrinted() const {
70 PrintedStmtMatches(StringRef Code, const std::vector<std::string> &Args,
71 const T &NodeMatch, StringRef ExpectedPrinted) {
101 PrintedStmtCXX98Matches(StringRef Code, const StatementMatcher &NodeMatch,
102 StringRef ExpectedPrinted) {
110 StringRef Code,
111 StringRef ContainingFunction,
112 StringRef ExpectedPrinted) {
124 PrintedStmtCXX11Matches(StringRef Code, const StatementMatcher &NodeMatch,
125 StringRef ExpectedPrinted)
    [all...]
  /external/llvm/lib/MC/MCParser/
ELFAsmParser.cpp 26 template<bool (ELFAsmParser::*HandlerMethod)(StringRef, SMLoc)>
27 void addDirectiveHandler(StringRef Directive) {
34 bool ParseSectionSwitch(StringRef Section, unsigned Type, unsigned Flags,
82 bool ParseSectionDirectiveData(StringRef, SMLoc) {
87 bool ParseSectionDirectiveText(StringRef, SMLoc) {
92 bool ParseSectionDirectiveBSS(StringRef, SMLoc) {
97 bool ParseSectionDirectiveRoData(StringRef, SMLoc) {
102 bool ParseSectionDirectiveTData(StringRef, SMLoc) {
108 bool ParseSectionDirectiveTBSS(StringRef, SMLoc) {
114 bool ParseSectionDirectiveDataRel(StringRef, SMLoc)
    [all...]
  /external/llvm/lib/MC/
MCSubtargetInfo.cpp 11 #include "llvm/ADT/StringRef.h"
25 MCSubtargetInfo::InitMCProcessorInfo(StringRef CPU, StringRef FS) {
32 MCSubtargetInfo::InitCPUSchedModel(StringRef CPU) {
40 MCSubtargetInfo::InitMCSubtargetInfo(StringRef TT, StringRef CPU, StringRef FS,
74 uint64_t MCSubtargetInfo::ToggleFeature(StringRef FS) {
82 MCSubtargetInfo::getSchedModelForCPU(StringRef CPU) const {
96 if (Found == ProcSchedModels+NumProcs || StringRef(Found->Key) != CPU)
    [all...]
MCInstPrinter.cpp 11 #include "llvm/ADT/StringRef.h"
24 StringRef MCInstPrinter::getOpcodeName(unsigned Opcode) const {
32 void MCInstPrinter::printAnnotation(raw_ostream &OS, StringRef Annot) {
46 StringRef MCInstPrinter::markup(StringRef s) const {
52 StringRef MCInstPrinter::markup(StringRef a, StringRef b) const {
MCSectionMachO.cpp 72 MCSectionMachO::MCSectionMachO(StringRef Segment, StringRef Section,
169 std::string MCSectionMachO::ParseSectionSpecifier(StringRef Spec, // In.
170 StringRef &Segment, // Out.
171 StringRef &Section, // Out.
177 SmallVector<StringRef, 5> SplitSpec;
180 auto GetEmptyOrTrim = [&SplitSpec](size_t Idx) -> StringRef {
181 return SplitSpec.size() > Idx ? SplitSpec[Idx].trim() : StringRef();
185 StringRef SectionType = GetEmptyOrTrim(2);
186 StringRef Attrs = GetEmptyOrTrim(3)
    [all...]
  /external/llvm/utils/FileCheck/
FileCheck.cpp 81 StringRef FixedStr;
93 std::vector<std::pair<StringRef, unsigned> > VariableUses;
98 std::map<StringRef, unsigned> VariableDefs;
113 bool ParsePattern(StringRef PatternStr,
114 StringRef Prefix,
124 size_t Match(StringRef Buffer, size_t &MatchLen,
125 StringMap<StringRef> &VariableTable) const;
129 void PrintFailureInfo(const SourceMgr &SM, StringRef Buffer,
130 const StringMap<StringRef> &VariableTable) const;
138 bool AddRegExToRegEx(StringRef RS, unsigned &CurParen, SourceMgr &SM)
    [all...]
  /external/clang/include/clang/Analysis/Analyses/
Consumed.h 60 StringRef VariableName) {}
72 StringRef VariableName,
73 StringRef ExpectedState,
74 StringRef ObservedState) {};
78 StringRef ExpectedState,
79 StringRef ObservedState) {}
89 StringRef TypeName) {}
101 StringRef ExpectedState,
102 StringRef ObservedState) {}
111 virtual void warnUseOfTempInInvalidState(StringRef MethodName
    [all...]
  /external/clang/lib/Format/
BreakableToken.h 37 typedef std::pair<StringRef::size_type, unsigned> Split;
49 /// \p Length can be set to StringRef::npos, which means "to the end of line".
52 StringRef::size_type Length) const = 0;
95 StringRef::size_type Length) const override;
99 unsigned StartColumn, StringRef Prefix,
100 StringRef Postfix, bool InPPDirective,
107 StringRef Prefix;
109 StringRef Postfix;
111 StringRef Line;
121 unsigned StartColumn, StringRef Prefix
    [all...]
  /external/llvm/lib/Target/XCore/MCTargetDesc/
XCoreMCTargetDesc.cpp 43 static MCRegisterInfo *createXCoreMCRegisterInfo(StringRef TT) {
49 static MCSubtargetInfo *createXCoreMCSubtargetInfo(StringRef TT, StringRef CPU,
50 StringRef FS) {
57 StringRef TT) {
67 static MCCodeGenInfo *createXCoreMCCodeGenInfo(StringRef TT, Reloc::Model RM,
102 virtual void emitCCTopData(StringRef Name) override;
103 virtual void emitCCTopFunction(StringRef Name) override;
104 virtual void emitCCBottomData(StringRef Name) override;
105 virtual void emitCCBottomFunction(StringRef Name) override
    [all...]
  /external/llvm/include/llvm/Support/
YAMLTraits.h 19 #include "llvm/ADT/StringRef.h"
48 // static StringRef validate(IO &io, T &fields);
97 /// static StringRef input(StringRef scalar, void*, MyType &value) {
100 /// return StringRef();
102 /// static bool mustQuote(StringRef) { return true; }
112 // StringRef on success or an error string if string is malformed:
113 //static StringRef input(StringRef scalar, void *ctxt, T &value);
116 //static bool mustQuote(StringRef);
    [all...]
  /external/clang/include/clang/Edit/
EditedSource.h 15 #include "llvm/ADT/StringRef.h"
33 StringRef Text;
65 StringRef copyString(StringRef str) {
68 return StringRef(buf, str.size());
70 StringRef copyString(const Twine &twine);
73 bool commitInsert(SourceLocation OrigLoc, FileOffset Offs, StringRef text,
80 StringRef getSourceText(FileOffset BeginOffs, FileOffset EndOffs,
  /external/llvm/include/llvm/MC/
MCContext.h 40 class StringRef;
146 StringRef DwarfDebugFlags;
150 StringRef DwarfDebugProducer;
173 MCSymbol *CreateSymbol(StringRef Name);
231 MCSymbol *GetOrCreateSymbol(StringRef Name);
235 MCSymbol *LookupSymbol(StringRef Name) const;
253 const MCSectionMachO *getMachOSection(StringRef Segment,
254 StringRef Section,
258 const MCSectionMachO *getMachOSection(StringRef Segment,
259 StringRef Section
    [all...]
  /external/llvm/lib/CodeGen/AsmPrinter/
WinCodeViewLineTables.h 20 #include "llvm/ADT/StringRef.h"
53 StringRef Filename;
58 InstrInfoTy(StringRef Filename, unsigned LineNumber)
67 SmallVector<StringRef, 10> Filenames;
82 void add(StringRef Filename) {
99 typedef std::map<std::pair<StringRef, StringRef>, char *>
102 StringRef getFullFilepath(const MDNode *S);
  /external/llvm/lib/Target/ARM/
ARMTargetMachine.cpp 48 ARMBaseTargetMachine::ARMBaseTargetMachine(const Target &T, StringRef TT,
49 StringRef CPU, StringRef FS,
73 ARMTargetMachine::ARMTargetMachine(const Target &T, StringRef TT, StringRef CPU,
74 StringRef FS, const TargetOptions &Options,
86 ARMLETargetMachine::ARMLETargetMachine(const Target &T, StringRef TT,
87 StringRef CPU, StringRef FS,
95 ARMBETargetMachine::ARMBETargetMachine(const Target &T, StringRef TT
    [all...]
  /external/clang/lib/Frontend/
ModuleDependencyCollector.cpp 29 std::error_code copyToRoot(StringRef Src);
35 bool visitInputFile(StringRef Filename, bool IsSystem,
63 SmallVector<StringRef, 16> ComponentStack;
64 StringRef P(Path.data(), Path.size());
67 StringRef Rel = path::relative_path(P);
68 for (StringRef C : llvm::make_range(path::begin(Rel), path::end(Rel))) {
80 for (StringRef C : ComponentStack)
87 std::error_code ModuleDependencyListener::copyToRoot(StringRef Src) {
110 bool ModuleDependencyListener::visitInputFile(StringRef Filename, bool IsSystem,
  /external/llvm/include/llvm/LineEditor/
LineEditor.h 14 #include "llvm/ADT/StringRef.h"
33 LineEditor(StringRef ProgName, StringRef HistoryPath = "", FILE *In = stdin,
45 static std::string getDefaultHistoryPath(StringRef ProgName);
81 /// which takes arguments of type StringRef (the string to complete) and
82 /// size_t (the zero-based cursor position in the StringRef) and returns a
90 /// StringRef (the string to complete) and size_t (the zero-based cursor
91 /// position in the StringRef) and returns a std::vector<Completion>.
102 /// \param Pos The zero-based cursor position in the StringRef
103 CompletionAction getCompletionAction(StringRef Buffer, size_t Pos) const
    [all...]
  /frameworks/compile/mclinker/include/mcld/LD/
NamePool.h 22 #include <llvm/ADT/StringRef.h>
56 ResolveInfo* createSymbol(const llvm::StringRef& pName,
70 void insertSymbol(const llvm::StringRef& pName,
82 const LDSymbol* findSymbol(const llvm::StringRef& pName) const;
83 LDSymbol* findSymbol(const llvm::StringRef& pName);
86 const ResolveInfo* findInfo(const llvm::StringRef& pName) const;
87 ResolveInfo* findInfo(const llvm::StringRef& pName);
91 /// @return the StringRef points to the hash table
92 llvm::StringRef insertString(const llvm::StringRef& pString)
    [all...]

Completed in 1413 milliseconds

1 2 3 4 56 7 8 91011>>