Lines Matching defs:parent
195 Block(Id id, Function& parent);
202 Function& getParent() const { return parent; }
287 // To enforce keeping parent and ownership in sync:
293 Function& parent;
326 Function(Id id, Id resultType, Id functionType, Id firstParam, LinkageType linkage, const std::string& name, Module& parent);
348 Module& getParent() const { return parent; }
413 Module& parent;
482 __inline Function::Function(Id id, Id resultType, Id functionType, Id firstParamId, LinkageType linkage, const std::string& name, Module& parent)
483 : parent(parent), lineInstruction(nullptr),
491 parent.mapInstruction(&functionInstruction);
492 parent.addFunction(this);
495 Instruction* typeInst = parent.getInstruction(functionType);
499 parent.mapInstruction(param);
513 parent.mapInstruction(raw_instruction);
516 __inline Block::Block(Id id, Function& parent) : parent(parent), unreachable(false)
520 parent.getParent().mapInstruction(instructions.back().get());
529 parent.getParent().mapInstruction(raw_instruction);