Home
last modified time | relevance | path

Searched refs:Locals (Results 1 – 25 of 45) sorted by relevance

12

/openbsd-src/gnu/llvm/clang/lib/AST/Interp/
H A DEvalEmitter.cpp69 unsigned Off = Locals.size(); in createLocal()
70 Locals.insert({Off, std::move(Memory)}); in createLocal()
211 auto It = Locals.find(I); in emitGetPtrLocal()
212 assert(It != Locals.end() && "Missing local variable"); in emitGetPtrLocal()
225 auto It = Locals.find(I); in emitGetLocal()
226 assert(It != Locals.end() && "Missing local variable"); in emitGetLocal()
239 auto It = Locals.find(I); in emitSetLocal()
240 assert(It != Locals.end() && "Missing local variable"); in emitSetLocal()
254 auto It = Locals.find(Local.Offset); in emitDestroy()
255 assert(It != Locals.end() && "Missing local variable"); in emitDestroy()
H A DInterpFrame.h137 return Locals.get() + Offset - sizeof(Block); in localBlock()
142 return reinterpret_cast<InlineDescriptor *>(Locals.get() + Offset); in localInlineDesc()
161 std::unique_ptr<char[]> Locals; variable
H A DByteCodeExprGen.cpp672 auto It = Locals.find(VD); in dereferenceVar()
673 if (It != Locals.end()) { in dereferenceVar()
782 assert(Locals.find(VD) == Locals.end()); in allocateLocalPrimitive()
792 Locals.insert({VD, Local}); in allocateLocalPrimitive()
804 assert(Locals.find(VD) == Locals.end()); in allocateLocal()
831 Locals.insert({Key, Local}); in allocateLocal()
1135 auto Local = Locals.find(VD); in visitDecl()
1136 assert(Local != Locals.end()); // Same here. in visitDecl()
1395 if (auto It = Locals.find(Decl); It != Locals.end()) { in VisitDeclRefExpr()
H A DEvalEmitter.h93 llvm::DenseMap<unsigned, std::unique_ptr<char[]>> Locals; variable
H A DInterpFrame.cpp35 Locals = std::make_unique<char[]>(FrameSize); in InterpFrame()
/openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/
H A DWebAssemblyMachineFunctionInfo.h36 std::vector<MVT> Locals; variable
91 void setNumLocals(size_t NumLocals) { Locals.resize(NumLocals, MVT::i32); } in setNumLocals()
92 void setLocal(size_t i, MVT VT) { Locals[i] = VT; } in setLocal()
93 void addLocal(MVT VT) { Locals.push_back(VT); } in addLocal()
94 const std::vector<MVT> &getLocals() const { return Locals; } in getLocals()
H A DWebAssemblyAsmPrinter.cpp591 SmallVector<wasm::ValType, 16> Locals; in emitFunctionBodyStart() local
592 valTypesFromMVTs(MFI->getLocals(), Locals); in emitFunctionBodyStart()
593 getTargetStreamer()->emitLocal(Locals); in emitFunctionBodyStart()
/openbsd-src/gnu/llvm/compiler-rt/lib/gwp_asan/platform_specific/
H A Dguarded_pool_allocator_tls.h49 alignas(8) static GWP_ASAN_TLS_INITIAL_EXEC ThreadLocalPackedVariables Locals; in getThreadLocals() local
50 return &Locals; in getThreadLocals()
/openbsd-src/gnu/llvm/llvm/lib/MC/
H A DMCAsmMacro.cpp41 if (!Locals.empty()) { in dump()
43 for (StringRef L : Locals) in dump()
/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/Symbolize/
H A DDIPrinter.h48 const std::vector<DILocal> &Locals) = 0;
95 const std::vector<DILocal> &Locals) override;
146 const std::vector<DILocal> &Locals) override;
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/Symbolize/
H A DDIPrinter.cpp217 const std::vector<DILocal> &Locals) { in print() argument
219 if (Locals.empty()) in print()
222 for (const DILocal &L : Locals) { in print()
347 const std::vector<DILocal> &Locals) { in print() argument
349 for (const DILocal &Local : Locals) { in print()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.h127 SmallVector<LocalVariable, 1> Locals; member
150 SmallVector<LocalVariable, 1> Locals; member
370 SmallVectorImpl<LocalVariable> &Locals,
383 ArrayRef<LocalVariable> Locals);
H A DCodeViewDebug.cpp1186 emitLocalVariableList(FI, FI.Locals); in emitDebugInfoForFunction()
2786 ArrayRef<LocalVariable> Locals) { in emitLocalVariableList() argument
2789 for (const LocalVariable &L : Locals) in emitLocalVariableList()
2799 for (const LocalVariable &L : Locals) { in emitLocalVariableList()
2924 emitLocalVariableList(FI, Block.Locals); in emitLexicalBlock()
2939 SmallVectorImpl<LocalVariable> &Locals, in collectLexicalBlockInfo() argument
2942 collectLexicalBlockInfo(*Scope, Blocks, Locals, Globals); in collectLexicalBlockInfo()
2959 SmallVectorImpl<LocalVariable> *Locals = in collectLexicalBlockInfo() local
2968 if (!Locals && !Globals) in collectLexicalBlockInfo()
2994 if (Locals) in collectLexicalBlockInfo()
[all …]
H A DDwarfFile.h80 SmallVector<DbgVariable *, 8> Locals; member
H A DDwarfFile.cpp117 ScopeVars.Locals.push_back(Var); in addScopeVariable()
H A DDwarfCompileUnit.cpp1061 auto Locals = sortLocalVars(Vars.Locals); in createAndAddScopeChildren() local
1062 for (DbgVariable *DV : Locals) in createAndAddScopeChildren()
1080 if (!Vars.Args.empty() || !Vars.Locals.empty()) in createAndAddScopeChildren()
/openbsd-src/gnu/llvm/llvm/include/llvm/MC/
H A DMCAsmMacro.h146 std::vector<std::string> Locals; member
154 : Name(N), Body(B), Parameters(std::move(P)), Locals(std::move(L)), in MCAsmMacro()
/openbsd-src/gnu/llvm/llvm/lib/ObjCopy/
H A DConfigManager.cpp26 Common.DiscardMode == DiscardType::Locals || !Common.SymbolsToAdd.empty()) in getCOFFConfig()
45 Common.DiscardMode == DiscardType::Locals || !Common.SymbolsToAdd.empty()) in getMachOConfig()
/openbsd-src/gnu/llvm/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmTypeCheck.cpp57 void WebAssemblyAsmTypeCheck::localDecl(const SmallVector<wasm::ValType, 4> &Locals) { in localDecl() argument
58 LocalTypes.insert(LocalTypes.end(), Locals.begin(), Locals.end()); in localDecl()
H A DWebAssemblyAsmTypeCheck.h55 void localDecl(const SmallVector<wasm::ValType, 4> &Locals);
H A DWebAssemblyAsmParser.cpp957 SmallVector<wasm::ValType, 4> Locals; in ParseDirective() local
958 if (parseRegTypeList(Locals)) in ParseDirective()
960 TC.localDecl(Locals); in ParseDirective()
961 TOut.emitLocal(Locals); in ParseDirective()
/openbsd-src/gnu/llvm/llvm/include/llvm/ObjCopy/
H A DCommonConfig.h89 Locals, // --discard-locals (-X) enumerator
/openbsd-src/gnu/llvm/llvm/tools/obj2yaml/
H A Dwasm2yaml.cpp354 for (auto &Local : Func.Locals) { in dump()
358 Function.Locals.push_back(LocalDecl); in dump()
/openbsd-src/gnu/llvm/llvm/include/llvm/BinaryFormat/
H A DWasm.h150 std::vector<WasmLocalDecl> Locals; member
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVScope.cpp577 bool Locals = options().getAttributeLocal(); in resolvePrinting() local
578 if ((Globals && Locals) || (!Globals && !Locals)) { in resolvePrinting()
583 (Locals && !(getHasLocals() || !getIsGlobalReference()))) in resolvePrinting()

12