Home
last modified time | relevance | path

Searched refs:SymbolTable (Results 1 – 25 of 381) sorted by relevance

12345678910>>...16

/external/llvm-project/mlir/lib/IR/
DSymbolTable.cpp29 symbol->getAttrOfType<StringAttr>(SymbolTable::getSymbolAttrName()); in getNameIfSymbol()
60 Identifier::get(SymbolTable::getSymbolAttrName(), ctx); in collectValidReferencesFor()
63 if (!symbolTableOp->hasTrait<OpTrait::SymbolTable>()) in collectValidReferencesFor()
96 if (!op.hasTrait<OpTrait::SymbolTable>()) { in walkSymbolTable()
110 SymbolTable::SymbolTable(Operation *symbolTableOp) in SymbolTable() function in SymbolTable
112 assert(symbolTableOp->hasTrait<OpTrait::SymbolTable>() && in SymbolTable()
119 Identifier symbolNameId = Identifier::get(SymbolTable::getSymbolAttrName(), in SymbolTable()
135 Operation *SymbolTable::lookup(StringRef name) const { in lookup()
140 void SymbolTable::erase(Operation *symbol) { in erase()
156 void SymbolTable::insert(Operation *symbol, Block::iterator insertPt) { in insert()
[all …]
/external/llvm-project/mlir/include/mlir/IR/
DSymbolInterfaces.td26 operation resides immediately within a region that defines a `SymbolTable`.
37 return mlir::SymbolTable::getSymbolName($_op);
39 return mlir::SymbolTable::getSymbolName(this->getOperation());
46 mlir::SymbolTable::getSymbolAttrName(),
51 "mlir::SymbolTable::Visibility", "getVisibility", (ins), [{}],
53 return mlir::SymbolTable::getSymbolVisibility(this->getOperation());
59 return getVisibility() == mlir::SymbolTable::Visibility::Nested;
65 return getVisibility() == mlir::SymbolTable::Visibility::Private;
71 return getVisibility() == mlir::SymbolTable::Visibility::Public;
75 "void", "setVisibility", (ins "mlir::SymbolTable::Visibility":$vis), [{}],
[all …]
/external/llvm-project/mlir/test/lib/IR/
DTestSymbolUses.cpp23 Optional<SymbolTable::UseRange> symbolUses = in operateOnSymbol()
24 SymbolTable::getSymbolUses(symbol); in operateOnSymbol()
38 if (SymbolTable::symbolKnownUseEmpty(symbol, &module.getBodyRegion())) { in operateOnSymbol()
48 symbolUses = SymbolTable::getSymbolUses(symbol, &module.getBodyRegion()); in operateOnSymbol()
50 for (SymbolTable::SymbolUse symbolUse : *symbolUses) { in operateOnSymbol()
52 if (SymbolTable::lookupNearestSymbolFrom( in operateOnSymbol()
56 << symbol->getAttr(SymbolTable::getSymbolAttrName()); in operateOnSymbol()
74 SymbolTable table(module); in runOnOperation()
78 auto name = SymbolTable::getSymbolName(op); in runOnOperation()
100 if (succeeded(SymbolTable::replaceAllSymbolUses( in runOnOperation()
[all …]
/external/antlr/runtime/ObjC/Framework/examples/scopes/
DSymbolTableLexer.m4 …file : /Users/acondit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/SymbolTable.g
14 …condit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/SymbolTable.g 2012-02-16 17…
34 …e:@"/Users/acondit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/SymbolTable.g"];
77 …condit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/SymbolTable.g:7:6: ( '(' ) …
78 …condit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/SymbolTable.g:7:8: '(' // a…
111 …condit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/SymbolTable.g:8:6: ( ')' ) …
112 …condit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/SymbolTable.g:8:8: ')' // a…
145 …condit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/SymbolTable.g:9:6: ( ';' ) …
146 …condit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/SymbolTable.g:9:8: ';' // a…
179 …condit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/SymbolTable.g:10:7: ( '=' )…
[all …]
DSymbolTable__.gl1 lexer grammar SymbolTable;
16 // $ANTLR src "SymbolTable.g" 66
20 // $ANTLR src "SymbolTable.g" 69
24 // $ANTLR src "SymbolTable.g" 72
DSymbolTableParser.m4 …file : /Users/acondit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/SymbolTable.g
14 …condit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/SymbolTable.g 2012-02-16 17…
141 …e:@"/Users/acondit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/SymbolTable.g"];
182 …* /Users/acondit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/SymbolTable.g:25:…
194 …condit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/SymbolTable.g:27:5: ( globa…
195 …condit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/SymbolTable.g:27:9: globals…
217 …condit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/SymbolTable.g:27:18: method…
258 …* /Users/acondit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/SymbolTable.g:30:…
275 …condit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/SymbolTable.g:36:5: ( ( dec…
276 …condit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/SymbolTable.g:36:9: ( decl …
[all …]
/external/javassist/src/main/javassist/compiler/
DParser.java55 public ASTList parseMember(SymbolTable tbl) throws CompileError { in parseMember()
64 public ASTList parseMember1(SymbolTable tbl) throws CompileError { in parseMember1()
95 private FieldDecl parseField(SymbolTable tbl, ASTList mods, in parseField()
124 private MethodDecl parseMethod1(SymbolTable tbl, boolean isConstructor, in parseMethod1()
165 public MethodDecl parseMethod2(SymbolTable tbl, MethodDecl md) in parseMethod2()
204 private Declarator parseFormalType(SymbolTable tbl) throws CompileError { in parseFormalType()
223 private Declarator parseFormalParam(SymbolTable tbl) in parseFormalParam()
256 public Stmnt parseStatement(SymbolTable tbl) in parseStatement()
300 private Stmnt parseBlock(SymbolTable tbl) throws CompileError { in parseBlock()
305 SymbolTable tbl2 = new SymbolTable(tbl); in parseBlock()
[all …]
DSymbolTable.java23 public final class SymbolTable extends HashMap<String,Declarator> { class
26 private SymbolTable parent;
28 public SymbolTable() { this(null); } in SymbolTable() method in SymbolTable
30 public SymbolTable(SymbolTable p) { in SymbolTable() method in SymbolTable
35 public SymbolTable getParent() { return parent; } in getParent()
/external/skia/src/sksl/ir/
DSkSLSymbolTable.h29 class SymbolTable {
31 SymbolTable(ErrorReporter* errorReporter, bool builtin) in SymbolTable() function
35 SymbolTable(std::shared_ptr<SymbolTable> parent, bool builtin) in SymbolTable() function
45 static std::shared_ptr<SymbolTable> WrapIfBuiltin(std::shared_ptr<SymbolTable> symbolTable) { in WrapIfBuiltin()
52 return std::make_shared<SymbolTable>(std::move(symbolTable), /*builtin=*/false); in WrapIfBuiltin()
116 std::shared_ptr<SymbolTable> fParent;
136 const Symbol* lookup(SymbolTable* writableSymbolTable, const SymbolKey& key);
DSkSLSwitchStatement.h20 class SymbolTable; variable
30 StatementArray cases, std::shared_ptr<SymbolTable> symbols) in SwitchStatement()
46 std::shared_ptr<SymbolTable> symbolTable);
55 std::shared_ptr<SymbolTable> symbolTable);
64 std::shared_ptr<SymbolTable> symbolTable);
86 const std::shared_ptr<SymbolTable>& symbols() const { in symbols()
98 std::shared_ptr<SymbolTable> fSymbols;
DSkSLSymbolTable.cpp16 std::vector<const FunctionDeclaration*> SymbolTable::GetFunctions(const Symbol& s) { in GetFunctions()
27 const Symbol* SymbolTable::operator[](StringFragment name) { in operator []()
31 const Symbol* SymbolTable::lookup(SymbolTable* writableSymbolTable, const SymbolKey& key) { in lookup()
84 const String* SymbolTable::takeOwnershipOfString(String str) { in takeOwnershipOfString()
90 void SymbolTable::addAlias(StringFragment name, const Symbol* symbol) { in addAlias()
94 void SymbolTable::addWithoutOwnership(const Symbol* symbol) { in addWithoutOwnership()
124 const Type* SymbolTable::addArrayDimension(const Type* type, int arraySize) { in addArrayDimension()
DSkSLForStatement.h26 std::unique_ptr<Statement> statement, std::shared_ptr<SymbolTable> symbols) in ForStatement()
40 std::shared_ptr<SymbolTable> symbolTable);
46 std::shared_ptr<SymbolTable> symbolTable);
54 std::shared_ptr<SymbolTable> symbolTable);
88 const std::shared_ptr<SymbolTable>& symbols() const { in symbols()
97 std::shared_ptr<SymbolTable> fSymbolTable;
/external/skqp/src/sksl/ir/
DSkSLSymbolTable.cpp13 std::vector<const FunctionDeclaration*> SymbolTable::GetFunctions(const Symbol& s) { in GetFunctions()
24 const Symbol* SymbolTable::operator[](StringFragment name) { in operator []()
62 Symbol* SymbolTable::takeOwnership(Symbol* s) { in takeOwnership()
67 IRNode* SymbolTable::takeOwnership(IRNode* n) { in takeOwnership()
72 void SymbolTable::add(StringFragment name, std::unique_ptr<Symbol> symbol) { in add()
77 void SymbolTable::addWithoutOwnership(StringFragment name, const Symbol* symbol) { in addWithoutOwnership()
106 void SymbolTable::markAllFunctionsBuiltin() { in markAllFunctionsBuiltin()
123 std::unordered_map<StringFragment, const Symbol*>::iterator SymbolTable::begin() { in begin()
127 std::unordered_map<StringFragment, const Symbol*>::iterator SymbolTable::end() { in end()
DSkSLSymbolTable.h25 class SymbolTable {
27 SymbolTable(ErrorReporter* errorReporter) in SymbolTable() function
30 SymbolTable(std::shared_ptr<SymbolTable> parent, ErrorReporter* errorReporter) in SymbolTable() function
50 const std::shared_ptr<SymbolTable> fParent;
/external/llvm-project/lld/ELF/
DSymbolTable.cpp32 SymbolTable *elf::symtab;
34 void SymbolTable::wrap(Symbol *sym, Symbol *real, Symbol *wrap) { in wrap()
60 Symbol *SymbolTable::insert(StringRef name) { in insert()
98 Symbol *SymbolTable::addSymbol(const Symbol &newSym) { in addSymbol()
104 Symbol *SymbolTable::find(StringRef name) { in find()
134 StringMap<std::vector<Symbol *>> &SymbolTable::getDemangledSyms() { in getDemangledSyms()
144 std::vector<Symbol *> SymbolTable::findByVersion(SymbolVersion ver) { in findByVersion()
153 std::vector<Symbol *> SymbolTable::findAllByVersion(SymbolVersion ver) { in findAllByVersion()
171 void SymbolTable::handleDynamicList() { in handleDynamicList()
186 void SymbolTable::assignExactVersion(SymbolVersion ver, uint16_t versionId, in assignExactVersion()
[all …]
/external/llvm-project/lld/MachO/
DSymbolTable.cpp19 Symbol *SymbolTable::find(StringRef name) { in find()
26 std::pair<Symbol *, bool> SymbolTable::insert(StringRef name) { in insert()
39 Symbol *SymbolTable::addDefined(StringRef name, InputSection *isec, in addDefined()
65 Symbol *SymbolTable::addUndefined(StringRef name) { in addUndefined()
77 Symbol *SymbolTable::addCommon(StringRef name, InputFile *file, uint64_t size, in addCommon()
98 Symbol *SymbolTable::addDylib(StringRef name, DylibFile *file, bool isWeakDef, in addDylib()
116 Symbol *SymbolTable::addLazy(StringRef name, ArchiveFile *file, in addLazy()
129 Symbol *SymbolTable::addDSOHandle(const MachHeaderSection *header) { in addDSOHandle()
144 SymbolTable *macho::symtab;
/external/llvm-project/lld/lib/Core/
DSymbolTable.cpp30 bool SymbolTable::add(const UndefinedAtom &atom) { return addByName(atom); } in add()
32 bool SymbolTable::add(const SharedLibraryAtom &atom) { return addByName(atom); } in add()
34 bool SymbolTable::add(const AbsoluteAtom &atom) { return addByName(atom); } in add()
36 bool SymbolTable::add(const DefinedAtom &atom) { in add()
114 bool SymbolTable::addByName(const Atom &newAtom) { in addByName()
207 unsigned SymbolTable::AtomMappingInfo::getHashValue(const DefinedAtom *atom) { in getHashValue()
215 bool SymbolTable::AtomMappingInfo::isEqual(const DefinedAtom * const l, in isEqual()
238 bool SymbolTable::addByContent(const DefinedAtom &newAtom) { in addByContent()
250 const Atom *SymbolTable::findByName(StringRef sym) { in findByName()
257 const Atom *SymbolTable::replacement(const Atom *atom) { in replacement()
[all …]
/external/llvm-project/lld/wasm/
DSymbolTable.cpp27 SymbolTable *symtab;
29 void SymbolTable::addFile(InputFile *file) { in addFile()
67 void SymbolTable::addCombinedLTOObject() { in addCombinedLTOObject()
86 Symbol *SymbolTable::find(StringRef name) { in find()
93 void SymbolTable::replace(StringRef name, Symbol* sym) { in replace()
98 std::pair<Symbol *, bool> SymbolTable::insertName(StringRef name) { in insertName()
121 std::pair<Symbol *, bool> SymbolTable::insert(StringRef name, in insert()
199 DefinedFunction *SymbolTable::addSyntheticFunction(StringRef name, in addSyntheticFunction()
213 DefinedData *SymbolTable::addOptionalDataSymbol(StringRef name, in addOptionalDataSymbol()
227 DefinedData *SymbolTable::addSyntheticDataSymbol(StringRef name, in addSyntheticDataSymbol()
[all …]
/external/skia/src/sksl/
DSkSLInliner.h29 class SymbolTable; variable
46 std::shared_ptr<SymbolTable> symbols,
61 std::shared_ptr<SymbolTable> symbols, ProgramUsage* usage,
66 SymbolTable* symbolTableForExpression,
70 SymbolTable* symbolTableForStatement,
95 std::shared_ptr<SymbolTable>,
106 SymbolTable* symbolTable,
/external/llvm-project/lld/COFF/
DSymbolTable.cpp33 SymbolTable *symtab;
35 void SymbolTable::addFile(InputFile *file) { in addFile()
247 void SymbolTable::loadMinGWAutomaticImports() { in loadMinGWAutomaticImports()
272 Defined *SymbolTable::impSymbol(StringRef name) { in impSymbol()
278 bool SymbolTable::handleMinGWAutomaticImport(Symbol *sym, StringRef name) { in handleMinGWAutomaticImport()
388 void SymbolTable::reportUnresolvable() { in reportUnresolvable()
415 void SymbolTable::resolveRemainingUndefines() { in resolveRemainingUndefines()
478 std::pair<Symbol *, bool> SymbolTable::insert(StringRef name) { in insert()
491 std::pair<Symbol *, bool> SymbolTable::insert(StringRef name, InputFile *file) { in insert()
498 Symbol *SymbolTable::addUndefined(StringRef name, InputFile *f, in addUndefined()
[all …]
/external/llvm/include/llvm/ExecutionEngine/Orc/
DGlobalMappingLayer.h56 SymbolTable[Name] = Addr; in setGlobalMapping()
61 SymbolTable.erase(Name); in eraseGlobalMapping()
74 auto I = SymbolTable.find(Name); in findSymbol()
75 if (I != SymbolTable.end()) in findSymbol()
102 std::map<std::string, TargetAddress> SymbolTable; variable
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DGlobalMappingLayer.h59 SymbolTable[Name] = Addr; in setGlobalMapping()
64 SymbolTable.erase(Name); in eraseGlobalMapping()
77 auto I = SymbolTable.find(Name); in findSymbol()
78 if (I != SymbolTable.end()) in findSymbol()
105 std::map<std::string, JITTargetAddress> SymbolTable; variable
/external/llvm-project/mlir/lib/Transforms/
DSymbolDCE.cpp37 if (!symbolTableOp->hasTrait<OpTrait::SymbolTable>()) { in runOnOperation()
61 if (!nestedSymbolTable->hasTrait<OpTrait::SymbolTable>()) in runOnOperation()
106 if (op->hasTrait<OpTrait::SymbolTable>()) { in computeLiveness()
116 Optional<SymbolTable::UseRange> uses = SymbolTable::getSymbolUses(op); in computeLiveness()
124 for (const SymbolTable::SymbolUse &use : *uses) { in computeLiveness()
/external/llvm-project/llvm/lib/Object/
DCOFFImportFile.cpp255 coff_symbol16 SymbolTable[NumberOfSymbols] = { in createImportDescriptor() local
301 SymbolTable[0].Name.Offset.Offset = in createImportDescriptor()
303 SymbolTable[5].Name.Offset.Offset = in createImportDescriptor()
305 SymbolTable[6].Name.Offset.Offset = in createImportDescriptor()
308 append(Buffer, SymbolTable); in createImportDescriptor()
362 coff_symbol16 SymbolTable[NumberOfSymbols] = { in createNullImportDescriptor() local
370 SymbolTable[0].Name.Offset.Offset = sizeof(uint32_t); in createNullImportDescriptor()
371 append(Buffer, SymbolTable); in createNullImportDescriptor()
444 coff_symbol16 SymbolTable[NumberOfSymbols] = { in createNullThunk() local
452 SymbolTable[0].Name.Offset.Offset = sizeof(uint32_t); in createNullThunk()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DCOFFImportFile.cpp255 coff_symbol16 SymbolTable[NumberOfSymbols] = { in createImportDescriptor() local
301 SymbolTable[0].Name.Offset.Offset = in createImportDescriptor()
303 SymbolTable[5].Name.Offset.Offset = in createImportDescriptor()
305 SymbolTable[6].Name.Offset.Offset = in createImportDescriptor()
308 append(Buffer, SymbolTable); in createImportDescriptor()
362 coff_symbol16 SymbolTable[NumberOfSymbols] = { in createNullImportDescriptor() local
370 SymbolTable[0].Name.Offset.Offset = sizeof(uint32_t); in createNullImportDescriptor()
371 append(Buffer, SymbolTable); in createNullImportDescriptor()
444 coff_symbol16 SymbolTable[NumberOfSymbols] = { in createNullThunk() local
452 SymbolTable[0].Name.Offset.Offset = sizeof(uint32_t); in createNullThunk()
[all …]

12345678910>>...16