HomeSort by relevance Sort by last modified time
    Searched refs:StringRef (Results 151 - 175 of 1568) sorted by null

1 2 3 4 5 67 8 91011>>

  /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,
80 bool ParseSectionDirectiveData(StringRef, SMLoc) {
85 bool ParseSectionDirectiveText(StringRef, SMLoc) {
90 bool ParseSectionDirectiveBSS(StringRef, SMLoc) {
95 bool ParseSectionDirectiveRoData(StringRef, SMLoc) {
100 bool ParseSectionDirectiveTData(StringRef, SMLoc) {
106 bool ParseSectionDirectiveTBSS(StringRef, SMLoc) {
112 bool ParseSectionDirectiveDataRel(StringRef, SMLoc)
    [all...]
  /external/llvm/lib/Support/
Regex.cpp 17 #include "llvm/ADT/StringRef.h"
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...]
Path.cpp 34 using llvm::StringRef;
45 StringRef find_first_component(StringRef path) {
81 size_t filename_pos(StringRef str) {
93 if (pos == StringRef::npos)
97 if (pos == StringRef::npos ||
104 size_t root_dir_start(StringRef str) {
117 return StringRef::npos;
131 return StringRef::npos;
134 size_t parent_path_end(StringRef path)
    [all...]
  /frameworks/compile/slang/
slang_rs_export_reduce.h 20 #include "llvm/ADT/StringRef.h"
82 const llvm::StringRef &NameReduce,
83 const llvm::StringRef &NameInitializer,
84 const llvm::StringRef &NameAccumulator,
85 const llvm::StringRef &NameCombiner,
86 const llvm::StringRef &NameOutConverter,
87 const llvm::StringRef &NameHalter)
109 FnIdent Kind, const llvm::StringRef &Name,
115 const char *Kind, const llvm::StringRef &Name);
135 const llvm::StringRef &NameReduce
    [all...]
  /external/llvm/lib/ExecutionEngine/RuntimeDyld/
RuntimeDyldChecker.cpp 34 bool evaluate(StringRef Expr) const {
42 StringRef LHSExpr = Expr.substr(0, EQIdx).rtrim();
43 StringRef RemainingExpr;
53 StringRef RHSExpr = Expr.substr(EQIdx + 1).ltrim();
110 StringRef getTokenForError(StringRef Expr) const {
114 StringRef Token, Remaining;
128 EvalResult unexpectedToken(StringRef TokenStart, StringRef SubExpr,
129 StringRef ErrText) const
    [all...]
  /external/llvm/include/llvm/IR/
Module.h 186 explicit Module(StringRef ModuleID, LLVMContext& C);
202 StringRef getName() const { return ModuleID; }
241 void setModuleIdentifier(StringRef ID) { ModuleID = ID; }
244 void setDataLayout(StringRef Desc);
248 void setTargetTriple(StringRef T) { TargetTriple = T; }
252 void setModuleInlineAsm(StringRef Asm) {
261 void appendModuleInlineAsm(StringRef Asm) {
275 GlobalValue *getNamedValue(StringRef Name) const;
279 unsigned getMDKindID(StringRef Name) const;
283 void getMDKindNames(SmallVectorImpl<StringRef> &Result) const
    [all...]
FunctionInfo.h 41 StringRef ModulePath;
67 void setModulePath(StringRef ModPath) { ModulePath = ModPath; }
70 StringRef modulePath() const { return ModulePath; }
182 const FunctionInfoList &getFunctionInfoList(StringRef FuncName) {
187 const const_funcinfo_iterator findFunctionInfoList(StringRef FuncName) const {
192 void addFunctionInfo(StringRef FuncName, std::unique_ptr<FunctionInfo> Info) {
204 uint64_t getModuleId(const StringRef ModPath) const {
217 static std::string getGlobalNameForLocal(StringRef Name, uint64_t ModId) {
224 /// Add a new module path, mapped to the given module Id, and return StringRef
226 StringRef addModulePath(StringRef ModPath, uint64_t ModId)
    [all...]
  /external/llvm/utils/FileCheck/
FileCheck.cpp 94 StringRef FixedStr;
106 std::vector<std::pair<StringRef, unsigned> > VariableUses;
111 std::map<StringRef, unsigned> VariableDefs;
126 bool ParsePattern(StringRef PatternStr,
127 StringRef Prefix,
137 size_t Match(StringRef Buffer, size_t &MatchLen,
138 StringMap<StringRef> &VariableTable) const;
142 void PrintFailureInfo(const SourceMgr &SM, StringRef Buffer,
143 const StringMap<StringRef> &VariableTable) const;
151 bool AddRegExToRegEx(StringRef RS, unsigned &CurParen, SourceMgr &SM)
    [all...]
  /external/clang/unittests/AST/
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/CodeGen/MIRParser/
MILexer.h 19 #include "llvm/ADT/StringRef.h"
124 StringRef Range;
125 StringRef StringValue;
132 MIToken &reset(TokenKind Kind, StringRef Range);
134 MIToken &setStringValue(StringRef StrVal);
167 StringRef::iterator location() const { return Range.begin(); }
169 StringRef range() const { return Range; }
172 StringRef stringValue() const { return StringValue; }
187 StringRef lexMIToken(
188 StringRef Source, MIToken &Token
    [all...]
  /external/llvm/lib/Target/XCore/MCTargetDesc/
XCoreMCTargetDesc.cpp 50 createXCoreMCSubtargetInfo(const Triple &TT, StringRef CPU, StringRef FS) {
100 void emitCCTopData(StringRef Name) override;
101 void emitCCTopFunction(StringRef Name) override;
102 void emitCCBottomData(StringRef Name) override;
103 void emitCCBottomFunction(StringRef Name) override;
110 void XCoreTargetAsmStreamer::emitCCTopData(StringRef Name) {
114 void XCoreTargetAsmStreamer::emitCCTopFunction(StringRef Name) {
118 void XCoreTargetAsmStreamer::emitCCBottomData(StringRef Name) {
122 void XCoreTargetAsmStreamer::emitCCBottomFunction(StringRef Name)
    [all...]
  /external/clang/lib/StaticAnalyzer/Core/
AnalyzerOptions.cpp 28 StringRef ModeStr =
54 StringRef ModeStr =
80 StringRef ModeStr =
103 static StringRef toString(bool b) { return b ? "true" : "false"; }
105 StringRef AnalyzerOptions::getCheckerOption(StringRef CheckerName,
106 StringRef OptionName,
107 StringRef Default,
116 return StringRef(I->getValue());
118 if (Pos == StringRef::npos
    [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/clang/include/clang/Frontend/
PCHContainerOperations.h 23 using llvm::StringRef;
44 virtual StringRef getFormat() const = 0;
62 virtual StringRef getFormat() const = 0;
72 StringRef getFormat() const override { return "raw"; }
84 StringRef getFormat() const override { return "raw"; }
105 const PCHContainerWriter *getWriterOrNull(StringRef Format) {
108 const PCHContainerReader *getReaderOrNull(StringRef Format) {
  /external/llvm/lib/CodeGen/AsmPrinter/
WinCodeViewLineTables.h 20 #include "llvm/ADT/StringRef.h"
53 StringRef Filename;
59 InstrInfoTy(StringRef Filename, unsigned LineNumber, unsigned ColumnNumber)
69 SmallVector<StringRef, 10> Filenames;
84 void add(StringRef Filename) {
101 typedef std::map<std::pair<StringRef, StringRef>, std::string>
104 StringRef getFullFilepath(const MDNode *S);
  /external/llvm/lib/MC/
MCInstPrinter.cpp 11 #include "llvm/ADT/StringRef.h"
33 StringRef MCInstPrinter::getOpcodeName(unsigned Opcode) const {
41 void MCInstPrinter::printAnnotation(raw_ostream &OS, StringRef Annot) {
55 StringRef MCInstPrinter::markup(StringRef s) const {
61 StringRef MCInstPrinter::markup(StringRef a, StringRef b) const {
MCSectionMachO.cpp 72 MCSectionMachO::MCSectionMachO(StringRef Segment, StringRef Section,
171 std::string MCSectionMachO::ParseSectionSpecifier(StringRef Spec, // In.
172 StringRef &Segment, // Out.
173 StringRef &Section, // Out.
179 SmallVector<StringRef, 5> SplitSpec;
182 auto GetEmptyOrTrim = [&SplitSpec](size_t Idx) -> StringRef {
183 return SplitSpec.size() > Idx ? SplitSpec[Idx].trim() : StringRef();
187 StringRef SectionType = GetEmptyOrTrim(2);
188 StringRef Attrs = GetEmptyOrTrim(3)
    [all...]
  /external/llvm/unittests/ProfileData/
InstrProfTest.cpp 60 ASSERT_EQ(StringRef("foo"), I->Name);
166 ASSERT_EQ(StringRef((const char *)VD[0].Value, 7), StringRef("callee3"));
167 ASSERT_EQ(StringRef((const char *)VD[1].Value, 7), StringRef("callee2"));
168 ASSERT_EQ(StringRef((const char *)VD[2].Value, 7), StringRef("callee1"));
220 ASSERT_EQ(StringRef((const char *)VD[0].Value, 7), StringRef("callee3"));
221 ASSERT_EQ(StringRef((const char *)VD[1].Value, 7), StringRef("callee2"))
    [all...]
  /external/llvm/include/llvm/ProfileData/
InstrProf.h 20 #include "llvm/ADT/StringRef.h"
41 inline StringRef getInstrProfCountersSectionName(bool AddSegment) {
48 inline StringRef getInstrProfNameSectionName(bool AddSegment) {
55 inline StringRef getInstrProfDataSectionName(bool AddSegment) {
62 inline StringRef getInstrProfValueProfFuncName() {
68 inline StringRef getInstrProfCoverageSectionName(bool AddSegment) {
73 inline StringRef getInstrProfNameVarPrefix() { return "__profn_"; }
76 inline StringRef getInstrProfDataVarPrefix() { return "__profd_"; }
79 inline StringRef getInstrProfCountersVarPrefix() { return "__profc_"; }
83 inline StringRef getInstrProfComdatPrefix() { return "__profv_";
    [all...]
SampleProfWriter.h 17 #include "llvm/ADT/StringRef.h"
37 virtual std::error_code write(StringRef FName, const FunctionSamples &S) = 0;
47 StringRef FName = I.first();
61 create(StringRef Filename, SampleProfileFormat Format);
83 std::error_code write(StringRef FName, const FunctionSamples &S) override;
108 std::error_code write(StringRef F, const FunctionSamples &S) override;
116 std::error_code writeNameIdx(StringRef FName);
117 std::error_code writeBody(StringRef FName, const FunctionSamples &S);
120 void addName(StringRef FName);
123 MapVector<StringRef, uint32_t> NameTable
    [all...]
  /external/clang/include/clang/ASTMatchers/Dynamic/
Parser.h 43 #include "llvm/ADT/StringRef.h"
75 /// \param BindID The ID to use to bind the matcher, or a null \c StringRef
85 StringRef BindID,
96 lookupMatcherCtor(StringRef MatcherName) = 0;
129 lookupMatcherCtor(StringRef MatcherName) override;
133 StringRef BindID,
162 parseMatcherExpression(StringRef MatcherCode, Sema *S,
166 parseMatcherExpression(StringRef MatcherCode, Sema *S,
171 parseMatcherExpression(StringRef MatcherCode, Diagnostics *Error) {
187 static bool parseExpression(StringRef Code, Sema *S
    [all...]
  /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...]
  /external/llvm/lib/Target/ARM/MCTargetDesc/
ARMMCTargetDesc.h 33 class StringRef;
43 std::string ParseARMTriple(const Triple &TT, StringRef CPU);
47 MCSubtargetInfo *createARMMCSubtargetInfo(const Triple &TT, StringRef CPU,
48 StringRef FS);
68 const Triple &TT, StringRef CPU,
72 const Triple &TT, StringRef CPU);
75 const Triple &TT, StringRef CPU);
79 const Triple &TT, StringRef CPU);
83 const Triple &TT, StringRef CPU);

Completed in 1896 milliseconds

1 2 3 4 5 67 8 91011>>