/external/compiler-rt/lib/ubsan/ |
ubsan_diag.h | 116 /// \brief A mangled C++ name. Really just a strong typedef for 'const char*'. 118 const char *Name; 120 MangledName(const char *Name) : Name(Name) {} 121 const char *getName() const { return Name; } 144 AK_Mangled,///< A C++ mangled name, demangled before display.
|
/external/llvm/examples/Kaleidoscope/Chapter3/ |
toy.cpp | 101 std::string Name; 103 VariableExprAST(const std::string &name) : Name(name) {} 128 /// which captures its name, and its argument names (thus implicitly the number 131 std::string Name; 134 PrototypeAST(const std::string &name, const std::vector<std::string> &args) 135 : Name(name), Args(args) {} 299 return ErrorP("Expected function name in prototype") [all...] |
/external/llvm/include/llvm/Bitcode/ |
BitstreamReader.h | 38 std::string Name; 47 /// This is set to true if we don't care about the block/record name 84 /// This is called by clients that want block/record name information.
|
/external/llvm/include/llvm/ProfileData/ |
InstrProfReader.h | 35 InstrProfRecord(StringRef Name, uint64_t Hash, ArrayRef<uint64_t> Counts) 36 : Name(Name), Hash(Hash), Counts(Counts) {} 37 StringRef Name; 109 /// Each record consists of a function name, a function hash, a number of 215 data_type(StringRef Name, ArrayRef<uint64_t> Data) 216 : Name(Name), Data(Data) {} 217 StringRef Name; 291 /// Fill Counts with the profile data for the given function name [all...] |
/external/llvm/include/llvm/Support/ |
YAMLParser.h | 340 /// Name: _main 447 : Node(NK_Alias, D, StringRef(), StringRef()), Name(Val) {} 449 StringRef getName() const { return Name; } 455 StringRef Name;
|
/external/llvm/lib/AsmParser/ |
LLParser.cpp | 119 "expected function name in blockaddress"); 189 // The Global variable production with no name can have many different 305 if (ParseToken(lltok::equal, "expected '=' after name") || 328 std::string Name = Lex.getStrVal(); 332 if (ParseToken(lltok::equal, "expected '=' after name") || 333 ParseToken(lltok::kw_type, "expected 'type' after name")) 337 if (ParseStructDefinition(NameLoc, Name, 338 NamedTypes[Name], Result)) return true; 341 std::pair<Type*, LocTy> &Entry = NamedTypes[Name]; 398 std::string Name; [all...] |
/external/llvm/lib/DebugInfo/DWARF/ |
DWARFContext.cpp | 31 static void dumpPubSection(raw_ostream &OS, StringRef Name, StringRef Data, 33 OS << "\n." << Name << " contents:\n"; 42 OS << "Offset Linkage Kind Name\n"; 44 OS << "Offset Name\n"; 62 static void dumpAccelSection(raw_ostream &OS, StringRef Name, 67 OS << "\n." << Name << " contents:\n"; 389 // name of the topmost function in it. 395 if (const char *Name = 397 FunctionName = Name; 491 // Get function name if necessary 544 StringRef name; local [all...] |
/external/llvm/lib/ExecutionEngine/MCJIT/ |
MCJIT.cpp | 266 RuntimeDyld::SymbolInfo MCJIT::findExistingSymbol(const std::string &Name) { 269 Mang.getNameWithPrefix(FullName, Name); 273 Module *MCJIT::findModuleForSymbol(const std::string &Name, 282 Function *F = M->getFunction(Name); 286 GlobalVariable *G = M->getGlobalVariable(Name); 296 uint64_t MCJIT::getSymbolAddress(const std::string &Name, 298 return findSymbol(Name, CheckFunctionsOnly).getAddress(); 301 RuntimeDyld::SymbolInfo MCJIT::findSymbol(const std::string &Name, 306 if (auto Sym = findExistingSymbol(Name)) 312 object::Archive::child_iterator ChildIt = A->findSym(Name); [all...] |
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
RuntimeDyldImpl.h | 54 /// Name - section name. 55 std::string Name; 77 SectionEntry(StringRef name, uint8_t *address, size_t size, 79 : Name(name), Address(address), Size(size), 231 // modules. This map is indexed by symbol name. 396 uint8_t* getSymbolLocalAddress(StringRef Name) const { 399 RTDyldSymbolTable::const_iterator pos = GlobalSymbolTable.find(Name); 406 RuntimeDyld::SymbolInfo getSymbol(StringRef Name) const [all...] |
RuntimeDyldMachO.cpp | 156 << Sections[PTSectionID].Name 188 StringRef Name; 189 Section.getName(Name); 194 if (Name == "__text") 196 else if (Name == "__eh_frame") 198 else if (Name == "__gcc_except_tab")
|
/external/llvm/lib/IR/ |
AutoUpgrade.cpp | 84 StringRef Name = F->getName(); 85 if (Name.size() <= 8 || !Name.startswith("llvm.")) 87 Name = Name.substr(5); // Strip off "llvm." 89 switch (Name[0]) { 92 if (Name.startswith("arm.neon.vclz")) { 98 // the end of the name. Change name from llvm.arm.neon.vclz.* to 102 "llvm.ctlz." + Name.substr(14), F->getParent()) [all...] |
Value.cpp | 84 // If this value is named, destroy the name. This should not be in a symtab 90 ValueName *Name = getValueName(); 91 if (Name) 92 Name->Destroy(); 155 return true; // no name is setable for this. 170 // Fast path for common IRBuilder case of setName("") when there is no name. 179 // Name isn't changing? 183 assert(!getType()->isVoidTy() && "Cannot assign a name to void values!"); 188 return; // Cannot set a name on this value (e.g. constant). 195 // Free the name for this value [all...] |
/external/llvm/lib/LTO/ |
LTOModule.cpp | 254 /// Create a MemoryBuffer from a memory range with an optional name. 256 LTOModule::makeBuffer(const void *mem, size_t length, StringRef name) { 258 return MemoryBuffer::getMemBuffer(StringRef(startPtr, length), name, false); 263 LTOModule::objcClassNameFromExpression(const Constant *c, std::string &name) { 270 name = (".objc_class_name_" + ca->getAsCString()).str(); 284 // second slot in __OBJC,__class is pointer to superclass name 291 info.name = IterBool.first->first().data(); 298 // third slot in __OBJC,__class is pointer to class name 304 info.name = Iter->first().data(); 318 // second slot in __OBJC,__category is pointer to target class name 551 SmallString<64> name; local [all...] |
/external/llvm/lib/MC/MCParser/ |
COFFAsmParser.cpp | 270 StringRef Name; 272 if (getParser().parseIdentifier(Name)) 275 MCSymbol *Sym = getContext().GetOrCreateSymbol(Name); 322 // .section name [, "flags"] [, identifier [ identifier ], identifier]
|
ELFAsmParser.cpp | 172 StringRef Name; 174 if (getParser().parseIdentifier(Name)) 177 MCSymbol *Sym = getContext().GetOrCreateSymbol(Name); 209 StringRef Name; 210 if (getParser().parseIdentifier(Name)) 212 MCSymbol *Sym = getContext().GetOrCreateSymbol(Name); 230 // A section name can contain -, so we cannot just use 422 return TokError("Section cannot specifiy a group name while also acting " 454 return TokError("expected group name"); 580 StringRef Name; [all...] |
/external/llvm/lib/Object/ |
Archive.cpp | 32 if (Name[0] == '/' || Name[0] == '#') 37 llvm::StringRef(Name, sizeof(Name)).find(EndCond); 39 end = sizeof(Name); 40 assert(end <= sizeof(Name) && end > 0); 42 return llvm::StringRef(Name, end); 98 // Don't include attached name. 99 StringRef Name = Header->getName(); 100 if (Name.startswith("#1/")) 141 StringRef name = getRawName(); local [all...] |
/external/llvm/lib/ProfileData/ |
CoverageMappingReader.cpp | 378 // function name. This is useful to ignore the redundant records for the 383 // Finally, grab the name and create a record. 467 StringRef Name; 468 if (auto Err = Section.getName(Name)) 470 if (Name == "__llvm_prf_names") { 472 } else if (Name == "__llvm_covmap") {
|
/external/llvm/lib/Target/Mips/ |
Mips16HardFloat.cpp | 268 std::string Name = F.getName(); 269 std::string SectionName = ".mips16.call.fp." + Name; 270 std::string StubName = "__call_stub_fp_" + Name; 292 IAH.Out("jal " + Name); 294 IAH.Out("lui $$25,%hi(" + Name + ")"); 295 IAH.Out("addiu $$25,$$25,%lo(" + Name + ")" ); 402 const char *Name = Helper[RV]; 418 Value *F = (M->getOrInsertFunction(Name, A, MyVoid, T, nullptr)); 458 std::string Name = F->getName(); 459 std::string SectionName = ".mips16.fn." + Name; [all...] |
Mips16ISelLowering.cpp | 39 const char *Name; 42 return std::strcmp(Name, RHS.Name) < 0; 47 const char* Name; 51 return std::strcmp(Name, RHS.Name) < 0; 54 return std::strcmp(Name, RHS.Name) == 0; 59 // Libcalls for which no helper is generated. Sorted by name for binary search. 259 setLibcallName(HardFloatLibCalls[I].Libcall, HardFloatLibCalls[I].Name); [all...] |
/external/llvm/tools/llvm-readobj/ |
MachODumper.cpp | 270 ArrayRef<char> Name; 400 StringRef Name; 401 if (error(Section.getName(Name))) 402 Name = ""; 410 W.printBinary("Name", Name, RawName); 459 StringRef Name; 460 if (error(Section.getName(Name))) 466 W.startLine() << "Section " << Name << " {\n"; 567 W.printNumber("Name", SymbolName, MOSymbol.StringIndex) [all...] |
/external/llvm/tools/llvm-rtdyld/ |
llvm-rtdyld.cpp | 122 void *getPointerToNamedFunction(const std::string &Name, 239 StringRef Name; 242 if (I->getName(Name)) continue; 246 outs() << "Function: " << Name << ", Size = " << Size << "\n"; 328 // Use the name of the first input object module as argv[0] for the target. 362 << "'. Should be '<file name>,<section name>=<addr>'\n";
|
/external/llvm/tools/llvm-symbolizer/ |
LLVMSymbolize.cpp | 54 StringRef Name; 55 if (!error(Section->getName(Name)) && Name == ".opd") { 125 std::string &Name, uint64_t &Addr, 138 Name = SymbolIterator->second.str(); 151 // Override function name from symbol table if necessary. 174 // Override the function name in lower frame with name from symbol table. 194 bool ModuleInfo::symbolizeData(uint64_t ModuleOffset, std::string &Name, 196 return getNameFromSymbolTable(SymbolRef::ST_Data, ModuleOffset, Name, Start [all...] |
/external/llvm/tools/yaml2obj/ |
yaml2elf.cpp | 58 // sections and symbols can be referenced by name instead of by index. 63 /// \returns true if name is already present in the map. 64 bool addName(StringRef Name, unsigned i) { 65 return !Map.insert(std::make_pair(Name, (int)i)).second; 67 /// \returns true if name is not present in the map 68 bool lookup(StringRef Name, unsigned &Idx) const { 69 StringMap<int>::const_iterator I = Map.find(Name); 123 void initStrtabSectionHeader(Elf_Shdr &SHeader, StringRef Name, 190 DotShStrtab.add(Sec->Name); 195 SHeader.sh_name = DotShStrtab.getOffset(Sec->Name); [all...] |
/external/llvm/utils/TableGen/ |
CodeGenInstruction.h | 69 /// Name - If this operand was assigned a symbolic name, this is it, 71 std::string Name; 110 : Rec(R), Name(N), PrinterMethodName(PMN), EncoderMethodName(EMN), 160 /// non-empty name. If the instruction does not have an operand with the 161 /// specified name, abort. 162 unsigned getOperandNamed(StringRef Name) const; 165 /// given name. If so, return true and set OpIdx to the index of the 167 bool hasOperandNamed(StringRef Name, unsigned &OpIdx) const; 169 /// ParseOperandName - Parse an operand name like "$foo" or "$foo.bar" [all...] |
CodeGenMapTable.cpp | 93 std::string Name; 102 Name = MapRec->getName(); 149 return Name; 471 // Emit function name and the input parameters : mostly opcode value of the
|