Home
last modified time | relevance | path

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

1234

/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.cpp46 OperandMIPS32Mem::OperandMIPS32Mem(Cfg *Func, Type Ty, Variable *Base, in OperandMIPS32Mem()
155 template <> void InstMIPS32Lui::emit(const Cfg *Func) const { in emit()
174 InstMIPS32Br::InstMIPS32Br(Cfg *Func, const CfgNode *TargetTrue, in InstMIPS32Br()
180 InstMIPS32Br::InstMIPS32Br(Cfg *Func, const CfgNode *TargetTrue, in InstMIPS32Br()
188 InstMIPS32Br::InstMIPS32Br(Cfg *Func, const CfgNode *TargetTrue, in InstMIPS32Br()
251 InstMIPS32Label::InstMIPS32Label(Cfg *Func, TargetMIPS32 *Target) in InstMIPS32Label()
263 void InstMIPS32Label::dump(const Cfg *Func) const { in dump()
270 void InstMIPS32Label::emit(const Cfg *Func) const { in emit()
277 void InstMIPS32Label::emitIAS(const Cfg *Func) const { in emitIAS()
282 InstMIPS32Call::InstMIPS32Call(Cfg *Func, Variable *Dest, Operand *CallTarget) in InstMIPS32Call()
[all …]
DIceInst.h86 void renumber(Cfg *Func);
166 void livenessLightweight(Cfg *Func, LivenessBV &Live);
186 virtual void emit(const Cfg *) const { in emit() argument
189 virtual void emitIAS(const Cfg *Func) const { emit(Func); } in emitIAS()
190 virtual void dump(const Cfg *Func) const;
191 virtual void dumpExtras(const Cfg *Func) const;
192 void dumpDecorated(const Cfg *Func) const;
193 void emitSources(const Cfg *Func) const;
194 void dumpSources(const Cfg *Func) const;
195 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.cpp115 void InstARM32::startNextInst(const Cfg *Func) const { in startNextInst()
120 void InstARM32::emitUsingTextFixup(const Cfg *Func) const { in emitUsingTextFixup()
155 void InstARM32::emitIAS(const Cfg *Func) const { emitUsingTextFixup(Func); } in emitIAS()
158 const InstARM32Pred *Instr, const Cfg *Func, in emitUnaryopGPR()
173 const InstARM32Pred *Instr, const Cfg *Func) { in emitUnaryopFP()
196 const Cfg *Func) { in emitTwoAddr()
210 const InstARM32Pred *Instr, const Cfg *Func, in emitThreeAddr()
226 const InstARM32 *Instr, const Cfg *Func, in emitThreeAddrFP()
241 const InstARM32 *Instr, const Cfg *Func) { in emitFourAddrFP()
257 const Cfg *Func) { in emitFourAddr()
[all …]
DIceInst.cpp71 Inst::Inst(Cfg *Func, InstKind Kind, SizeT MaxSrcs, Variable *Dest) in Inst()
119 void Inst::renumber(Cfg *Func) { in renumber()
191 void Inst::livenessLightweight(Cfg *Func, LivenessBV &Live) { in livenessLightweight()
265 InstAlloca::InstAlloca(Cfg *Func, Variable *Dest, Operand *ByteCount, in InstAlloca()
273 InstArithmetic::InstArithmetic(Cfg *Func, OpKind Op, Variable *Dest, in InstArithmetic()
296 InstAssign::InstAssign(Cfg *Func, Variable *Dest, Operand *Source) in InstAssign()
306 InstBr::InstBr(Cfg *Func, Operand *Source, CfgNode *TargetTrue_, in InstBr()
323 InstBr::InstBr(Cfg *Func, CfgNode *Target) in InstBr()
349 InstCast::InstCast(Cfg *Func, OpKind CastKind, Variable *Dest, Operand *Source) in InstCast()
354 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()
276 Cfg(GlobalContext *Ctx, uint32_t SequenceNumber);
339 template <> Variable *Cfg::makeVariable<Variable>(Type Ty);
342 using OwnerType = Cfg;
[all …]
DIceCfg.cpp37 Cfg::Cfg(GlobalContext *Ctx, uint32_t SequenceNumber) in Cfg() function in Ice::Cfg
49 Cfg::~Cfg() { in ~Cfg()
62 ArenaAllocator *Cfg::createAllocator() { in createAllocator()
74 std::string Cfg::getFunctionNameAndSize() const { in getFunctionNameAndSize()
92 void Cfg::setError(const std::string &Message) { in setError()
97 CfgNode *Cfg::makeNode() { in makeNode()
104 void Cfg::swapNodes(NodeList &NewNodes) { in swapNodes()
111 template <> Variable *Cfg::makeVariable<Variable>(Type Ty) { in makeVariable()
125 void Cfg::addArg(Variable *Arg) { in addArg()
130 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()
112 void emit(Cfg *Func) const;
113 void emitIAS(Cfg *Func) const;
114 void dump(Cfg *Func) const;
133 CfgNode(Cfg *Func, SizeT Number) in CfgNode()
137 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;
DIceInstrumentation.h48 void instrumentFunc(Cfg *Func);
56 virtual bool isInstrumentable(Cfg *) { return true; } in isInstrumentable() argument
79 virtual void instrumentStart(Cfg *) {} in instrumentStart() argument
80 virtual void instrumentLocalVars(Cfg *) {} in instrumentLocalVars() argument
81 virtual void finishFunc(Cfg *) {} in finishFunc() argument
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()
147 void emit(const Cfg *Func) const override { emit(Func->getTarget()); } in emit()
210 void dump(const Cfg *, Ostream &Str) const override { in dump() argument
281 inline void ConstantInteger32::dump(const Cfg *, Ostream &Str) const { in dump() argument
291 inline void ConstantInteger64::dump(const Cfg *, Ostream &Str) const { in dump() argument
402 void dump(const Cfg *Func, Ostream &Str) const override;
438 void dump(const Cfg *, Ostream &Str) const override { in dump() argument
685 static Variable *create(Cfg *Func, Type Ty, SizeT Index) { in create()
[all …]
DIceLiveness.h70 Cfg *getFunc() const { return Func; } in getFunc()
110 static std::unique_ptr<Liveness> create(Cfg *Func, LivenessMode Mode) { in create()
124 Liveness(Cfg *Func, LivenessMode Mode) in Liveness()
139 Cfg *Func;
DIceInstX8664.cpp56 void TargetX8664Traits::X86Operand::dump(const Cfg *, Ostream &Str) const { in dump() argument
61 TargetX8664Traits::X86OperandMem::X86OperandMem(Cfg *Func, Type Ty, in X86OperandMem()
100 void TargetX8664Traits::X86OperandMem::emit(const Cfg *Func) const { in emit()
185 void TargetX8664Traits::X86OperandMem::dump(const Cfg *Func, in dump()
314 TargetX8664Traits::VariableSplit::toAsmAddress(const Cfg *Func) const { in toAsmAddress()
322 void TargetX8664Traits::VariableSplit::emit(const Cfg *Func) const { in emit()
336 void TargetX8664Traits::VariableSplit::dump(const Cfg *Func, in dump()
DIceInstX8632.cpp67 void TargetX8632Traits::X86Operand::dump(const Cfg *, Ostream &Str) const { in dump() argument
73 Cfg *Func, Type Ty, Variable *Base, Constant *Offset, Variable *Index, in X86OperandMem()
126 void TargetX8632Traits::X86OperandMem::emit(const Cfg *Func) const { in emit()
183 void TargetX8632Traits::X86OperandMem::dump(const Cfg *Func, in dump()
305 TargetX8632Traits::VariableSplit::toAsmAddress(const Cfg *Func) const { in toAsmAddress()
313 void TargetX8632Traits::VariableSplit::emit(const Cfg *Func) const { in emit()
327 void TargetX8632Traits::VariableSplit::dump(const Cfg *Func, in dump()
DIceASanInstrumentation.h49 bool isInstrumentable(Cfg *Func) override;
57 void instrumentStart(Cfg *Func) override;
58 void finishFunc(Cfg *Func) override;
/external/rust/cxx/gen/build/src/
Dcfg.rs6 pub struct Cfg<'a> { struct
236 pub static mut CFG: Cfg = Cfg {
244 impl<'a> Debug for Cfg<'a> { implementation
264 pub use self::r#impl::Cfg::CFG;
319 static CONST_DEREFS: RefCell<Map<Handle, Box<super::Cfg<'static>>>> = RefCell::default();
323 struct Handle(*const Cfg<'static>);
325 impl<'a> Cfg<'a> { implementation
326 fn current() -> super::Cfg<'a> { in current()
332 super::Cfg { in current()
341 const fn handle(self: &Cfg<'a>) -> Handle { in handle()
[all …]
/external/llvm-project/clang-tools-extra/clangd/unittests/
DConfigProviderTests.cpp64 Config Cfg = Combined->getConfig(Params(), Diags.callback()); in TEST() local
67 EXPECT_THAT(getAddedArgs(Cfg), ElementsAre("foo1", "bar1")); in TEST()
70 Cfg = Combined->getConfig(Params(), Diags.callback()); in TEST()
73 EXPECT_THAT(getAddedArgs(Cfg), ElementsAre("foo2", "bar2")); in TEST()
96 auto Cfg = P->getConfig(Params(), Diags.callback()); in TEST() local
100 EXPECT_THAT(getAddedArgs(Cfg), ElementsAre("foo")); in TEST()
103 Cfg = P->getConfig(Params(), Diags.callback()); in TEST()
106 EXPECT_THAT(getAddedArgs(Cfg), ElementsAre("foo")); in TEST()
109 Cfg = P->getConfig(Params(), Diags.callback()); in TEST()
112 EXPECT_THAT(getAddedArgs(Cfg), ElementsAre("bar", "baz")); in TEST()
[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-project/clang/unittests/Analysis/
DCFGBuildResult.h27 std::unique_ptr<CFG> Cfg = nullptr,
29 : S(S), Cfg(std::move(Cfg)), AST(std::move(AST)), Func(Func) {} in S()
32 CFG *getCFG() const { return Cfg.get(); } in getCFG()
38 std::unique_ptr<CFG> Cfg; variable
58 if (std::unique_ptr<CFG> Cfg = in run() local
60 TheBuildResult = {BuildResult::BuiltCFG, Func, std::move(Cfg), in run()
/external/llvm-project/clang/include/clang/Analysis/FlowSensitive/
DDataflowWorklist.h30 DataflowWorklistBase(const CFG &Cfg, PostOrderCFGView *POV, Comp C) in DataflowWorklistBase() argument
31 : EnqueuedBlocks(Cfg.getNumBlockIDs()), POV(POV), WorkList(C) {} in DataflowWorklistBase()
64 ForwardDataflowWorklist(const CFG &Cfg, AnalysisDeclContext &Ctx) in ForwardDataflowWorklist()
66 Cfg, Ctx.getAnalysis<PostOrderCFGView>(), in ForwardDataflowWorklist()
81 BackwardDataflowWorklist(const CFG &Cfg, AnalysisDeclContext &Ctx) in BackwardDataflowWorklist()
83 Cfg, Ctx.getAnalysis<PostOrderCFGView>(), in BackwardDataflowWorklist()
/external/catch2/docs/
Dlist-of-examples.md16 - Configuration: [Provide your own output streams](../examples/231-Cfg-OutputStreams.cpp)
42 - Configuration: [Provide your own main()](../examples/220-Cfg-OwnMain.cpp)
43 - Configuration: [Compile-time configuration](../examples/230-Cfg-CompileTimeConfiguration.cpp)
44 - Configuration: [Run-time configuration](../examples/240-Cfg-RunTimeConfiguration.cpp)
/external/llvm-project/llvm/include/llvm/
DPassSupport.h71 #define INITIALIZE_PASS_WITH_OPTIONS(PassName, Arg, Name, Cfg, Analysis) \ argument
72 INITIALIZE_PASS_BEGIN(PassName, Arg, Name, Cfg, Analysis) \
74 INITIALIZE_PASS_END(PassName, Arg, Name, Cfg, Analysis)
76 #define INITIALIZE_PASS_WITH_OPTIONS_BEGIN(PassName, Arg, Name, Cfg, Analysis) \ argument
77 INITIALIZE_PASS_BEGIN(PassName, Arg, Name, Cfg, Analysis) \

1234