Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/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;
/netbsd-src/external/apache2/llvm/dist/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.cpp477 SmallVector<wasm::ValType, 16> Locals; in emitFunctionBodyStart() local
478 valTypesFromMVTs(MFI->getLocals(), Locals); in emitFunctionBodyStart()
479 getTargetStreamer()->emitLocal(Locals); in emitFunctionBodyStart()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/
H A DMCAsmMacro.cpp41 if (!Locals.empty()) { in dump()
43 for (StringRef L : Locals) in dump()
/netbsd-src/external/apache2/llvm/dist/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;
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
H A DCodeViewDebug.h119 SmallVector<LocalVariable, 1> Locals; member
142 SmallVector<LocalVariable, 1> Locals; member
351 SmallVectorImpl<LocalVariable> &Locals,
364 ArrayRef<LocalVariable> Locals);
H A DCodeViewDebug.cpp1105 emitLocalVariableList(FI, FI.Locals); in emitDebugInfoForFunction()
2658 ArrayRef<LocalVariable> Locals) { in emitLocalVariableList() argument
2661 for (const LocalVariable &L : Locals) in emitLocalVariableList()
2671 for (const LocalVariable &L : Locals) in emitLocalVariableList()
2784 emitLocalVariableList(FI, Block.Locals); in emitLexicalBlock()
2799 SmallVectorImpl<LocalVariable> &Locals, in collectLexicalBlockInfo() argument
2802 collectLexicalBlockInfo(*Scope, Blocks, Locals, Globals); in collectLexicalBlockInfo()
2819 SmallVectorImpl<LocalVariable> *Locals = in collectLexicalBlockInfo() local
2828 if (!Locals && !Globals) in collectLexicalBlockInfo()
2854 if (Locals) in collectLexicalBlockInfo()
[all …]
H A DDwarfFile.h80 SmallVector<DbgVariable *, 8> Locals; member
H A DDwarfFile.cpp118 ScopeVars.Locals.push_back(Var); in addScopeVariable()
H A DDwarfCompileUnit.cpp1009 auto Locals = sortLocalVars(Vars.Locals); in createScopeChildrenDIE() local
1010 for (DbgVariable *DV : Locals) in createScopeChildrenDIE()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/
H A DCommonConfig.h87 Locals, // --discard-locals (-X) enumerator
H A DConfigManager.cpp602 Common.DiscardMode == DiscardType::Locals || !SymbolsToAdd.empty() || in getCOFFConfig()
623 Common.StripUnneeded || Common.DiscardMode == DiscardType::Locals || in getMachOConfig()
921 : DiscardType::Locals; in parseObjcopyOptions()
1304 : DiscardType::Locals; in parseStripOptions()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/obj2yaml/
H A Dwasm2yaml.cpp345 for (auto &Local : Func.Locals) { in dump()
349 Function.Locals.push_back(LocalDecl); in dump()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmParser.cpp922 SmallVector<wasm::ValType, 4> Locals; in ParseDirective() local
923 if (parseRegTypeList(Locals)) in ParseDirective()
925 TOut.emitLocal(Locals); in ParseDirective()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/BinaryFormat/
H A DWasm.h136 std::vector<WasmLocalDecl> Locals; member
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/MCParser/
H A DMasmParser.cpp551 const std::vector<std::string> &Locals, SMLoc L);
2733 const std::vector<std::string> &Locals, SMLoc L) { in expandMacro() argument
2740 for (StringRef Local : Locals) { in expandMacro()
3131 if (expandMacro(OS, Body, M->Parameters, A, M->Locals, getTok().getLoc())) in handleMacroEntry()
5562 std::vector<std::string> Locals; in parseDirectiveMacro() local
5571 Locals.push_back(ID.lower()); in parseDirectiveMacro()
5633 MCAsmMacro Macro(Name, Body, std::move(Parameters), std::move(Locals), in parseDirectiveMacro()
6589 if (expandMacro(OS, M.Body, M.Parameters, Arguments, M.Locals, EndLoc)) in expandStatement()
6657 if (expandMacro(OS, M->Body, None, None, M->Locals, getTok().getLoc())) in parseDirectiveRepeat()
6690 if (expandMacro(OS, M->Body, None, None, M->Locals, getTok().getLoc())) in parseDirectiveWhile()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/
H A DWasmEmitter.cpp524 encodeULEB128(Func.Locals.size(), StringStream); in writeSectionContent()
525 for (auto &LocalDecl : Func.Locals) { in writeSectionContent()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGObjCMac.cpp4369 SmallVector<llvm::Value*, 20> Locals; member in __anon0cc8f9a20811::FragileHazards
4396 if (Locals.empty()) return; in FragileHazards()
4412 for (unsigned I = 0, E = Locals.size(); I != E; ++I) { in FragileHazards()
4426 for (unsigned I = 0, E = Locals.size(); I != E; ++I) { in FragileHazards()
4437 if (Locals.empty()) return; in emitWriteHazard()
4439 CGF.EmitNounwindRuntimeCall(WriteHazard, Locals); in emitWriteHazard()
4443 assert(!Locals.empty()); in emitReadHazard()
4444 llvm::CallInst *call = Builder.CreateCall(ReadHazard, Locals); in emitReadHazard()
4452 if (Locals.empty()) return; in emitHazardsInNewBlocks()
4506 Locals.push_back(&*I); in collectLocals()
[all …]

12