Searched refs:NameRef (Results 1 – 7 of 7) sorted by relevance
73 StringRef NameRef = Alloc.Name.toStringRef(NameBuf); in operator new() local75 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() local137 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() local168 if (NameRef == "-") in getFileOrSTDIN()
103 StringRef NameRef = Name.toStringRef(NameSV); in GetOrCreateSymbol() local105 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() local229 return Symbols.lookup(NameRef); in LookupSymbol()
296 HasNameMatcher::HasNameMatcher(StringRef NameRef) in HasNameMatcher() argument297 : UseUnqualifiedMatch(NameRef.find("::") == NameRef.npos), Name(NameRef) { in HasNameMatcher()
175 StringRef NameRef = NewName.toStringRef(NameData); in setName() local176 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()
255 StringRef NameRef = Name.toStringRef(NameData); in getNamedMetadata() local256 return static_cast<StringMap<NamedMDNode*> *>(NamedMDSymTab)->lookup(NameRef); in getNamedMetadata()
62 StringRef NameRef = Name; in LLVMGetTargetFromName() local65 if (IT->getName() == NameRef) in LLVMGetTargetFromName()
475 StringRef NameRef = Iter->first(); in addDefinedSymbol() local476 info.name = NameRef.data(); in addDefinedSymbol()477 assert(info.name[NameRef.size()] == '\0'); in addDefinedSymbol()