| /external/llvm/include/llvm/Transforms/Utils/ |
| SSAUpdater.h | 59 void Initialize(Type *Ty, StringRef Name); 127 SSAUpdater &S, StringRef Name = StringRef());
|
| /external/llvm/include/llvm/ |
| ValueSymbolTable.h | 28 class StringRef; 71 Value *lookup(StringRef Name) const { return vmap.lookup(Name); } 114 ValueName *createValueName(StringRef Name, Value *V);
|
| InlineAsm.h | 58 static InlineAsm *get(FunctionType *Ty, StringRef AsmString, 59 StringRef Constraints, bool hasSideEffects, 82 static bool Verify(FunctionType *Ty, StringRef Constraints); 162 bool Parse(StringRef Str, ConstraintInfoVector &ConstraintsSoFar); 172 static ConstraintInfoVector ParseConstraints(StringRef ConstraintString);
|
| /external/llvm/lib/Target/MBlaze/ |
| MBlazeTargetMachine.cpp | 70 MBlazeTargetMachine(const Target &T, StringRef TT, 71 StringRef CPU, StringRef FS, Reloc::Model RM):
|
| /external/llvm/lib/Target/Mips/ |
| MipsSubtarget.h | 25 class StringRef; 103 void ParseSubtargetFeatures(StringRef CPU, StringRef FS);
|
| /external/llvm/lib/Target/PTX/ |
| PTXSubtarget.h | 23 class StringRef; 117 void ParseSubtargetFeatures(StringRef CPU, StringRef FS);
|
| /external/llvm/lib/Target/PowerPC/ |
| PPCSubtarget.h | 29 class StringRef; 84 void ParseSubtargetFeatures(StringRef CPU, StringRef FS);
|
| /external/llvm/lib/VMCore/ |
| Module.cpp | 60 Module::Module(StringRef MID, LLVMContext& C) 81 StringRef temp = DataLayout; 85 StringRef token = DataLayout; 100 StringRef temp = DataLayout; 104 StringRef token, signalToken; 124 GlobalValue *Module::getNamedValue(StringRef Name) const { 130 unsigned Module::getMDKindID(StringRef Name) const { 137 void Module::getMDKindNames(SmallVectorImpl<StringRef> &Result) const { 151 Constant *Module::getOrInsertFunction(StringRef Name, 184 Constant *Module::getOrInsertTargetIntrinsic(StringRef Name [all...] |
| InlineAsm.cpp | 28 InlineAsm *InlineAsm::get(FunctionType *Ty, StringRef AsmString, 29 StringRef Constraints, bool hasSideEffects, 79 bool InlineAsm::ConstraintInfo::Parse(StringRef Str, 81 StringRef::iterator I = Str.begin(), E = Str.end(); 149 StringRef::iterator ConstraintEnd = std::find(I+1, E, '}'); 155 StringRef::iterator NumStart = I; 212 InlineAsm::ParseConstraints(StringRef Constraints) { 216 for (StringRef::iterator I = Constraints.begin(), 221 StringRef::iterator ConstraintEnd = std::find(I, E, ','); 224 Info.Parse(StringRef(I, ConstraintEnd-I), Result)) [all...] |
| /external/clang/lib/Driver/ |
| ArgList.cpp | 120 llvm::StringRef ArgList::getLastArgValue(OptSpecifier Id, 121 llvm::StringRef Default) const { 132 if (llvm::StringRef(A->getValue(*this)).getAsInteger(10, Res)) 180 Output.push_back(MakeArgString(llvm::StringRef(Translation) + 202 llvm::StringRef LHS, 203 llvm::StringRef RHS) const { 204 llvm::StringRef Cur = getArgString(Index); 226 unsigned InputArgList::MakeIndex(llvm::StringRef String0) const { 236 unsigned InputArgList::MakeIndex(llvm::StringRef String0, 237 llvm::StringRef String1) const [all...] |
| /external/llvm/include/llvm/ADT/ |
| StringMap.h | 17 #include "llvm/ADT/StringRef.h" 88 unsigned LookupBucketFor(StringRef Key); 93 int FindKey(StringRef Key) const; 101 StringMapEntryBase *RemoveKey(StringRef Key); 129 StringRef getKey() const { 130 return StringRef(getKeyData(), getKeyLength()); 143 StringRef first() const { return StringRef(getKeyData(), getKeyLength()); } 289 iterator find(StringRef Key) { 295 const_iterator find(StringRef Key) const [all...] |
| /external/llvm/lib/Support/ |
| MemoryBuffer.cpp | 61 /// CopyStringRef - Copies contents of a StringRef into a block of memory and 63 static void CopyStringRef(char *Memory, StringRef Data) { 70 static T *GetNamedBuffer(StringRef Buffer, StringRef Name, 81 MemoryBufferMem(StringRef InputData, bool RequiresNullTerminator) { 98 MemoryBuffer *MemoryBuffer::getMemBuffer(StringRef InputData, 99 StringRef BufferName, 108 MemoryBuffer *MemoryBuffer::getMemBufferCopy(StringRef InputData, 109 StringRef BufferName) { 122 StringRef BufferName) [all...] |
| CommandLine.cpp | 158 static Option *LookupOption(StringRef &Arg, StringRef &Value, 166 if (EqualPos == StringRef::npos) { 187 static Option *LookupNearestOption(StringRef Arg, 194 std::pair<StringRef, StringRef> SplitArg = Arg.split('='); 195 StringRef &LHS = SplitArg.first; // LHS == Arg when no '=' is present. 196 StringRef &RHS = SplitArg.second; 210 StringRef Flag = PermitValue ? LHS : Arg; 212 StringRef Name = OptionNames[i] [all...] |
| StringMap.cpp | 55 unsigned StringMapImpl::LookupBucketFor(StringRef Name) { 94 if (Name == StringRef(ItemStr, BucketItem->getKeyLength())) { 113 int StringMapImpl::FindKey(StringRef Key) const { 138 if (Key == StringRef(ItemStr, BucketItem->getKeyLength())) { 157 StringMapEntryBase *V2 = RemoveKey(StringRef(VStr, V->getKeyLength())); 164 StringMapEntryBase *StringMapImpl::RemoveKey(StringRef Key) {
|
| /external/llvm/include/llvm/Object/ |
| COFF.h | 80 error_code getString(uint32_t offset, StringRef &Res) const; 87 virtual error_code getSymbolName(DataRefImpl Symb, StringRef &Res) const; 94 virtual error_code getSectionName(DataRefImpl Sec, StringRef &Res) const; 97 virtual error_code getSectionContents(DataRefImpl Sec, StringRef &Res) const; 110 virtual StringRef getFileFormatName() const;
|
| ObjectFile.h | 18 #include "llvm/ADT/StringRef.h" 76 error_code getName(StringRef &Result) const; 107 error_code getName(StringRef &Result) const; 110 error_code getContents(StringRef &Result) const; 145 virtual error_code getSymbolName(DataRefImpl Symb, StringRef &Res) const = 0; 154 virtual error_code getSectionName(DataRefImpl Sec, StringRef &Res) const = 0; 157 virtual error_code getSectionContents(DataRefImpl Sec, StringRef &Res)const=0; 210 virtual StringRef getFileFormatName() const = 0; 217 static ObjectFile *createObjectFile(StringRef ObjectPath); 245 inline error_code SymbolRef::getName(StringRef &Result) const [all...] |
| /external/llvm/tools/llvm-objdump/ |
| llvm-objdump.cpp | 63 StringRef ToolName; 102 StringRef Bytes; 104 StringRefMemoryObject(StringRef bytes) : Bytes(bytes) {} 118 static void DumpBytes(StringRef bytes) { 133 for (StringRef::iterator i = bytes.begin(), 144 static void DisassembleInput(const StringRef &Filename) { 174 std::vector<std::pair<uint64_t, StringRef> > Symbols; 182 StringRef Name; 191 StringRef name; 222 StringRef Bytes [all...] |
| /external/llvm/include/llvm/Target/ |
| TargetRegistry.h | 72 StringRef TT); 73 typedef MCCodeGenInfo *(*MCCodeGenInfoCtorFnTy)(StringRef TT, Reloc::Model M); 75 typedef MCRegisterInfo *(*MCRegInfoCtorFnTy)(StringRef TT); 76 typedef MCSubtargetInfo *(*MCSubtargetInfoCtorFnTy)(StringRef TT, 77 StringRef CPU, 78 StringRef Features); 80 StringRef TT, 81 StringRef CPU, 82 StringRef Features, 258 MCAsmInfo *createMCAsmInfo(StringRef Triple) const [all...] |
| /external/clang/lib/ARCMigrate/ |
| TransformActions.cpp | 19 using llvm::StringRef; 49 llvm::StringRef Text1, Text2; 107 typedef llvm::SmallVector<StringRef, 2> TextsVec; 133 void insert(SourceLocation loc, llvm::StringRef text); 134 void insertAfterToken(SourceLocation loc, llvm::StringRef text); 137 void replace(SourceRange range, llvm::StringRef text); 139 void replaceStmt(Stmt *S, llvm::StringRef text); 140 void replaceText(SourceLocation loc, llvm::StringRef text, 141 llvm::StringRef replacementText); 154 bool canReplaceText(SourceLocation loc, llvm::StringRef text) [all...] |
| TransUnbridgedCasts.cpp | 44 using llvm::StringRef; 120 StringRef fname = FD->getIdentifier()->getName(); 122 fname.find("Create") != StringRef::npos || 123 fname.find("Copy") != StringRef::npos) { 128 if (fname.find("Get") != StringRef::npos) { 150 StringRef bridge;
|
| /external/clang/lib/Frontend/ |
| DependencyFile.cpp | 42 void AddFilename(llvm::StringRef Filename); 58 llvm::StringRef FileName, 62 llvm::StringRef SearchPath, 63 llvm::StringRef RelativePath); 129 llvm::StringRef Filename = FE->getName(); 146 llvm::StringRef FileName, 150 llvm::StringRef SearchPath, 151 llvm::StringRef RelativePath) { 156 void DependencyFileCallback::AddFilename(llvm::StringRef Filename) { 163 static void PrintFilename(llvm::raw_ostream &OS, llvm::StringRef Filename) [all...] |
| /external/llvm/lib/MC/ |
| SubtargetFeature.cpp | 30 static inline bool hasFlag(const StringRef Feature) { 40 static inline std::string StripFlag(const StringRef Feature) { 46 static inline bool isEnabled(const StringRef Feature) { 56 static inline std::string PrependFlag(const StringRef Feature, 68 static void Split(std::vector<std::string> &V, const StringRef S) { 112 void SubtargetFeatures::AddFeature(const StringRef String, 122 template<typename T> const T *Find(const StringRef S, const T *A, size_t L) { 131 if (F == Hi || StringRef(F->Key) != S) return NULL; 179 SubtargetFeatures::SubtargetFeatures(const StringRef Initial) { 230 SubtargetFeatures::ToggleFeature(uint64_t Bits, const StringRef Feature [all...] |
| /external/clang/lib/Rewrite/ |
| Rewriter.cpp | 87 void RewriteBuffer::InsertText(unsigned OrigOffset, llvm::StringRef Str, 104 llvm::StringRef NewStr) { 225 llvm::StringRef MB = SourceMgr->getBufferData(FID); 233 bool Rewriter::InsertText(SourceLocation Loc, llvm::StringRef Str, 235 using llvm::StringRef; 242 if (indentNewLines && Str.find('\n') != StringRef::npos) { 243 StringRef MB = SourceMgr->getBufferData(FID); 251 StringRef indentSpace; 259 llvm::SmallVector<StringRef, 4> lines; 276 bool Rewriter::InsertTextAfterToken(SourceLocation Loc, llvm::StringRef Str) [all...] |
| /external/clang/tools/arcmt-test/ |
| arcmt-test.cpp | 89 virtual void insert(SourceLocation loc, llvm::StringRef text) { 106 static bool checkForMigration(llvm::StringRef resourcesPath, 148 static bool performTransformations(llvm::StringRef resourcesPath, 202 static bool filesCompareEqual(llvm::StringRef fname1, llvm::StringRef fname2) { 223 std::map<StringRef, StringRef> resultMap; 227 StringRef fname(*I); 246 SmallVector<StringRef, 8> strs; 259 StringRef inputOrigFname = strs[i] [all...] |
| /frameworks/compile/slang/ |
| slang_rs_export_type.h | 29 #include "llvm/ADT/StringRef.h" 87 const llvm::StringRef &Name); 98 const llvm::StringRef &TypeName); 100 static llvm::StringRef GetTypeName(const clang::Type *T); 128 llvm::StringRef &TypeName, 229 const llvm::StringRef &TypeName, 237 const llvm::StringRef &Name, 263 static DataType GetRSSpecificType(const llvm::StringRef &TypeName); 295 const llvm::StringRef &Name, 306 const llvm::StringRef &TypeName) [all...] |