| /external/llvm/include/llvm/ |
| Instruction.h | 146 MDNode *getMetadata(StringRef Kind) const { 171 void setMetadata(StringRef Kind, MDNode *Node); 188 MDNode *getMetadataImpl(StringRef Kind) const;
|
| /external/llvm/lib/CodeGen/ |
| LLVMTargetMachine.cpp | 64 LLVMTargetMachine::LLVMTargetMachine(const Target &T, StringRef Triple, 65 StringRef CPU, StringRef FS,
|
| /external/llvm/lib/Object/ |
| Object.cpp | 80 StringRef ret; 94 StringRef ret; 140 StringRef ret;
|
| /external/llvm/lib/VMCore/ |
| Type.cpp | 211 StringRef Type::getStructName() const { 464 void StructType::setName(StringRef Name) { 507 StructType *StructType::create(LLVMContext &Context, StringRef Name) { 532 StringRef Name, bool isPacked) { 539 return create(Context, Elements, StringRef()); 543 return create(Context, StringRef()); 547 StructType *StructType::create(ArrayRef<Type*> Elements, StringRef Name, 557 return create(Elements[0]->getContext(), Elements, StringRef()); 560 StructType *StructType::create(StringRef Name, Type *type, ...) { 594 StringRef StructType::getName() const [all...] |
| /external/llvm/tools/llvm-diff/ |
| DiffConsumer.cpp | 155 void DiffConsumer::log(StringRef text) { 167 StringRef format = Log.getFormat(); 170 if (percent == StringRef::npos) {
|
| /external/llvm/tools/llvm-size/ |
| llvm-size.cpp | 125 StringRef name; 163 StringRef name; 236 static void PrintFileSectionSizes(StringRef file) {
|
| /frameworks/compile/mclinker/lib/LD/ |
| ELFReader.cpp | 11 #include <llvm/ADT/StringRef.h> 30 llvm::StringRef name(pName); 31 if (llvm::StringRef::npos != name.find(".debug"))
|
| /external/llvm/lib/CodeGen/AsmPrinter/ |
| DwarfCompileUnit.cpp | 76 void CompileUnit::addString(DIE *Die, unsigned Attribute, StringRef String) { 217 StringRef FN = NS.getFilename(); 387 StringRef varName = DV->getName(); 406 StringRef fieldName = DT.getName(); 705 StringRef Name = BTy.getName(); 727 StringRef Name = DTy.getName(); 756 StringRef Name = CTy.getName(); 858 StringRef PropertyName = Property.getObjCPropertyName(); 862 StringRef GetterName = Property.getObjCPropertyGetterName(); 865 StringRef SetterName = Property.getObjCPropertySetterName() [all...] |
| /external/llvm/unittests/ADT/ |
| APFloatTest.cpp | 149 EXPECT_EQ(0.0, APFloat(APFloat::IEEEdouble, StringRef("0e1234\02", 6)).convertToDouble()); 439 EXPECT_DEATH(APFloat(APFloat::IEEEdouble, StringRef("\0", 1)), "Invalid character in significand"); 440 EXPECT_DEATH(APFloat(APFloat::IEEEdouble, StringRef("1\0", 2)), "Invalid character in significand"); 441 EXPECT_DEATH(APFloat(APFloat::IEEEdouble, StringRef("1\02", 3)), "Invalid character in significand"); 442 EXPECT_DEATH(APFloat(APFloat::IEEEdouble, StringRef("1\02e1", 5)), "Invalid character in significand"); 443 EXPECT_DEATH(APFloat(APFloat::IEEEdouble, StringRef("1e\0", 3)), "Invalid character in exponent"); 444 EXPECT_DEATH(APFloat(APFloat::IEEEdouble, StringRef("1e1\0", 4)), "Invalid character in exponent"); 445 EXPECT_DEATH(APFloat(APFloat::IEEEdouble, StringRef("1e1\02", 5)), "Invalid character in exponent"); 529 EXPECT_DEATH(APFloat(APFloat::IEEEdouble, StringRef("0x\0", 3)), "Invalid character in significand"); 530 EXPECT_DEATH(APFloat(APFloat::IEEEdouble, StringRef("0x1\0", 4)), "Invalid character in significand") [all...] |
| /external/llvm/include/llvm/Object/ |
| ELF.h | 510 StringRef &Res) const; 513 StringRef &Version, 523 error_code getSymbolVersion(SymbolRef Symb, StringRef &Version, 527 virtual error_code getSymbolName(DataRefImpl Symb, StringRef &Res) const; 541 virtual error_code getLibraryPath(DataRefImpl Data, StringRef &Res) const; 544 virtual error_code getSectionName(DataRefImpl Sec, StringRef &Res) const; 547 virtual error_code getSectionContents(DataRefImpl Sec, StringRef &Res) const; 596 virtual StringRef getFileFormatName() const; 597 virtual StringRef getObjectType() const { return "ELF"; } 599 virtual StringRef getLoadName() const [all...] |
| /external/clang/lib/ARCMigrate/ |
| TransProperties.cpp | 170 StringRef toAttr = "strong"; 288 bool removeAttribute(StringRef fromAttr, SourceLocation atLoc) const { 292 bool rewriteAttribute(StringRef fromAttr, StringRef toAttr, 297 bool addAttribute(StringRef attr, SourceLocation atLoc) const {
|
| /external/clang/lib/Frontend/ |
| VerifyDiagnosticConsumer.cpp | 179 bool Next(StringRef S) { 205 bool Search(StringRef S) { 316 StringRef NewlineStr = "\\n"; 317 StringRef Content(ContentBegin, ContentEnd-ContentBegin); 320 while ((FPos = Content.find(NewlineStr, CPos)) != StringRef::npos) {
|
| TextDiagnostic.cpp | 43 int bytesSincePreviousTabOrLineBegin(StringRef SourceLine, size_t i) { 73 printableTextForNextCharacter(StringRef SourceLine, size_t *i, 184 void byteToColumn(StringRef SourceLine, unsigned TabStop, 218 void columnToByte(StringRef SourceLine, unsigned TabStop, 241 SourceColumnMap(StringRef SourceLine, unsigned TabStop) 264 StringRef getSourceLine() const { 459 static unsigned skipWhitespace(unsigned Idx, StringRef Str, unsigned Length) { 490 static unsigned findEndOfWord(unsigned Start, StringRef Str, 556 static bool printWordWrapped(raw_ostream &OS, StringRef Str, 616 StringRef Message [all...] |
| /external/clang/utils/TableGen/ |
| ClangDiagnosticsEmitter.cpp | 113 unsigned getID(StringRef CategoryString) { 167 std::string ComponentName = StringRef(Component).upper(); 250 static std::string getDiagCategoryEnum(llvm::StringRef name) { 253 SmallString<256> enumName = llvm::StringRef("DiagCat_"); 254 for (llvm::StringRef::iterator I = name.begin(), E = name.end(); I != E; ++I)
|
| /external/llvm/lib/MC/ |
| MCELFStreamer.cpp | 99 virtual void EmitBytes(StringRef Data, unsigned AddrSpace); 108 virtual void EmitFileDirective(StringRef Filename); 127 void SetSection(StringRef Section, unsigned Type, unsigned Flags, 356 void MCELFStreamer::EmitBytes(StringRef Data, unsigned AddrSpace) { 401 void MCELFStreamer::EmitFileDirective(StringRef Filename) {
|
| WinCOFFStreamer.cpp | 73 virtual void EmitBytes(StringRef Data, unsigned AddrSpace); 78 virtual void EmitFileDirective(StringRef Filename); 91 void SetSection(StringRef Section, 336 void WinCOFFStreamer::EmitBytes(StringRef Data, unsigned AddrSpace) { 373 void WinCOFFStreamer::EmitFileDirective(StringRef Filename) {
|
| MCStreamer.cpp | 91 EmitBytes(StringRef(buf, Size), AddrSpace); 149 StringRef Directory, 150 StringRef Filename) { 158 StringRef FileName) { 296 StringRef Prefix = getContext().getAsmInfo().getPrivateGlobalPrefix(); 437 void MCStreamer::EmitCFIEscape(StringRef Values) { 649 void MCStreamer::EmitRawText(StringRef String) {
|
| /external/clang/lib/Lex/ |
| Pragma.cpp | 57 PragmaHandler *PragmaNamespace::FindHandler(StringRef Name, 61 return IgnoreNull ? 0 : Handlers.lookup(StringRef()); 88 : StringRef(), 427 StringRef Filename = getSpelling(FilenameTok, FilenameBuffer, &Invalid); 608 StringRef MessageString(Literal.GetString()); 765 StringRef SourceFileName; 797 StringRef ReplaceFileName; 822 StringRef OriginalSource = SourceFileName; 852 void Preprocessor::AddPragmaHandler(StringRef Namespace, 883 void Preprocessor::RemovePragmaHandler(StringRef Namespace [all...] |
| Preprocessor.cpp | 152 PragmaHandlers = new PragmaNamespace(StringRef()); 197 llvm::errs() << " [UnClean='" << StringRef(Start, Tok.getLength()) 342 /// SmallVector. Note that the returned StringRef may not point to the 344 StringRef Preprocessor::getSpelling(const Token &Tok, 360 return StringRef(Ptr, Len); 456 II = getIdentifierInfo(StringRef(Identifier.getRawIdentifierData(), 461 StringRef CleanedStr = getSpelling(Identifier, IdentifierBuffer);
|
| /external/llvm/lib/Support/ |
| APFloat.cpp | 19 #include "llvm/ADT/StringRef.h" 131 readExponent(StringRef::iterator begin, StringRef::iterator end) 136 StringRef::iterator p = begin; 175 totalExponent(StringRef::iterator p, StringRef::iterator end, 221 static StringRef::iterator 222 skipLeadingZeroesAndAnyDot(StringRef::iterator begin, StringRef::iterator end, 223 StringRef::iterator *dot [all...] |
| /external/llvm/include/llvm/TableGen/ |
| Record.h | 701 static StringInit *get(StringRef); [all...] |
| /external/clang/lib/CodeGen/ |
| CGDebugInfo.cpp | 117 StringRef CGDebugInfo::getFunctionName(const FunctionDecl *FD) { 142 return StringRef(StrPtr, NS.length()); 145 StringRef CGDebugInfo::getObjCMethodName(const ObjCMethodDecl *OMD) { 165 return StringRef(StrPtr, OS.tell()); 170 StringRef CGDebugInfo::getSelectorName(Selector S) { 174 return StringRef(StrPtr, SName.size()); 178 StringRef 197 StringRef Name = RD->getIdentifier()->getName(); 207 return StringRef(StrPtr, Length); 219 if (PLoc.isInvalid() || StringRef(PLoc.getFilename()).empty() [all...] |
| /external/clang/lib/StaticAnalyzer/Checkers/ |
| MacOSKeychainAPIChecker.cpp | 93 static unsigned getTrackedFunctionIndex(StringRef Name, bool IsAllocator); 194 unsigned MacOSKeychainAPIChecker::getTrackedFunctionIndex(StringRef Name, 293 StringRef funName = C.getCalleeName(CE); 393 StringRef DeallocatorName = DE->getFoundDecl()->getName(); 449 StringRef funName = C.getCalleeName(CE); 668 StringRef funName = funDecl->getName();
|
| /external/clang/tools/libclang/ |
| Indexing.cpp | 69 StringRef FileName, 73 StringRef SearchPath, 74 StringRef RelativePath) { 191 StringRef InFile) { 336 StringRef Data(unsaved_files[I].Contents, unsaved_files[I].Length); 372 StringRef ResourceFilesPath = CXXIdx->getClangResourcesPath();
|
| /external/llvm/lib/Target/ |
| TargetData.cpp | 128 static int getInt(StringRef R) { 159 std::string TargetData::parseSpecifier(StringRef Desc, TargetData *td) { 165 std::pair<StringRef, StringRef> Split = Desc.split('-'); 166 StringRef Token = Split.first; 173 StringRef Specifier = Split.first;
|