Home
last modified time | relevance | path

Searched refs:Cfg (Results 1 – 25 of 71) sorted by relevance

123

/external/swiftshader/third_party/subzero/src/
DIceInstMIPS32.h64 void dump(const Cfg *, Ostream &Str) const override { in dump() argument
81 static OperandMIPS32FCC *create(Cfg *Func, OperandMIPS32FCC::FCC FCC) { in create()
87 void emit(const Cfg *Func) const override { in emit()
98 void dump(const Cfg *Func, Ostream &Str) const override { in dump()
129 static OperandMIPS32Mem *create(Cfg *Func, Type Ty, Variable *Base,
139 void emit(const Cfg *Func) const override;
152 void dump(const Cfg *Func, Ostream &Str) const override { in dump()
171 OperandMIPS32Mem(Cfg *Func, Type Ty, Variable *Base, Operand *ImmOffset,
295 void dump(const Cfg *Func) const override;
306 const Cfg *Func);
[all …]
DIceInstARM32.h67 void dump(const Cfg *, Ostream &Str) const override { in dump() argument
105 static OperandARM32Mem *create(Cfg *Func, Type Ty, Variable *Base,
113 static OperandARM32Mem *create(Cfg *Func, Type Ty, Variable *Base,
137 void emit(const Cfg *Func) const override;
139 void dump(const Cfg *Func, Ostream &Str) const override;
152 OperandARM32Mem(Cfg *Func, Type Ty, Variable *Base,
154 OperandARM32Mem(Cfg *Func, Type Ty, Variable *Base, Variable *Index,
174 static OperandARM32ShAmtImm *create(Cfg *Func, ConstantInteger32 *ShAmt) { in create()
183 void emit(const Cfg *Func) const override;
185 void dump(const Cfg *Func, Ostream &Str) const override;
[all …]
DIceInstMIPS32.cpp48 OperandMIPS32Mem::OperandMIPS32Mem(Cfg *Func, Type Ty, Variable *Base, in OperandMIPS32Mem()
157 template <> void InstMIPS32Lui::emit(const Cfg *Func) const { in emit()
176 InstMIPS32Br::InstMIPS32Br(Cfg *Func, const CfgNode *TargetTrue, in InstMIPS32Br()
182 InstMIPS32Br::InstMIPS32Br(Cfg *Func, const CfgNode *TargetTrue, in InstMIPS32Br()
190 InstMIPS32Br::InstMIPS32Br(Cfg *Func, const CfgNode *TargetTrue, in InstMIPS32Br()
253 InstMIPS32Label::InstMIPS32Label(Cfg *Func, TargetMIPS32 *Target) in InstMIPS32Label()
265 void InstMIPS32Label::dump(const Cfg *Func) const { in dump()
272 void InstMIPS32Label::emit(const Cfg *Func) const { in emit()
279 void InstMIPS32Label::emitIAS(const Cfg *Func) const { in emitIAS()
284 InstMIPS32Call::InstMIPS32Call(Cfg *Func, Variable *Dest, Operand *CallTarget) in InstMIPS32Call()
[all …]
DIceInst.h86 void renumber(Cfg *Func);
161 void livenessLightweight(Cfg *Func, LivenessBV &Live);
181 virtual void emit(const Cfg *) const { in emit() argument
184 virtual void emitIAS(const Cfg *Func) const { emit(Func); } in emitIAS()
185 virtual void dump(const Cfg *Func) const;
186 virtual void dumpExtras(const Cfg *Func) const;
187 void dumpDecorated(const Cfg *Func) const;
188 void emitSources(const Cfg *Func) const;
189 void dumpSources(const Cfg *Func) const;
190 void dumpDest(const Cfg *Func) const;
[all …]
DIceInstX86Base.h208 void dump(const Cfg *Func) const override;
211 void emitTwoAddress(const Cfg *Func, const char *Opcode,
214 static TargetLowering *getTarget(const Cfg *Func) { in getTarget()
219 InstX86Base(Cfg *Func, InstKindX86 Kind, SizeT Maxsrcs, Variable *Dest) in InstX86Base()
262 static InstX86FakeRMW *create(Cfg *Func, Operand *Data, Operand *Addr,
276 void dump(const Cfg *Func) const override;
283 InstX86FakeRMW(Cfg *Func, Operand *Data, Operand *Addr,
293 static InstX86GetIP *create(Cfg *Func, Variable *Dest) { in create()
296 void emit(const Cfg *Func) const override;
297 void emitIAS(const Cfg *Func) const override;
[all …]
DIceInstARM32.cpp120 void InstARM32::startNextInst(const Cfg *Func) const { in startNextInst()
125 void InstARM32::emitUsingTextFixup(const Cfg *Func) const { in emitUsingTextFixup()
160 void InstARM32::emitIAS(const Cfg *Func) const { emitUsingTextFixup(Func); } in emitIAS()
163 const InstARM32Pred *Instr, const Cfg *Func, in emitUnaryopGPR()
178 const InstARM32Pred *Instr, const Cfg *Func) { in emitUnaryopFP()
201 const Cfg *Func) { in emitTwoAddr()
215 const InstARM32Pred *Instr, const Cfg *Func, in emitThreeAddr()
231 const InstARM32 *Instr, const Cfg *Func, in emitThreeAddrFP()
246 const InstARM32 *Instr, const Cfg *Func) { in emitFourAddrFP()
262 const Cfg *Func) { in emitFourAddr()
[all …]
DIceInst.cpp79 Inst::Inst(Cfg *Func, InstKind Kind, SizeT MaxSrcs, Variable *Dest) in Inst()
127 void Inst::renumber(Cfg *Func) { in renumber()
199 void Inst::livenessLightweight(Cfg *Func, LivenessBV &Live) { in livenessLightweight()
273 InstAlloca::InstAlloca(Cfg *Func, Variable *Dest, Operand *ByteCount, in InstAlloca()
281 InstArithmetic::InstArithmetic(Cfg *Func, OpKind Op, Variable *Dest, in InstArithmetic()
304 InstAssign::InstAssign(Cfg *Func, Variable *Dest, Operand *Source) in InstAssign()
314 InstBr::InstBr(Cfg *Func, Operand *Source, CfgNode *TargetTrue_, in InstBr()
331 InstBr::InstBr(Cfg *Func, CfgNode *Target) in InstBr()
357 InstCast::InstCast(Cfg *Func, OpKind CastKind, Variable *Dest, Operand *Source) in InstCast()
362 InstExtractElement::InstExtractElement(Cfg *Func, Variable *Dest, in InstExtractElement()
[all …]
DIceInstX86BaseImpl.h50 InstImpl<TraitsType>::InstX86FakeRMW::InstX86FakeRMW(Cfg *Func, Operand *Data, in InstX86FakeRMW()
61 InstImpl<TraitsType>::InstX86GetIP::InstX86GetIP(Cfg *Func, Variable *Dest) in InstX86GetIP()
65 InstImpl<TraitsType>::InstX86Mul::InstX86Mul(Cfg *Func, Variable *Dest, in InstX86Mul()
74 InstImpl<TraitsType>::InstX86Shld::InstX86Shld(Cfg *Func, Variable *Dest, in InstX86Shld()
84 InstImpl<TraitsType>::InstX86Shrd::InstX86Shrd(Cfg *Func, Variable *Dest, in InstX86Shrd()
94 InstImpl<TraitsType>::InstX86Label::InstX86Label(Cfg *Func, in InstX86Label()
108 InstImpl<TraitsType>::InstX86Br::InstX86Br(Cfg *Func, const CfgNode *TargetTrue, in InstX86Br()
170 InstImpl<TraitsType>::InstX86Jmp::InstX86Jmp(Cfg *Func, Operand *Target) in InstX86Jmp()
176 InstImpl<TraitsType>::InstX86Call::InstX86Call(Cfg *Func, Variable *Dest, in InstX86Call()
184 InstImpl<TraitsType>::InstX86Movmsk::InstX86Movmsk(Cfg *Func, Variable *Dest, in InstX86Movmsk()
[all …]
DIceCfg.h29 class Cfg {
30 Cfg() = delete;
31 Cfg(const Cfg &) = delete;
32 Cfg &operator=(const Cfg &) = delete;
37 ~Cfg();
39 static std::unique_ptr<Cfg> create(GlobalContext *Ctx, in create()
41 return std::unique_ptr<Cfg>(new Cfg(Ctx, SequenceNumber)); in create()
280 Cfg(GlobalContext *Ctx, uint32_t SequenceNumber);
352 template <> Variable *Cfg::makeVariable<Variable>(Type Ty);
355 using OwnerType = Cfg;
[all …]
DIceCfg.cpp37 Cfg::Cfg(GlobalContext *Ctx, uint32_t SequenceNumber) in Cfg() function in Ice::Cfg
58 Cfg::~Cfg() { in ~Cfg()
71 ArenaAllocator *Cfg::createAllocator() { in createAllocator()
83 std::string Cfg::getFunctionNameAndSize() const { in getFunctionNameAndSize()
101 void Cfg::setError(const std::string &Message) { in setError()
106 CfgNode *Cfg::makeNode() { in makeNode()
113 void Cfg::swapNodes(NodeList &NewNodes) { in swapNodes()
120 template <> Variable *Cfg::makeVariable<Variable>(Type Ty) { in makeVariable()
134 void Cfg::addArg(Variable *Arg) { in addArg()
139 void Cfg::addImplicitArg(Variable *Arg) { in addImplicitArg()
[all …]
DIceCfgNode.h31 static CfgNode *create(Cfg *Func, SizeT Number) { in create()
35 Cfg *getCfg() const { return Func; } in getCfg()
113 void emit(Cfg *Func) const;
114 void emitIAS(Cfg *Func) const;
115 void dump(Cfg *Func) const;
131 CfgNode(Cfg *Func, SizeT Number) in CfgNode()
135 Cfg *const Func;
DIceTranslator.h31 class Cfg; variable
52 void translateFcn(std::unique_ptr<Cfg> Func);
83 CfgOptWorkItem(std::unique_ptr<Cfg> Func) : Func(std::move(Func)) {} in CfgOptWorkItem()
84 std::unique_ptr<Cfg> getParsedCfg() override { return std::move(Func); } in getParsedCfg()
88 std::unique_ptr<Ice::Cfg> Func;
DIceOperand.h79 virtual void emit(const Cfg *Func) const = 0;
86 virtual void dump(const Cfg *Func, Ostream &Str) const = 0;
87 void dump(const Cfg *Func) const { in dump()
139 void emit(const Cfg *Func) const override { emit(Func->getTarget()); } in emit()
207 void dump(const Cfg *, Ostream &Str) const override { in dump() argument
280 inline void ConstantInteger32::dump(const Cfg *, Ostream &Str) const { in dump() argument
306 inline void ConstantInteger64::dump(const Cfg *, Ostream &Str) const { in dump() argument
417 void dump(const Cfg *Func, Ostream &Str) const override;
453 void dump(const Cfg *, Ostream &Str) const override { in dump() argument
700 static Variable *create(Cfg *Func, Type Ty, SizeT Index) { in create()
[all …]
DIceInstrumentation.h48 void instrumentFunc(Cfg *Func);
56 virtual bool isInstrumentable(Cfg *) { return true; } in isInstrumentable() argument
80 virtual void instrumentStart(Cfg *) {} in instrumentStart() argument
81 virtual void instrumentLocalVars(Cfg *) {} in instrumentLocalVars() argument
82 virtual void finishFunc(Cfg *) {} in finishFunc() argument
DIceInstX8632.cpp72 void TargetX8632Traits::X86Operand::dump(const Cfg *, Ostream &Str) const { in dump() argument
78 Cfg *Func, Type Ty, Variable *Base, Constant *Offset, Variable *Index, in X86OperandMem()
131 void TargetX8632Traits::X86OperandMem::emit(const Cfg *Func) const { in emit()
188 void TargetX8632Traits::X86OperandMem::dump(const Cfg *Func, in dump()
310 TargetX8632Traits::VariableSplit::toAsmAddress(const Cfg *Func) const { in toAsmAddress()
318 void TargetX8632Traits::VariableSplit::emit(const Cfg *Func) const { in emit()
332 void TargetX8632Traits::VariableSplit::dump(const Cfg *Func, in dump()
DIceInstX8664.cpp61 void TargetX8664Traits::X86Operand::dump(const Cfg *, Ostream &Str) const { in dump() argument
66 TargetX8664Traits::X86OperandMem::X86OperandMem(Cfg *Func, Type Ty, in X86OperandMem()
105 void TargetX8664Traits::X86OperandMem::emit(const Cfg *Func) const { in emit()
188 void TargetX8664Traits::X86OperandMem::dump(const Cfg *Func, in dump()
317 TargetX8664Traits::VariableSplit::toAsmAddress(const Cfg *Func) const { in toAsmAddress()
325 void TargetX8664Traits::VariableSplit::emit(const Cfg *Func) const { in emit()
339 void TargetX8664Traits::VariableSplit::dump(const Cfg *Func, in dump()
DIceLiveness.h70 Cfg *getFunc() const { return Func; } in getFunc()
110 static std::unique_ptr<Liveness> create(Cfg *Func, LivenessMode Mode) { in create()
123 Liveness(Cfg *Func, LivenessMode Mode) in Liveness()
138 Cfg *Func;
DIceASanInstrumentation.h49 bool isInstrumentable(Cfg *Func) override;
57 void instrumentStart(Cfg *Func) override;
58 void finishFunc(Cfg *Func) override;
DIceRegAlloc.h34 explicit LinearScan(Cfg *Func);
43 void dump(Cfg *Func) const;
115 Cfg *const Func;
DIceThreading.h183 EmitterWorkItem(uint32_t Seq, std::unique_ptr<Cfg> F);
189 std::unique_ptr<Cfg> getCfg();
196 std::unique_ptr<Cfg> RawFunc;
DIceLoopAnalyzer.cpp24 explicit LoopAnalyzer(Cfg *Func);
103 Cfg *const Func;
144 LoopAnalyzer::LoopAnalyzer(Cfg *Fn) : Func(Fn) { in LoopAnalyzer()
257 CfgVector<Loop> ComputeLoopInfo(Cfg *Func) { in ComputeLoopInfo()
DIceTargetLoweringX8632Traits.h575 Cfg *Func, llvm::SmallVectorImpl<RegNumT> &Permutation,
817 void dump(const Cfg *, Ostream &Str) const override;
840 static X86OperandMem *create(Cfg *Func, Type Ty, Variable *Base,
848 static X86OperandMem *create(Cfg *Func, Type Ty, Variable *Base,
865 void emit(const Cfg *Func) const override;
867 void dump(const Cfg *Func, Ostream &Str) const override;
878 X86OperandMem(Cfg *Func, Type Ty, Variable *Base, Constant *Offset,
908 static VariableSplit *create(Cfg *Func, Variable *Var, Portion Part) {
914 Address toAsmAddress(const Cfg *Func) const;
915 void emit(const Cfg *Func) const override;
[all …]
DIceTargetLoweringX8664Traits.h619 Cfg *Func, llvm::SmallVectorImpl<RegNumT> &Permutation,
899 void dump(const Cfg *, Ostream &Str) const override;
917 create(Cfg *Func, Type Ty, Variable *Base, Constant *Offset,
926 static X86OperandMem *create(Cfg *Func, Type Ty, Variable *Base,
943 void emit(const Cfg *Func) const override;
945 void dump(const Cfg *Func, Ostream &Str) const override;
956 X86OperandMem(Cfg *Func, Type Ty, Variable *Base, Constant *Offset,
984 static VariableSplit *create(Cfg *Func, Variable *Var, Portion Part) {
990 Address toAsmAddress(const Cfg *Func) const;
991 void emit(const Cfg *Func) const override;
[all …]
/external/swiftshader/third_party/subzero/docs/
DALLOCATION.rst12 The result is a queue of Cfg pointers. The parser thread incrementally adds a
13 Cfg pointer to the queue after the Cfg is created, and then moves on to parse
16 Multiple translation worker threads draw from the queue of Cfg pointers as they
26 translation thread (including Cfg nodes, instructions, and most kinds of
63 Several object types are scoped within the lifetime of the Cfg. These include
65 When the Cfg is destroyed, these scoped objects are destroyed as well. To keep
66 this cheap, the Cfg includes a slab allocator from which these objects are
70 providing the container with an allocator that uses the Cfg-local slab
73 straightforward since on any of the threads, only one Cfg is active at a time,
74 and a given Cfg is only active in one thread at a time (either the parser
[all …]
/external/llvm/include/llvm/
DPassSupport.h70 #define INITIALIZE_PASS_WITH_OPTIONS(PassName, Arg, Name, Cfg, Analysis) \ argument
71 INITIALIZE_PASS_BEGIN(PassName, Arg, Name, Cfg, Analysis) \
73 INITIALIZE_PASS_END(PassName, Arg, Name, Cfg, Analysis)
75 #define INITIALIZE_PASS_WITH_OPTIONS_BEGIN(PassName, Arg, Name, Cfg, Analysis) \ argument
76 INITIALIZE_PASS_BEGIN(PassName, Arg, Name, Cfg, Analysis) \

123