Home
last modified time | relevance | path

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

12

/freebsd-13.1/contrib/llvm-project/clang/lib/AST/Interp/
H A DEvalEmitter.cpp58 unsigned Off = Locals.size(); in createLocal()
59 Locals.insert({Off, std::move(Memory)}); in createLocal()
200 auto It = Locals.find(I); in emitGetPtrLocal()
201 assert(It != Locals.end() && "Missing local variable"); in emitGetPtrLocal()
213 auto It = Locals.find(I); in emitGetLocal()
214 assert(It != Locals.end() && "Missing local variable"); in emitGetLocal()
227 auto It = Locals.find(I); in emitSetLocal()
228 assert(It != Locals.end() && "Missing local variable"); in emitSetLocal()
239 auto It = Locals.find(Local.Offset); in emitDestroy()
240 assert(It != Locals.end() && "Missing local variable"); in emitDestroy()
H A DInterpFrame.h121 return *reinterpret_cast<T *>(Locals.get() + Offset); in localRef()
126 return Locals.get() + Offset - sizeof(Block); in localBlock()
143 std::unique_ptr<char[]> Locals; variable
H A DByteCodeExprGen.cpp328 auto It = Locals.find(VD); in dereferenceVar()
329 if (It != Locals.end()) { in dereferenceVar()
430 Locals.insert({VD, Local}); in allocateLocalPrimitive()
458 Locals.insert({Key, Local}); in allocateLocal()
H A DInterpFrame.cpp27 Locals = std::make_unique<char[]>(FrameSize); in InterpFrame()
158 reinterpret_cast<Block *>(Locals.get() + Offset - sizeof(Block))); in getLocalPointer()
H A DEvalEmitter.h94 llvm::DenseMap<unsigned, std::unique_ptr<char[]>> Locals; variable
H A DByteCodeExprGen.h219 llvm::DenseMap<const ValueDecl *, Scope::Local> Locals;
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyMachineFunctionInfo.h38 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.cpp561 SmallVector<wasm::ValType, 16> Locals; in emitFunctionBodyStart() local
562 valTypesFromMVTs(MFI->getLocals(), Locals); in emitFunctionBodyStart()
563 getTargetStreamer()->emitLocal(Locals); in emitFunctionBodyStart()
/freebsd-13.1/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-13.1/contrib/llvm-project/llvm/lib/MC/
H A DMCAsmMacro.cpp41 if (!Locals.empty()) { in dump()
43 for (StringRef L : Locals) in dump()
/freebsd-13.1/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;
147 const std::vector<DILocal> &Locals) override;
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DDIPrinter.cpp215 const std::vector<DILocal> &Locals) { in print() argument
217 if (Locals.empty()) in print()
220 for (const DILocal &L : Locals) { in print()
345 const std::vector<DILocal> &Locals) { in print() argument
347 for (const DILocal &Local : Locals) { in print()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.h119 SmallVector<LocalVariable, 1> Locals; member
142 SmallVector<LocalVariable, 1> Locals; member
353 SmallVectorImpl<LocalVariable> &Locals,
366 ArrayRef<LocalVariable> Locals);
H A DCodeViewDebug.cpp1105 emitLocalVariableList(FI, FI.Locals); in emitDebugInfoForFunction()
2662 for (const LocalVariable &L : Locals) in emitLocalVariableList()
2672 for (const LocalVariable &L : Locals) in emitLocalVariableList()
2785 emitLocalVariableList(FI, Block.Locals); in emitLexicalBlock()
2820 SmallVectorImpl<LocalVariable> *Locals = in collectLexicalBlockInfo() local
2829 if (!Locals && !Globals) in collectLexicalBlockInfo()
2855 if (Locals) in collectLexicalBlockInfo()
2856 ParentLocals.append(Locals->begin(), Locals->end()); in collectLexicalBlockInfo()
2883 if (Locals) in collectLexicalBlockInfo()
2884 Block.Locals = std::move(*Locals); in collectLexicalBlockInfo()
[all …]
H A DDwarfFile.h80 SmallVector<DbgVariable *, 8> Locals; member
H A DDwarfFile.cpp118 ScopeVars.Locals.push_back(Var); in addScopeVariable()
/freebsd-13.1/contrib/llvm-project/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.h58 void localDecl(const SmallVector<wasm::ValType, 4> &Locals);
H A DWebAssemblyAsmParser.cpp953 SmallVector<wasm::ValType, 4> Locals; in ParseDirective() local
954 if (parseRegTypeList(Locals)) in ParseDirective()
956 TC.localDecl(Locals); in ParseDirective()
957 TOut.emitLocal(Locals); in ParseDirective()
/freebsd-13.1/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-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/
H A DCommonConfig.h88 Locals, // --discard-locals (-X) enumerator
H A DConfigManager.cpp581 Common.DiscardMode == DiscardType::Locals || in getCOFFConfig()
602 Common.StripUnneeded || Common.DiscardMode == DiscardType::Locals || in getMachOConfig()
914 : DiscardType::Locals; in parseObjcopyOptions()
1302 : DiscardType::Locals; in parseStripOptions()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DWasm.h136 std::vector<WasmLocalDecl> Locals; member
/freebsd-13.1/contrib/llvm-project/lld/ELF/
H A DConfig.h49 enum class DiscardPolicy { Default, All, Locals, None }; enumerator
/freebsd-13.1/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DWasmEmitter.cpp524 encodeULEB128(Func.Locals.size(), StringStream); in writeSectionContent()
525 for (auto &LocalDecl : Func.Locals) { in writeSectionContent()

12