Home
last modified time | relevance | path

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

12

/freebsd/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.cpp635 SmallVector<wasm::ValType, 16> Locals; in emitFunctionBodyStart() local
636 valTypesFromMVTs(MFI->getLocals(), Locals); in emitFunctionBodyStart()
637 getTargetStreamer()->emitLocal(Locals); in emitFunctionBodyStart()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DEvalEmitter.h104 llvm::DenseMap<unsigned, std::unique_ptr<char[]>> Locals; variable
107 auto It = Locals.find(Index); in getLocal()
108 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.cpp28 for (auto &[K, V] : Locals) { in ~EvalEmitter()
102 unsigned Off = Locals.size(); in createLocal()
103 Locals.insert({Off, std::move(Memory)}); in createLocal()
H A DInterpFrame.cpp37 Locals = std::make_unique<char[]>(FrameSize); in InterpFrame()
/freebsd/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/contrib/llvm-project/llvm/lib/MC/
H A DMCAsmMacro.cpp41 if (!Locals.empty()) { in dump()
43 for (StringRef L : Locals) in dump()
/freebsd/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/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()
358 for (const DILocal &Local : Locals) { in print()
348 print(const Request & Request,const std::vector<DILocal> & Locals) print() argument
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCAsmMacro.h146 std::vector<std::string> Locals; member
155 : Name(N), Body(B), Parameters(std::move(P)), Locals(std::move(L)), in MCAsmMacro()
/freebsd/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()
2819 ArrayRef<LocalVariable> Locals) { in emitLocalVariableList()
2822 for (const LocalVariable &L : Locals) in emitLocalVariableList()
2832 for (const LocalVariable &L : Locals) { in emitLocalVariable()
2957 emitLocalVariableList(FI, Block.Locals); in collectLexicalBlockInfo()
2972 SmallVectorImpl<LocalVariable> &Locals, in collectLexicalBlockInfo()
2975 collectLexicalBlockInfo(*Scope, Blocks, Locals, Globals); in collectLexicalBlockInfo()
2992 SmallVectorImpl<LocalVariable> *Locals = in collectLexicalBlockInfo()
3001 if (!Locals && !Globals) in collectLexicalBlockInfo()
3027 if (Locals) in collectLexicalBlockInfo()
2801 emitLocalVariableList(const FunctionInfo & FI,ArrayRef<LocalVariable> Locals) emitLocalVariableList() argument
2954 collectLexicalBlockInfo(SmallVectorImpl<LexicalScope * > & Scopes,SmallVectorImpl<LexicalBlock * > & Blocks,SmallVectorImpl<LocalVariable> & Locals,SmallVectorImpl<CVGlobalVariable> & Globals) collectLexicalBlockInfo() argument
2974 SmallVectorImpl<LocalVariable> *Locals = collectLexicalBlockInfo() local
[all...]
H A DDwarfFile.h81 SmallVector<DbgVariable *, 8> Locals; member
H A DDwarfFile.cpp113 ScopeVars.Locals.push_back(Var); in addScopeVariable()
H A DDwarfCompileUnit.cpp1129 auto Locals = sortLocalVars(Vars.Locals); in createAndAddScopeChildren() local
1130 for (DbgVariable *DV : Locals) in createAndAddScopeChildren()
1150 if (!Vars.Args.empty() || !Vars.Locals.empty()) in createAndAddScopeChildren()
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/
H A DConfigManager.cpp27 Common.DiscardMode == DiscardType::Locals || in getCOFFConfig()
49 Common.DiscardMode == DiscardType::Locals || in getMachOConfig()
/freebsd/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.cpp954 SmallVector<wasm::ValType, 4> Locals; in parseDirective() local
955 if (parseRegTypeList(Locals)) in parseDirective()
957 TC.localDecl(Locals); in parseDirective()
958 TOut.emitLocal(Locals); in parseDirective()
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjCopy/
H A DCommonConfig.h83 Locals, // --discard-locals (-X) enumerator
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVScope.cpp560 bool Locals = options().getAttributeLocal(); in resolvePrinting()
561 if ((Globals && Locals) || (!Globals && !Locals)) { in resolvePrinting()
566 (Locals && !(getHasLocals() || !getIsGlobalReference()))) in resolvePrinting()
568 bool Locals = options().getAttributeLocal(); resolvePrinting() local
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DWasm.h386 std::vector<WasmLocalDecl> Locals; member
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjCMac.cpp4297 SmallVector<llvm::Value*, 20> Locals; member in __anonb5e682970811::FragileHazards
4324 if (Locals.empty()) return; in FragileHazards()
4340 for (unsigned I = 0, E = Locals.size(); I != E; ++I) { in FragileHazards()
4354 for (unsigned I = 0, E = Locals.size(); I != E; ++I) { in FragileHazards()
4365 if (Locals.empty()) return; in emitWriteHazard()
4367 llvm::CallInst *Call = CGF.EmitNounwindRuntimeCall(WriteHazard, Locals); in emitWriteHazard()
4368 for (auto Pair : llvm::enumerate(Locals)) in emitWriteHazard()
4375 assert(!Locals.empty()); in emitReadHazard()
4376 llvm::CallInst *call = Builder.CreateCall(ReadHazard, Locals); in emitReadHazard()
4379 for (auto Pair : llvm::enumerate(Locals)) in emitReadHazard()
[all …]
/freebsd/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