/external/llvm/unittests/ExecutionEngine/MCJIT/ |
H A D | MCJITTestBase.h | 43 Module *createEmptyModule(StringRef Name = StringRef()) { argument 50 Function *startFunction(Module *M, StringRef Name) { 97 Function *insertAddFunction(Module *M, StringRef Name = "add") { 111 Function *insertExternalReferenceToFunction(Module *M, StringRef Name, 130 StringRef name, 155 StringRef Name = "accumulate") { 338 StringRef MArch;
|
/external/llvm/include/llvm/ADT/ |
H A D | SmallString.h | 18 #include "llvm/ADT/StringRef.h" 30 /// Initialize from a StringRef. 31 SmallString(StringRef S) : SmallVector<char, InternalLen>(S.begin(), S.end()) {} 56 /// Assign from a StringRef. 57 void assign(StringRef RHS) { 83 /// Append from a StringRef. 84 void append(StringRef RHS) { 99 bool equals(StringRef RHS) const { 104 bool equals_lower(StringRef RHS) const { 110 int compare(StringRef RH [all...] |
H A D | StringRef.h | 1 //===--- StringRef.h - Constant String Reference Wrapper --------*- C++ -*-===// 25 class StringRef; 27 /// Helper functions for StringRef::getAsInteger. 28 bool getAsUnsignedInteger(StringRef Str, unsigned Radix, 31 bool getAsSignedInteger(StringRef Str, unsigned Radix, long long &Result); 33 /// StringRef - Represent a constant reference to a string, i.e. a character 38 /// lifetime extends past that of the StringRef. For this reason, it is not in 39 /// general safe to store a StringRef. 40 class StringRef { class in namespace:llvm 54 // Workaround PR5482: nearly all gcc 4.x miscompile StringRef an 72 /*implicit*/ StringRef() : Data(nullptr), Length(0) {} function in class:llvm::StringRef 75 /*implicit*/ StringRef(const char *Str) function in class:llvm::StringRef 82 /*implicit*/ StringRef(const char *data, size_t length) function in class:llvm::StringRef 89 /*implicit*/ StringRef(const std::string &Str) function in class:llvm::StringRef [all...] |
/external/llvm/include/llvm/Transforms/ |
H A D | Instrumentation.h | 17 #include "llvm/ADT/StringRef.h" 77 ModulePass *createDataFlowSanitizerPass(StringRef ABIListFile = StringRef(), 82 inline ModulePass *createDataFlowSanitizerPassForJIT(StringRef ABIListFile = argument 83 StringRef()) { 110 StringRef Directory = StringRef(), 111 StringRef Filename = StringRef());
|
/external/llvm/lib/IR/ |
H A D | AttributeImpl.h | 56 bool hasAttribute(StringRef Kind) const; 61 StringRef getKindAsString() const; 62 StringRef getValueAsString() const; 80 static void Profile(FoldingSetNodeID &ID, StringRef Kind, StringRef Values) { 132 StringAttributeImpl(StringRef Kind, StringRef Val = StringRef()) argument 135 StringRef getStringKind() const { return Kind; } 136 StringRef getStringValu [all...] |
/external/llvm/lib/Target/X86/AsmParser/ |
H A D | X86Operand.h | 32 StringRef SymName; 68 StringRef getSymName() override { return SymName; } 83 StringRef getToken() const { 85 return StringRef(Tok.Data, Tok.Length); 87 void setTokenValue(StringRef Value) { 414 static std::unique_ptr<X86Operand> CreateToken(StringRef Str, SMLoc Loc) { 425 StringRef SymName = StringRef(), void *OpDecl = nullptr) { 445 StringRef SymName = StringRef(), voi 423 CreateReg(unsigned RegNo, SMLoc StartLoc, SMLoc EndLoc, bool AddressOf = false, SMLoc OffsetOfLoc = SMLoc(), StringRef SymName = StringRef(), void *OpDecl = nullptr) argument 444 CreateMem(const MCExpr *Disp, SMLoc StartLoc, SMLoc EndLoc, unsigned Size = 0, StringRef SymName = StringRef(), void *OpDecl = nullptr) argument 461 CreateMem(unsigned SegReg, const MCExpr *Disp, unsigned BaseReg, unsigned IndexReg, unsigned Scale, SMLoc StartLoc, SMLoc EndLoc, unsigned Size = 0, StringRef SymName = StringRef(), void *OpDecl = nullptr) argument [all...] |
/external/llvm/lib/Transforms/Instrumentation/ |
H A D | DebugIR.cpp | 158 StringRef Filename; 159 StringRef Directory; 170 DIUpdater(Module &M, StringRef Filename = StringRef(), argument 171 StringRef Directory = StringRef(), const Module *DisplayM = nullptr, 194 StringRef MangledName = F.getName(); 275 StringRef Producer; 277 StringRef SplitName; 465 Directory = StringRef(Pat [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | PathDiagnostic.cpp | 43 static StringRef StripTrailingDots(StringRef s) { 44 for (StringRef::size_type i = s.size(); i != 0; --i) 50 PathDiagnosticPiece::PathDiagnosticPiece(StringRef s, 110 PathDiagnostic::PathDiagnostic(StringRef CheckName, const Decl *declWithIssue, 111 StringRef bugtype, StringRef verboseDesc, 112 StringRef shortDesc, StringRef category, 461 StringRef ConsumerNam 911 describeClass(raw_ostream &Out, const CXXRecordDecl *D, StringRef Prefix = StringRef()) argument 918 describeCodeDecl(raw_ostream &Out, const Decl *D, bool ExtendedDescription, StringRef Prefix = StringRef()) argument [all...] |
/external/clang/test/CodeGen/ |
H A D | x86_64-arguments.c | 116 struct StringRef { struct 123 const char *f21(struct StringRef S) { return S.x+S.Ptr; }
|
/external/clang/test/CodeGenCXX/ |
H A D | m64-ptr.cpp | 7 class StringRef { class 12 void foo(StringRef X); 13 void bar(StringRef &A) {
|
H A D | x86_64-arguments.cpp | 37 struct StringRef { struct in namespace:PR7523 41 void AddKeyword(StringRef, int x); 46 AddKeyword(StringRef(), 4); 121 struct StringRef {char* ptr; long len; }; struct in namespace:test7 123 A x(A, A, long, long, StringRef) { return A(); } 124 // Check that the StringRef is passed byval instead of expanded 130 A y(A, long double, long, long, StringRef) { return A(); }
|
/external/clang/test/Index/ |
H A D | recursive-cxx-member-calls.cpp | 38 class StringRef { class in namespace:llvm 47 StringRef(): Data(0), Length(0) {} function in class:llvm::StringRef 48 StringRef(const char *Str) : Data(Str), Length(magic_length(Str)) {} function in class:llvm::StringRef 49 StringRef(const char *data, size_t length) : Data(data), Length(length) {} function in class:llvm::StringRef 52 bool startswith(StringRef Prefix) const { 56 bool endswith(StringRef Suffix) const { 60 StringRef substr(size_t Start, size_t N = npos) const { 61 return StringRef(Data + Start, min(N, Length - Start)); 77 llvm::StringRef getName() const { 78 return llvm::StringRef(getNameStar [all...] |
/external/clang/test/SemaCXX/ |
H A D | overloaded-operator.cpp | 405 class StringRef { class in namespace:rdar9222009 406 inline bool operator==(StringRef LHS, StringRef RHS) { // expected-error{{overloaded 'operator==' must be a binary operator (has 3 parameters)}} 407 return !(LHS == RHS); // expected-error{{invalid operands to binary expression ('rdar9222009::StringRef' and 'rdar9222009::StringRef')}}
|
/external/clang/unittests/ASTMatchers/Dynamic/ |
H A D | RegistryTest.cpp | 38 llvm::Optional<MatcherCtor> lookupMatcherCtor(StringRef MatcherName) { 42 VariantMatcher constructMatcher(StringRef MatcherName, 54 VariantMatcher constructMatcher(StringRef MatcherName, 67 VariantMatcher constructMatcher(StringRef MatcherName, 89 CompVector getCompletions(StringRef MatcherName1, unsigned ArgNo1) { 98 CompVector getCompletions(StringRef MatcherName1, unsigned ArgNo1, 99 StringRef MatcherName2, unsigned ArgNo2) { 112 bool hasCompletion(const CompVector &Comps, StringRef TypedText, argument 113 StringRef MatcherDecl = StringRef(), [all...] |
/external/clang/unittests/Basic/ |
H A D | VirtualFileSystemTest.cpp | 57 bool isInPath(StringRef S) { 96 void addEntry(StringRef Path, const vfs::Status &Status) { 100 void addRegularFile(StringRef Path, sys::fs::perms Perms = sys::fs::all_all) { 106 void addDirectory(StringRef Path, sys::fs::perms Perms = sys::fs::all_all) { 112 void addSymlink(StringRef Path) { 286 operator StringRef() { return Path.str(); } 358 std::vector<StringRef> makeStringRefVector(const T (&Arr)[N]) { 359 std::vector<StringRef> Vec; 366 static void checkContents(DirIter I, ArrayRef<StringRef> Expected) { 386 checkContents(O->dir_begin("/", EC), ArrayRef<StringRef>()); [all...] |
/external/clang/utils/ |
H A D | ClangDataFormat.py | 27 debugger.HandleCommand("type summary add -F ClangDataFormat.StringRef_summary llvm::StringRef") 36 return StringRef(strref).summary() 82 class StringRef(object): class in inherits:object
|
/external/clang/lib/CodeGen/ |
H A D | CGDebugInfo.h | 101 StringRef CWDName; 155 llvm::DIType getOrCreateStructPtrType(StringRef Name, llvm::DIType &Cache); 181 llvm::DIType createFieldType(StringRef name, QualType type, 328 StringRef getCurrentDirname(); 357 StringRef Name, uint64_t *Offset); 376 StringRef LinkageName, llvm::GlobalVariable *Var, 382 StringRef getFunctionName(const FunctionDecl *FD); 386 StringRef getObjCMethodName(const ObjCMethodDecl *FD); 390 StringRef getSelectorName(Selector S); 393 StringRef getClassNam 410 internString(StringRef A, StringRef B = StringRef()) argument [all...] |
H A D | CGExpr.cpp | 1741 StringRef Name = StringRef()) { 1996 static void ConvertUTF8ToWideString(unsigned CharByteWidth, StringRef Source, 2033 StringRef FnName = CurFn->getName(); 2109 StringRef(), StringRef(), None, Buffer, 2177 void CodeGenFunction::EmitCheck(llvm::Value *Checked, StringRef CheckName, 1739 EmitBitCastOfLValueToProperType(CodeGenFunction &CGF, llvm::Value *V, llvm::Type *IRType, StringRef Name = StringRef()) argument
|
H A D | CodeGenFunction.h | 212 virtual StringRef getHelperName() const { return "__captured_stmt"; } 581 JumpDest getJumpDestInCurrentScope(StringRef Name = StringRef()) { argument 2459 StringRef AnnotationStr, 2526 void EmitCheck(llvm::Value *Checked, StringRef CheckName,
|
/external/clang/lib/Lex/ |
H A D | Pragma.cpp | 58 PragmaHandler *PragmaNamespace::FindHandler(StringRef Name, 62 return IgnoreNull ? nullptr : Handlers.lookup(StringRef()); 89 : StringRef(), 462 StringRef Filename = getSpelling(FilenameTok, FilenameBuffer, &Invalid); 548 CreateString(StringRef(&StrVal[1], StrVal.size() - 2), MacroTok); 642 StringRef SourceFileName; 674 StringRef ReplaceFileName; 699 StringRef OriginalSource = SourceFileName; 729 void Preprocessor::AddPragmaHandler(StringRef Namespace, 760 void Preprocessor::RemovePragmaHandler(StringRef Namespac 1161 PragmaMessageHandler(PPCallbacks::PragmaMessageKind Kind, StringRef Namespace = StringRef()) argument [all...] |
/external/antlr/antlr-3.4/lib/ |
H A D | antlr-3.4-complete.jar | META-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ... |