/external/llvm/examples/Kaleidoscope/Chapter4/ |
toy.cpp | 115 std::string Name; 118 VariableExprAST(const std::string &name) : Name(name) {} 145 /// which captures its name, and its argument names (thus implicitly the number 148 std::string Name; 152 PrototypeAST(const std::string &name, const std::vector<std::string> &args) 153 : Name(name), Args(args) {} 335 return ErrorP("Expected function name in prototype") [all...] |
/external/llvm/examples/Kaleidoscope/Chapter5/ |
toy.cpp | 133 std::string Name; 136 VariableExprAST(const std::string &name) : Name(name) {} 185 /// which captures its name, and its argument names (thus implicitly the number 188 std::string Name; 192 PrototypeAST(const std::string &name, const std::vector<std::string> &args) 193 : Name(name), Args(args) {} 455 return ErrorP("Expected function name in prototype") [all...] |
/external/llvm/include/llvm/MC/ |
MCRegisterInfo.h | 106 uint32_t Name; // Printable name for the reg (for debugging) 360 /// \brief Return the human-readable symbolic target-specific name for the 363 return RegStrings + get(RegNo).Name;
|
/external/llvm/include/llvm/Object/ |
ELFObjectFile.h | 260 ErrorOr<StringRef> Name = EF.getSymbolName(toELFSymIter(Symb)); 261 if (!Name) 262 return Name.getError(); 263 Result = *Name; 439 ErrorOr<StringRef> Name = EF.getSectionName(&*toELFShdrIter(Sec)); 440 if (!Name) 441 return Name.getError(); 442 Result = *Name;
|
/external/llvm/include/llvm/ProfileData/ |
CoverageMapping.h | 254 /// \brief Raw function name. 255 std::string Name; 263 FunctionRecord(StringRef Name, ArrayRef<StringRef> Filenames) 264 : Name(Name), Filenames(Filenames.begin(), Filenames.end()) {} 383 /// \brief Get the name of the file this data covers. 426 /// The given filename must be the name as recorded in the coverage
|
/external/llvm/lib/AsmParser/ |
LLParser.h | 49 t_LocalName, t_GlobalName, // Name in StrVal. 154 /// GetGlobalVal - Get a value with the specified name or ID, creating a 160 /// Get a Comdat with the specified name, creating a forward reference 256 bool ParseGlobal(const std::string &Name, LocTy Loc, unsigned Linkage, 260 bool ParseAlias(const std::string &Name, LocTy Loc, unsigned Linkage, 289 bool ParseStructDefinition(SMLoc TypeLoc, StringRef Name, 315 /// GetVal - Get a value with the specified name or ID, creating a 318 Value *GetVal(const std::string &Name, Type *Ty, LocTy Loc); 322 /// basic block, this installs its name. 326 /// GetBB - Get a basic block with the specified name or ID, creating [all...] |
/external/llvm/lib/CodeGen/AsmPrinter/ |
DwarfCompileUnit.cpp | 126 // Add name and type. 201 // If the linkage name is different than the name, go ahead and output 202 // that as well into the name table. 295 // Add name to the name table, we do this here because we're guaranteed 439 // Add name to the name table, we do this here because we're guaranteed 655 StringRef Name = Module->getName(); 656 if (!Name.empty() [all...] |
/external/llvm/lib/CodeGen/ |
MachineBasicBlock.cpp | 247 std::string Name; 249 Name = (getParent()->getName() + ":").str(); 251 Name += getBasicBlock()->getName(); 253 Name += ("BB" + Twine(getNumber())).str(); 254 return Name; [all...] |
MachineFunction.cpp | 468 SmallString<60> Name; 469 raw_svector_ostream(Name) 471 return Ctx.GetOrCreateSymbol(Name); [all...] |
TargetLoweringObjectFileImpl.cpp | 115 getELFKindForNamedSection(StringRef Name, SectionKind K) { 122 if (Name.empty() || Name[0] != '.') return K; 125 if (Name == ".bss" || 126 Name.startswith(".bss.") || 127 Name.startswith(".gnu.linkonce.b.") || 128 Name.startswith(".llvm.linkonce.b.") || 129 Name == ".sbss" || 130 Name.startswith(".sbss.") || 131 Name.startswith(".gnu.linkonce.sb.") | [all...] |
/external/llvm/lib/IR/ |
Function.cpp | 44 Argument::Argument(Type *Ty, const Twine &Name, Function *Par) 50 setName(Name); 240 Function::Function(FunctionType *Ty, LinkageTypes Linkage, const Twine &name, 243 Linkage, name), 357 // Maintain the GC name for each function in an on-the-side table. This saves 450 const char *Name = ValName->getKeyData(); 459 /// Returns a stable mangling for the type specified for use in the name 461 /// of named types is simply their name. Manglings for unnamed types consist 850 // There can never be multiple globals with the same name of different types, [all...] |
/external/llvm/lib/MC/MCParser/ |
DarwinAsmParser.cpp | 405 StringRef Name; 406 if (getParser().parseIdentifier(Name)) 410 MCSymbol *Sym = getContext().GetOrCreateSymbol(Name); 443 StringRef Name; 444 if (getParser().parseIdentifier(Name)) 447 MCSymbol *Sym = getContext().GetOrCreateSymbol(Name); 454 return TokError("unable to emit indirect symbol attribute for: " + Name); 517 StringRef Name; 518 if (getParser().parseIdentifier(Name)) 522 MCSymbol *Sym = getContext().GetOrCreateSymbol(Name); [all...] |
/external/llvm/lib/Target/AArch64/InstPrinter/ |
AArch64InstPrinter.cpp | [all...] |
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
MipsTargetStreamer.cpp | 50 void MipsTargetStreamer::emitDirectiveEnd(StringRef Name) {} 169 void MipsTargetAsmStreamer::emitDirectiveEnd(StringRef Name) { 170 OS << "\t.end\t" << Name << '\n'; 562 void MipsTargetELFStreamer::emitDirectiveEnd(StringRef Name) { 571 MCSymbolRefExpr::Create(Name, MCSymbolRefExpr::VK_None, Context);
|
/external/llvm/lib/Target/X86/ |
X86MCInstLower.cpp | 130 SmallString<128> Name; 136 Name += "__imp_"; 149 Name += DL->getPrivateGlobalPrefix(); 151 unsigned PrefixLen = Name.size(); 155 AsmPrinter.getNameWithPrefix(Name, GV); 157 getMang()->getNameWithPrefix(Name, MO.getSymbolName()); 159 Name += MO.getMBB()->getSymbol()->getName(); 161 unsigned OrigLen = Name.size() - PrefixLen; 163 Name += Suffix; 164 MCSymbol *Sym = Ctx.GetOrCreateSymbol(Name); 744 StringRef name = is64Bits ? "__tls_get_addr" : "___tls_get_addr"; local [all...] |
/external/llvm/tools/gold/ |
gold-plugin.cpp | 134 // ParseCommandLineOptions() expects argv[0] to be program name. Lazily 322 message(LDPL_ERROR, "Failed to get a view of %s", file->name); 334 MemoryBuffer::getOpenFileSlice(file->fd, file->name, file->filesize, 375 SmallString<64> Name; 377 raw_svector_ostream OS(Name); 380 sym.name = strdup(Name.c_str()); 425 sym.comdat_key = strdup(sym.name); 575 free(Sym.name); 577 Sym.name = nullptr [all...] |
/external/llvm/tools/llvm-nm/ |
llvm-nm.cpp | 95 "print-file-name", 98 cl::alias PrintFileNameA("A", cl::desc("Alias for --print-file-name"), 100 cl::alias PrintFileNameo("o", cl::desc("Alias for --print-file-name"), 135 cl::opt<bool> JustSymbolName("just-symbol-name", 136 cl::desc("Print just the symbol's name")); 137 cl::alias JustSymbolNames("j", cl::desc("Alias for --just-symbol-name"), 147 "and section name, Mach-O only")); 182 StringRef Name; 191 if (A.Address == B.Address && A.Name < B.Name) [all...] |
/external/llvm/tools/llvm-objdump/ |
llvm-objdump.cpp | 107 cl::value_desc("cpu-name"), 111 llvm::ArchName("arch-name", cl::desc("Target arch to disassemble for, " 192 // Update the triple name and return the found target. 319 StringRef Name; 320 if (error(Symbol.getName(Name))) 322 Symbols.push_back(std::make_pair(Address, Name)); 347 StringRef name; local 348 if (error(Section.getName(name))) 353 outs() << name << ':'; 358 Symbols.push_back(std::make_pair(0, name)); 418 SmallString<16> name; local [all...] |
/external/llvm/tools/llvm-readobj/ |
COFFDumper.cpp | 85 uint64_t Offset, StringRef &Name); 135 // Given a section and an offset into this section the function returns the name 139 StringRef &Name) { 143 if (std::error_code EC = Symbol.getName(Name)) 577 StringRef Name = FunctionNames[I]; 579 W.printString("FunctionName", Name); 581 DataExtractor DE(FunctionLineTables[Name], true, 4); 728 StringRef Name; 729 if (error(Sec.getName(Name))) 730 Name = "" [all...] |
ELFDumper.cpp | 577 StringRef Name = errorOrDefault(Obj->getSectionName(Section)); 581 W.printNumber("Name", Name, Section->sh_name); 630 StringRef Name = errorOrDefault(Obj->getSectionName(&*SecI)); 632 W.startLine() << "Section (" << SectionNumber << ") " << Name << " {\n"; 723 W.printNumber("Name", FullSymbolName, Symbol->st_name); 733 #define LLVM_READOBJ_TYPE_CASE(name) \ 734 case DT_##name: return #name 838 OS << Flag.Name << " "; [all...] |
/external/llvm/utils/TableGen/ |
RegisterInfoEmitter.cpp | 128 OS << "\n// Register alternate name indices\n"; 233 OS << "// Get the name of this register unit pressure set.\n" 241 OS << " \"" << RegUnits.Name << "\",\n"; 256 << RegUnits.Name << "\n"; [all...] |
/external/lzma/CPP/7zip/Archive/Common/ |
HandlerOut.cpp | 109 const wchar_t *Name;
162 static int FindPropIdExact(const UString &name)
165 if (name.CompareNoCase(g_NameToPropID[i].Name) == 0)
170 static int FindPropIdStart(const UString &name)
174 UString t = g_NameToPropID[i].Name;
175 if (t.CompareNoCase(name.Left(t.Length())) == 0)
291 UString name;
local 300 subStrings.Add(name);
301 name.Empty(); 386 UString name, value; local 505 UString name = nameSpec; local [all...] |
/external/lzma/CPP/7zip/Archive/ |
XzHandler.cpp | 160 const char *Name;
182 s = g_NamePairs[i].Name;
|
/external/lzma/CPP/7zip/UI/Client7z/ |
Client7z.cpp | 185 UString _filePath; // name inside arcvhive
235 // Get Name
425 UString Name;
530 case kpidPath: prop = dirItem.Name; break;
553 static void GetStream2(const wchar_t *name)
556 if (name[0] == 0)
557 name = kEmptyFileAlias;
558 PrintString(name);
566 GetStream2(dirItem.Name);
701 UString name = GetUnicodeString(args[i]); local [all...] |
/external/lzma/CPP/7zip/UI/Common/ |
Update.cpp | 60 UString Name;
121 UString name = Prefix + res;
local 124 if (!subStream.StreamSpec->Create(name, false))
128 TempFiles->Paths.Add(name);
133 subStream.Name = name;
228 NDirectory::DeleteFileAlways(subStream.Name);
297 return _callback->ShowDeleteFile((*_arcItems)[arcIndex].Name);
459 updateCallbackSpec->VolName = archivePath.Prefix + archivePath.Name;
526 RINOK(arc.GetItemPath(i, ai.Name));
664 UString name = options.SfxModule; local 903 AString name = GetAnsiString(fileName); local [all...] |