Home
last modified time | relevance | path

Searched refs:NameRef (Results 1 – 7 of 7) sorted by relevance

/external/llvm/lib/Support/
DMemoryBuffer.cpp73 StringRef NameRef = Alloc.Name.toStringRef(NameBuf); in operator new() local
75 char *Mem = static_cast<char *>(operator new(N + NameRef.size() + 1)); in operator new()
76 CopyStringRef(Mem + N, NameRef); in operator new()
135 StringRef NameRef = BufferName.toStringRef(NameBuf); in getNewUninitMemBuffer() local
137 RoundUpToAlignment(sizeof(MemoryBufferMem) + NameRef.size() + 1, 16); in getNewUninitMemBuffer()
144 CopyStringRef(Mem + sizeof(MemoryBufferMem), NameRef); in getNewUninitMemBuffer()
166 StringRef NameRef = Filename.toStringRef(NameBuf); in getFileOrSTDIN() local
168 if (NameRef == "-") in getFileOrSTDIN()
/external/llvm/lib/MC/
DMCContext.cpp103 StringRef NameRef = Name.toStringRef(NameSV); in GetOrCreateSymbol() local
105 assert(!NameRef.empty() && "Normal symbols cannot be unnamed!"); in GetOrCreateSymbol()
107 MCSymbol *&Sym = Symbols[NameRef]; in GetOrCreateSymbol()
109 Sym = CreateSymbol(NameRef, false); in GetOrCreateSymbol()
228 StringRef NameRef = Name.toStringRef(NameSV); in LookupSymbol() local
229 return Symbols.lookup(NameRef); in LookupSymbol()
/external/clang/lib/ASTMatchers/
DASTMatchersInternal.cpp296 HasNameMatcher::HasNameMatcher(StringRef NameRef) in HasNameMatcher() argument
297 : UseUnqualifiedMatch(NameRef.find("::") == NameRef.npos), Name(NameRef) { in HasNameMatcher()
/external/llvm/lib/IR/
DValue.cpp175 StringRef NameRef = NewName.toStringRef(NameData); in setName() local
176 assert(NameRef.find_first_of(0) == StringRef::npos && in setName()
180 if (getName() == NameRef) in setName()
194 if (NameRef.empty()) { in setName()
205 setValueName(ValueName::Create(NameRef)); in setName()
217 if (NameRef.empty()) in setName()
222 setValueName(ST->createValueName(NameRef, this)); in setName()
DModule.cpp255 StringRef NameRef = Name.toStringRef(NameData); in getNamedMetadata() local
256 return static_cast<StringMap<NamedMDNode*> *>(NamedMDSymTab)->lookup(NameRef); in getNamedMetadata()
/external/llvm/lib/Target/
DTargetMachineC.cpp62 StringRef NameRef = Name; in LLVMGetTargetFromName() local
65 if (IT->getName() == NameRef) in LLVMGetTargetFromName()
/external/llvm/lib/LTO/
DLTOModule.cpp475 StringRef NameRef = Iter->first(); in addDefinedSymbol() local
476 info.name = NameRef.data(); in addDefinedSymbol()
477 assert(info.name[NameRef.size()] == '\0'); in addDefinedSymbol()