Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyMachineFunctionInfo.h37 std::vector<MVT> Locals; variable
92 void setNumLocals(size_t NumLocals) { Locals.resize(NumLocals, MVT::i32); } in setNumLocals()
93 void setLocal(size_t i, MVT VT) { Locals[i] = VT; } in setLocal()
94 void addLocal(MVT VT) { Locals.push_back(VT); } in addLocal()
95 const std::vector<MVT> &getLocals() const { return Locals; } in getLocals()
H A DWebAssemblyAsmPrinter.cpp636 SmallVector<wasm::ValType, 16> Locals; in emitFunctionBodyStart() local
637 valTypesFromMVTs(MFI->getLocals(), Locals); in emitFunctionBodyStart()
638 getTargetStreamer()->emitLocal(Locals); in emitFunctionBodyStart()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DEvalEmitter.h91 llvm::DenseMap<unsigned, std::unique_ptr<char[]>> Locals; variable
94 auto It = Locals.find(Index); in getLocal()
95 assert(It != Locals.end() && "Missing local variable"); in getLocal()
H A DInterpFrame.h139 return reinterpret_cast<Block *>(Locals.get() + Offset - sizeof(Block)); in localBlock()
144 return reinterpret_cast<InlineDescriptor *>(Locals.get() + Offset); in localInlineDesc()
165 std::unique_ptr<char[]> Locals; variable
H A DEvalEmitter.cpp29 for (auto &[K, V] : Locals) { in ~EvalEmitter()
77 unsigned Off = Locals.size(); in createLocal()
78 Locals.insert({Off, std::move(Memory)}); in createLocal()
H A DByteCodeExprGen.cpp2116 auto It = Locals.find(VD); in dereferenceVar()
2117 if (It != Locals.end()) { in dereferenceVar()
2244 assert(!Locals.contains(VD)); in allocateLocalPrimitive()
2254 Locals.insert({VD, Local}); in allocateLocalPrimitive()
2266 assert(!Locals.contains(VD)); in allocateLocal()
2293 Locals.insert({Key, Local}); in allocateLocal()
2378 auto Local = Locals.find(VD); in visitDecl()
2379 assert(Local != Locals.end()); // Same here. in visitDecl()
2858 if (auto It = Locals.find(D); It != Locals.end()) { in VisitDeclRefExpr()
H A DInterpFrame.cpp36 Locals = std::make_unique<char[]>(FrameSize); in InterpFrame()
/freebsd-14.2/contrib/llvm-project/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()
50 return &Locals; in getThreadLocals()
/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/
H A DMCAsmMacro.cpp41 if (!Locals.empty()) { in dump()
43 for (StringRef L : Locals) in dump()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/Symbolize/
H A DDIPrinter.h49 const std::vector<DILocal> &Locals) = 0;
96 const std::vector<DILocal> &Locals) override;
148 const std::vector<DILocal> &Locals) override;
/freebsd-14.2/contrib/llvm-project/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()
356 const std::vector<DILocal> &Locals) { in print() argument
358 for (const DILocal &Local : Locals) { in print()
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.h130 SmallVector<LocalVariable, 1> Locals; member
165 SmallVector<LocalVariable, 1> Locals; member
391 SmallVectorImpl<LocalVariable> &Locals,
404 ArrayRef<LocalVariable> Locals);
H A DCodeViewDebug.cpp1200 emitLocalVariableList(FI, FI.Locals); in emitDebugInfoForFunction()
2822 for (const LocalVariable &L : Locals) in emitLocalVariableList()
2832 for (const LocalVariable &L : Locals) { in emitLocalVariableList()
2957 emitLocalVariableList(FI, Block.Locals); in emitLexicalBlock()
2992 SmallVectorImpl<LocalVariable> *Locals = in collectLexicalBlockInfo() local
3001 if (!Locals && !Globals) in collectLexicalBlockInfo()
3027 if (Locals) in collectLexicalBlockInfo()
3028 ParentLocals.append(Locals->begin(), Locals->end()); in collectLexicalBlockInfo()
3055 if (Locals) in collectLexicalBlockInfo()
3056 Block.Locals = std::move(*Locals); in collectLexicalBlockInfo()
[all …]
H A DDwarfFile.cpp113 ScopeVars.Locals.push_back(Var); in addScopeVariable()
H A DDwarfFile.h81 SmallVector<DbgVariable *, 8> Locals; member
H A DDwarfCompileUnit.cpp1114 auto Locals = sortLocalVars(Vars.Locals); in createAndAddScopeChildren() local
1115 for (DbgVariable *DV : Locals) in createAndAddScopeChildren()
1135 if (!Vars.Args.empty() || !Vars.Locals.empty()) in createAndAddScopeChildren()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ObjCopy/
H A DConfigManager.cpp26 Common.DiscardMode == DiscardType::Locals || in getCOFFConfig()
46 Common.DiscardMode == DiscardType::Locals || in getMachOConfig()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmTypeCheck.cpp57 const SmallVectorImpl<wasm::ValType> &Locals) { in localDecl() argument
58 LocalTypes.insert(LocalTypes.end(), Locals.begin(), Locals.end()); in localDecl()
H A DWebAssemblyAsmTypeCheck.h58 void localDecl(const SmallVectorImpl<wasm::ValType> &Locals);
H A DWebAssemblyAsmParser.cpp967 SmallVector<wasm::ValType, 4> Locals; in parseDirective() local
968 if (parseRegTypeList(Locals)) in parseDirective()
970 TC.localDecl(Locals); in parseDirective()
971 TOut.emitLocal(Locals); in parseDirective()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ObjCopy/
H A DCommonConfig.h90 Locals, // --discard-locals (-X) enumerator
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DWasm.h345 std::vector<WasmLocalDecl> Locals; member
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVScope.cpp560 bool Locals = options().getAttributeLocal(); in resolvePrinting() local
561 if ((Globals && Locals) || (!Globals && !Locals)) { in resolvePrinting()
566 (Locals && !(getHasLocals() || !getIsGlobalReference()))) in resolvePrinting()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DWasmEmitter.cpp531 encodeULEB128(Func.Locals.size(), StringStream); in writeSectionContent()
532 for (auto &LocalDecl : Func.Locals) { in writeSectionContent()

12