Home
last modified time | relevance | path

Searched refs:Instruction (Results 1 - 25 of 2291) sorted by relevance

12345678910>>...92

/third_party/vixl/src/aarch64/
H A Ddisasm-aarch64.h62 const Instruction* instr) VIXL_OVERRIDE;
65 virtual void ProcessOutput(const Instruction* instr);
73 virtual void AppendRegisterNameToOutput(const Instruction* instr,
78 virtual void AppendPCRelativeOffsetToOutput(const Instruction* instr,
83 virtual void AppendCodeRelativeAddressToOutput(const Instruction* instr,
91 virtual void AppendCodeRelativeCodeAddressToOutput(const Instruction* instr,
97 virtual void AppendCodeRelativeDataAddressToOutput(const Instruction* instr,
102 virtual void AppendAddressToOutput(const Instruction* instr,
104 virtual void AppendCodeAddressToOutput(const Instruction* instr,
106 virtual void AppendDataAddressToOutput(const Instruction* inst
[all...]
/third_party/spirv-tools/source/opt/
H A Dinterface_var_sroa.h67 Instruction* GetComponentVariable() const { return component_variable; } in GetComponentVariable()
69 void SetSingleComponentVariable(Instruction* var) { in SetSingleComponentVariable()
75 Instruction* component_variable;
79 std::vector<Instruction*> CollectInterfaceVariables(Instruction& entry_point);
83 bool HasExtraArrayness(Instruction& entry_point, Instruction* var);
87 bool GetVariableLocation(Instruction* var, uint32_t* location);
91 bool GetVariableComponent(Instruction* var, uint32_t* component);
94 Instruction* GetTypeOfVariabl
[all...]
H A Ddebug_info_manager.h37 explicit DebugInlinedAtContext(Instruction* call_inst) in DebugInlinedAtContext()
41 const Instruction* GetLineOfCallInstruction() { return call_inst_line_; } in GetLineOfCallInstruction()
60 const Instruction* call_inst_line_;
90 void AnalyzeDebugInst(Instruction* dbg_inst);
96 uint32_t CreateDebugInlinedAt(const Instruction* line,
101 Instruction* DerefDebugExpression(Instruction* dbg_expr);
104 Instruction* GetDebugInfoNone();
108 Instruction* GetDebugInlinedAt(uint32_t dbg_inlined_at_id);
112 Instruction* GetDebugFunctio
[all...]
H A Dscalar_replacement_pass.h88 bool CanReplaceVariable(const Instruction* varInst) const;
94 bool CheckType(const Instruction* typeInst) const;
98 bool CheckAnnotations(const Instruction* varInst) const;
102 bool CheckTypeAnnotations(const Instruction* typeInst) const;
111 bool CheckUses(const Instruction* inst) const;
117 bool CheckUses(const Instruction* inst, VariableStats* stats) const;
120 bool CheckUsesRelaxed(const Instruction* inst) const;
123 void TransferAnnotations(const Instruction* source,
124 std::vector<Instruction*>* replacements);
136 Pass::Status ReplaceVariable(Instruction* ins
[all...]
H A Dinterface_var_sroa.cpp42 Instruction* array_type) { in GetArrayLength()
46 Instruction* array_length_inst = def_use_mgr->GetDef(const_int_id); in GetArrayLength()
53 Instruction* GetArrayElementType(analysis::DefUseManager* def_use_mgr, in GetArrayElementType()
54 Instruction* array_type) { in GetArrayElementType()
62 Instruction* GetMatrixColumnType(analysis::DefUseManager* def_use_mgr, in GetMatrixColumnType()
63 Instruction* matrix_type) { in GetMatrixColumnType()
78 Instruction* type_inst = def_use_mgr->GetDef(type_id); in GetComponentTypeOfArrayMatrix()
112 const std::unordered_map<Instruction*, Instruction*>& loads_to_composites) { in ReplaceLoadWithCompositeConstruct()
114 Instruction* loa in ReplaceLoadWithCompositeConstruct()
[all...]
H A Dinstruction.h182 class Instruction : public utils::IntrusiveNodeBase<Instruction> { class
190 Instruction() in Instruction() function in spvtools::opt::Instruction
191 : utils::IntrusiveNodeBase<Instruction>(), in Instruction()
200 Instruction(IRContext*);
203 Instruction(IRContext*, spv::Op);
208 Instruction(IRContext* c, const spv_parsed_instruction_t& inst,
209 std::vector<Instruction>&& dbg_line = {});
211 Instruction(IRContext* c, const spv_parsed_instruction_t& inst,
216 Instruction(IRContex
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
H A DInstCombineInternal.h31 #include "llvm/IR/Instruction.h"
84 if (isa<Instruction>(V)) { in getComplexity()
203 if (BO->getOpcode() == Instruction::Add || in isFreeToInvert()
204 BO->getOpcode() == Instruction::Sub) in isFreeToInvert()
224 auto *I = cast<Instruction>(U); in canFreelyInvertAllUsersOf()
226 case Instruction::Select: in canFreelyInvertAllUsersOf()
227 case Instruction::Br: in canFreelyInvertAllUsersOf()
229 case Instruction::Xor: // Can invert 'xor' if it's a 'not', by ignoring it. in canFreelyInvertAllUsersOf()
256 case Instruction::SRem: // X % 1 = 0 in getSafeVectorConstantForBinop()
257 case Instruction in getSafeVectorConstantForBinop()
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Ddebug_info_manager.h36 explicit DebugInlinedAtContext(Instruction* call_inst) in DebugInlinedAtContext()
40 const Instruction* GetLineOfCallInstruction() { return call_inst_line_; } in GetLineOfCallInstruction()
59 const Instruction* call_inst_line_;
89 void AnalyzeDebugInst(Instruction* dbg_inst);
95 uint32_t CreateDebugInlinedAt(const Instruction* line,
100 Instruction* DerefDebugExpression(Instruction* dbg_expr);
103 Instruction* GetDebugInfoNone();
107 Instruction* GetDebugInlinedAt(uint32_t dbg_inlined_at_id);
111 Instruction* GetDebugFunctio
[all...]
H A Dscalar_replacement_pass.h76 bool CanReplaceVariable(const Instruction* varInst) const;
82 bool CheckType(const Instruction* typeInst) const;
86 bool CheckAnnotations(const Instruction* varInst) const;
90 bool CheckTypeAnnotations(const Instruction* typeInst) const;
99 bool CheckUses(const Instruction* inst) const;
105 bool CheckUses(const Instruction* inst, VariableStats* stats) const;
108 bool CheckUsesRelaxed(const Instruction* inst) const;
111 void TransferAnnotations(const Instruction* source,
112 std::vector<Instruction*>* replacements);
124 Pass::Status ReplaceVariable(Instruction* ins
[all...]
H A Dir_builder.h39 // - Instruction to block analysis
47 IRContext* context, Instruction* insert_before, in InstructionBuilder()
61 Instruction* AddNullaryOp(uint32_t type_id, SpvOp opcode) { in AddNullaryOp()
69 std::unique_ptr<Instruction> new_inst( in AddNullaryOp()
70 new Instruction(GetContext(), opcode, type_id, result_id, {})); in AddNullaryOp()
74 Instruction* AddUnaryOp(uint32_t type_id, SpvOp opcode, uint32_t operand1) { in AddUnaryOp()
82 std::unique_ptr<Instruction> newUnOp(new Instruction( in AddUnaryOp()
88 Instruction* AddBinaryOp(uint32_t type_id, SpvOp opcode, uint32_t operand1, in AddBinaryOp()
97 std::unique_ptr<Instruction> newBinO in AddBinaryOp()
[all...]
H A Dinstruction.h169 class Instruction : public utils::IntrusiveNodeBase<Instruction> { class
177 Instruction() in Instruction() function in spvtools::opt::Instruction
178 : utils::IntrusiveNodeBase<Instruction>(), in Instruction()
187 Instruction(IRContext*);
190 Instruction(IRContext*, SpvOp);
195 Instruction(IRContext* c, const spv_parsed_instruction_t& inst,
196 std::vector<Instruction>&& dbg_line = {});
198 Instruction(IRContext* c, const spv_parsed_instruction_t& inst,
203 Instruction(IRContex
[all...]
H A Ddef_use_manager.h37 Instruction* inst; // Instruction using the id.
62 using UserEntry = std::pair<Instruction*, Instruction*>;
99 using IdToDefMap = std::unordered_map<uint32_t, Instruction*>;
114 void AnalyzeInstDef(Instruction* inst);
119 void AnalyzeInstUse(Instruction* inst);
122 void AnalyzeInstDefUse(Instruction* inst);
126 Instruction* GetDef(uint32_t id);
127 const Instruction* GetDe
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Ddebug_info_manager.h36 explicit DebugInlinedAtContext(Instruction* call_inst) in DebugInlinedAtContext()
40 const Instruction* GetLineOfCallInstruction() { return call_inst_line_; } in GetLineOfCallInstruction()
59 const Instruction* call_inst_line_;
89 void AnalyzeDebugInst(Instruction* dbg_inst);
95 uint32_t CreateDebugInlinedAt(const Instruction* line,
100 Instruction* DerefDebugExpression(Instruction* dbg_expr);
103 Instruction* GetDebugInfoNone();
107 Instruction* GetDebugInlinedAt(uint32_t dbg_inlined_at_id);
111 Instruction* GetDebugFunctio
[all...]
H A Dscalar_replacement_pass.h76 bool CanReplaceVariable(const Instruction* varInst) const;
82 bool CheckType(const Instruction* typeInst) const;
86 bool CheckAnnotations(const Instruction* varInst) const;
90 bool CheckTypeAnnotations(const Instruction* typeInst) const;
99 bool CheckUses(const Instruction* inst) const;
105 bool CheckUses(const Instruction* inst, VariableStats* stats) const;
108 bool CheckUsesRelaxed(const Instruction* inst) const;
111 void TransferAnnotations(const Instruction* source,
112 std::vector<Instruction*>* replacements);
124 Pass::Status ReplaceVariable(Instruction* ins
[all...]
H A Dir_builder.h39 // - Instruction to block analysis
47 IRContext* context, Instruction* insert_before, in InstructionBuilder()
61 Instruction* AddNullaryOp(uint32_t type_id, SpvOp opcode) { in AddNullaryOp()
69 std::unique_ptr<Instruction> new_inst( in AddNullaryOp()
70 new Instruction(GetContext(), opcode, type_id, result_id, {})); in AddNullaryOp()
74 Instruction* AddUnaryOp(uint32_t type_id, SpvOp opcode, uint32_t operand1) { in AddUnaryOp()
82 std::unique_ptr<Instruction> newUnOp(new Instruction( in AddUnaryOp()
88 Instruction* AddBinaryOp(uint32_t type_id, SpvOp opcode, uint32_t operand1, in AddBinaryOp()
97 std::unique_ptr<Instruction> newBinO in AddBinaryOp()
[all...]
H A Dinstruction.h169 class Instruction : public utils::IntrusiveNodeBase<Instruction> { class
177 Instruction() in Instruction() function in spvtools::opt::Instruction
178 : utils::IntrusiveNodeBase<Instruction>(), in Instruction()
187 Instruction(IRContext*);
190 Instruction(IRContext*, SpvOp);
195 Instruction(IRContext* c, const spv_parsed_instruction_t& inst,
196 std::vector<Instruction>&& dbg_line = {});
198 Instruction(IRContext* c, const spv_parsed_instruction_t& inst,
203 Instruction(IRContex
[all...]
H A Ddef_use_manager.h37 Instruction* inst; // Instruction using the id.
62 using UserEntry = std::pair<Instruction*, Instruction*>;
99 using IdToDefMap = std::unordered_map<uint32_t, Instruction*>;
114 void AnalyzeInstDef(Instruction* inst);
119 void AnalyzeInstUse(Instruction* inst);
122 void AnalyzeInstDefUse(Instruction* inst);
126 Instruction* GetDef(uint32_t id);
127 const Instruction* GetDe
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
H A DInstruction.cpp1 //===-- Instruction.cpp - Implement the Instruction class -----------------===//
9 // This file implements the Instruction class for the IR library.
13 #include "llvm/IR/Instruction.h"
23 Instruction::Instruction(Type *ty, unsigned it, Use *Ops, unsigned NumOps, in Instruction() function in Instruction
24 Instruction *InsertBefore) in Instruction()
30 assert(BB && "Instruction to insert before is not in a basic block!"); in Instruction()
35 Instruction::Instruction(Typ function in Instruction
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/
H A DOperations.cpp19 Ops.push_back(binOpDescriptor(1, Instruction::Add)); in describeFuzzerIntOps()
20 Ops.push_back(binOpDescriptor(1, Instruction::Sub)); in describeFuzzerIntOps()
21 Ops.push_back(binOpDescriptor(1, Instruction::Mul)); in describeFuzzerIntOps()
22 Ops.push_back(binOpDescriptor(1, Instruction::SDiv)); in describeFuzzerIntOps()
23 Ops.push_back(binOpDescriptor(1, Instruction::UDiv)); in describeFuzzerIntOps()
24 Ops.push_back(binOpDescriptor(1, Instruction::SRem)); in describeFuzzerIntOps()
25 Ops.push_back(binOpDescriptor(1, Instruction::URem)); in describeFuzzerIntOps()
26 Ops.push_back(binOpDescriptor(1, Instruction::Shl)); in describeFuzzerIntOps()
27 Ops.push_back(binOpDescriptor(1, Instruction::LShr)); in describeFuzzerIntOps()
28 Ops.push_back(binOpDescriptor(1, Instruction in describeFuzzerIntOps()
[all...]
/third_party/mesa3d/src/nouveau/codegen/
H A Dnv50_ir_lowering_gv100.h38 virtual bool visit(Instruction *);
40 bool handleDMNMX(Instruction *);
41 bool handleEXTBF(Instruction *);
42 bool handleFLOW(Instruction *);
43 bool handleI2I(Instruction *);
44 bool handleINSBF(Instruction *);
45 bool handlePINTERP(Instruction *);
46 bool handlePREFLOW(Instruction *);
47 bool handlePRESIN(Instruction *);
60 virtual bool visit(Instruction *);
[all...]
H A Dnv50_ir_lowering_nvc0.h64 void handleDIV(Instruction *); // integer division, modulus
65 void handleRCPRSQLib(Instruction *, Value *[]);
66 void handleRCPRSQ(Instruction *); // double precision float recip/rsqrt
69 void handleShift(Instruction *);
70 void handleBREV(Instruction *);
73 void handleFTZ(Instruction *);
87 void replaceCvt(Instruction *);
88 void replaceZero(Instruction *);
94 TexUse(Instruction *use, const Instruction *te
[all...]
H A Dnv50_ir_sched_gm107.h109 void commitInsn(const Instruction *, int);
110 int calcDelay(const Instruction *, int) const;
111 void setDelay(Instruction *, int, const Instruction *);
115 inline void emitYield(Instruction *);
116 inline void emitStall(Instruction *, uint8_t);
117 inline void emitReuse(Instruction *, uint8_t);
118 inline void emitWrDepBar(Instruction *, uint8_t);
119 inline void emitRdDepBar(Instruction *, uint8_t);
120 inline void emitWtDepBar(Instruction *, uint8_
[all...]
/third_party/spirv-tools/source/val/
H A Dvalidate.h32 class Instruction;
49 spv_result_t UpdateIdUse(ValidationState_t& _, const Instruction* inst);
89 spv_result_t MemoryPass(ValidationState_t& _, const Instruction* inst);
110 spv_result_t ModuleLayoutPass(ValidationState_t& _, const Instruction* inst);
113 spv_result_t CfgPass(ValidationState_t& _, const Instruction* inst);
116 spv_result_t ControlFlowPass(ValidationState_t& _, const Instruction* inst);
119 spv_result_t IdPass(ValidationState_t& _, Instruction* inst);
122 spv_result_t InstructionPass(ValidationState_t& _, const Instruction* inst);
132 spv_result_t TypePass(ValidationState_t& _, const Instruction* inst);
135 spv_result_t ConstantPass(ValidationState_t& _, const Instruction* ins
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/val/
H A Dvalidate.h32 class Instruction;
54 spv_result_t UpdateIdUse(ValidationState_t& _, const Instruction* inst);
94 spv_result_t MemoryPass(ValidationState_t& _, const Instruction* inst);
115 spv_result_t ModuleLayoutPass(ValidationState_t& _, const Instruction* inst);
118 spv_result_t CfgPass(ValidationState_t& _, const Instruction* inst);
121 spv_result_t ControlFlowPass(ValidationState_t& _, const Instruction* inst);
124 spv_result_t IdPass(ValidationState_t& _, Instruction* inst);
127 spv_result_t InstructionPass(ValidationState_t& _, const Instruction* inst);
137 spv_result_t TypePass(ValidationState_t& _, const Instruction* inst);
140 spv_result_t ConstantPass(ValidationState_t& _, const Instruction* ins
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
H A Dvalidate.h32 class Instruction;
54 spv_result_t UpdateIdUse(ValidationState_t& _, const Instruction* inst);
94 spv_result_t MemoryPass(ValidationState_t& _, const Instruction* inst);
115 spv_result_t ModuleLayoutPass(ValidationState_t& _, const Instruction* inst);
118 spv_result_t CfgPass(ValidationState_t& _, const Instruction* inst);
121 spv_result_t ControlFlowPass(ValidationState_t& _, const Instruction* inst);
124 spv_result_t IdPass(ValidationState_t& _, Instruction* inst);
127 spv_result_t InstructionPass(ValidationState_t& _, const Instruction* inst);
137 spv_result_t TypePass(ValidationState_t& _, const Instruction* inst);
140 spv_result_t ConstantPass(ValidationState_t& _, const Instruction* ins
[all...]

Completed in 13 milliseconds

12345678910>>...92