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

1234

/prebuilts/ndk/current/sources/third_party/shaderc/third_party/spirv-tools/source/opt/
H A Dmodule.h59 void AddCapability(Instruction&& c) { capabilities_.push_back(std::move(c)); }
61 void AddExtension(Instruction&& e) { extensions_.push_back(std::move(e)); }
63 void AddExtInstImport(Instruction&& e) {
67 void SetMemoryModel(Instruction&& m) { memory_model_ = std::move(m); }
69 void AddEntryPoint(Instruction&& e) { entry_points_.push_back(std::move(e)); }
71 void AddExecutionMode(Instruction&& e) {
75 void AddDebugInst(Instruction&& d) { debugs_.push_back(std::move(d)); }
77 void AddAnnotationInst(Instruction&& a) {
81 void AddType(Instruction&& t) { types_values_.push_back(std::move(t)); }
83 void AddConstant(Instruction
[all...]
H A Dinstruction.h74 class Instruction { class in namespace:spvtools::ir
77 Instruction() : opcode_(SpvOpNop), type_id_(0), result_id_(0) {} function in class:spvtools::ir::Instruction
80 Instruction(SpvOp op) : opcode_(op), type_id_(0), result_id_(0) {} function in class:spvtools::ir::Instruction
85 Instruction(const spv_parsed_instruction_t& inst,
86 std::vector<Instruction>&& dbg_line = {});
93 std::vector<Instruction>& dbg_line_insts() { return dbg_line_insts_; }
94 const std::vector<Instruction>& dbg_line_insts() const {
135 inline void ForEachInst(const std::function<void(Instruction*)>& f);
155 std::vector<Instruction> dbg_line_insts_;
158 inline const Operand& Instruction
[all...]
H A Dbasic_block.h49 BasicBlock(Instruction&& label)
55 void AddInstruction(Instruction&& i) { insts_.push_back(std::move(i)); }
58 inline void ForEachInst(const std::function<void(Instruction*)>& f);
66 Instruction label_; // The label starting this basic block.
67 std::vector<Instruction> insts_; // Instructions inside this basic block.
71 const std::function<void(Instruction*)>& f) {
H A Dfunction.h45 Function(Instruction&& def_inst)
53 void AddParameter(Instruction&& p) { params_.push_back(std::move(p)); }
61 void ForEachInst(const std::function<void(Instruction*)>& f);
69 Instruction def_inst_; // The instruction definining this function.
70 std::vector<Instruction> params_; // All parameters to this function.
72 Instruction end_inst_; // The OpFunctionEnd instruction.
H A Dinstruction.cpp36 Instruction::Instruction(const spv_parsed_instruction_t& inst, function in class:spvtools::ir::Instruction
37 std::vector<Instruction>&& dbg_line)
53 uint32_t Instruction::GetSingleWordOperand(uint32_t index) const {
59 uint32_t Instruction::NumInOperandWords() const {
66 void Instruction::ToBinary(std::vector<uint32_t>* binary, bool skip_nop) const {
H A Dpasses.cpp36 module->ForEachInst([&modified](ir::Instruction* inst) {
H A Dmodule.cpp33 std::vector<Instruction*> Module::types() {
34 std::vector<Instruction*> insts;
42 void Module::ForEachInst(const std::function<void(Instruction*)>& f) {
H A Dfunction.cpp32 void Function::ForEachInst(const std::function<void(Instruction*)>& f) {
H A Dir_loader.h75 std::vector<Instruction> dbg_line_info_;
/prebuilts/ndk/r13/sources/third_party/shaderc/third_party/spirv-tools/source/opt/
H A Dmodule.h59 void AddCapability(Instruction&& c) { capabilities_.push_back(std::move(c)); }
61 void AddExtension(Instruction&& e) { extensions_.push_back(std::move(e)); }
63 void AddExtInstImport(Instruction&& e) {
67 void SetMemoryModel(Instruction&& m) { memory_model_ = std::move(m); }
69 void AddEntryPoint(Instruction&& e) { entry_points_.push_back(std::move(e)); }
71 void AddExecutionMode(Instruction&& e) {
75 void AddDebugInst(Instruction&& d) { debugs_.push_back(std::move(d)); }
77 void AddAnnotationInst(Instruction&& a) {
81 void AddType(Instruction&& t) { types_values_.push_back(std::move(t)); }
83 void AddConstant(Instruction
[all...]
H A Dinstruction.h74 class Instruction { class in namespace:spvtools::ir
77 Instruction() : opcode_(SpvOpNop), type_id_(0), result_id_(0) {} function in class:spvtools::ir::Instruction
80 Instruction(SpvOp op) : opcode_(op), type_id_(0), result_id_(0) {} function in class:spvtools::ir::Instruction
85 Instruction(const spv_parsed_instruction_t& inst,
86 std::vector<Instruction>&& dbg_line = {});
93 std::vector<Instruction>& dbg_line_insts() { return dbg_line_insts_; }
94 const std::vector<Instruction>& dbg_line_insts() const {
135 inline void ForEachInst(const std::function<void(Instruction*)>& f);
155 std::vector<Instruction> dbg_line_insts_;
158 inline const Operand& Instruction
[all...]
H A Dbasic_block.h49 BasicBlock(Instruction&& label)
55 void AddInstruction(Instruction&& i) { insts_.push_back(std::move(i)); }
58 inline void ForEachInst(const std::function<void(Instruction*)>& f);
66 Instruction label_; // The label starting this basic block.
67 std::vector<Instruction> insts_; // Instructions inside this basic block.
71 const std::function<void(Instruction*)>& f) {
H A Dfunction.h45 Function(Instruction&& def_inst)
53 void AddParameter(Instruction&& p) { params_.push_back(std::move(p)); }
61 void ForEachInst(const std::function<void(Instruction*)>& f);
69 Instruction def_inst_; // The instruction definining this function.
70 std::vector<Instruction> params_; // All parameters to this function.
72 Instruction end_inst_; // The OpFunctionEnd instruction.
H A Dinstruction.cpp36 Instruction::Instruction(const spv_parsed_instruction_t& inst, function in class:spvtools::ir::Instruction
37 std::vector<Instruction>&& dbg_line)
53 uint32_t Instruction::GetSingleWordOperand(uint32_t index) const {
59 uint32_t Instruction::NumInOperandWords() const {
66 void Instruction::ToBinary(std::vector<uint32_t>* binary, bool skip_nop) const {
H A Dpasses.cpp36 module->ForEachInst([&modified](ir::Instruction* inst) {
H A Dmodule.cpp33 std::vector<Instruction*> Module::types() {
34 std::vector<Instruction*> insts;
42 void Module::ForEachInst(const std::function<void(Instruction*)>& f) {
H A Dfunction.cpp32 void Function::ForEachInst(const std::function<void(Instruction*)>& f) {
/prebuilts/ndk/current/sources/third_party/shaderc/third_party/glslang/SPIRV/
H A DSpvBuilder.cpp76 Instruction* import = new Instruction(getUniqueId(), NoType, OpExtInstImport);
79 imports.push_back(std::unique_ptr<Instruction>(import));
86 Instruction* type;
88 type = new Instruction(getUniqueId(), NoType, OpTypeVoid);
90 constantsTypesGlobals.push_back(std::unique_ptr<Instruction>(type));
100 Instruction* type;
102 type = new Instruction(getUniqueId(), NoType, OpTypeBool);
104 constantsTypesGlobals.push_back(std::unique_ptr<Instruction>(type));
114 Instruction* typ
[all...]
H A DspvIR.h42 // - Instruction
81 class Instruction { class in namespace:spv
83 Instruction(Id resultId, Id typeId, Op opCode) : resultId(resultId), typeId(typeId), opCode(opCode), block(nullptr) { } function in class:spv::Instruction
84 explicit Instruction(Op opCode) : resultId(NoResult), typeId(NoType), opCode(opCode), block(nullptr) { } function in class:spv::Instruction
85 virtual ~Instruction() {}
149 Instruction(const Instruction&);
172 void addInstruction(std::unique_ptr<Instruction> inst);
174 void addLocalVariable(std::unique_ptr<Instruction> inst) { localVariables.push_back(std::move(inst)); }
177 const std::vector<std::unique_ptr<Instruction> >
[all...]
/prebuilts/ndk/current/sources/third_party/vulkan/glslang/SPIRV/
H A DSpvBuilder.cpp76 Instruction* import = new Instruction(getUniqueId(), NoType, OpExtInstImport);
79 imports.push_back(std::unique_ptr<Instruction>(import));
86 Instruction* type;
88 type = new Instruction(getUniqueId(), NoType, OpTypeVoid);
90 constantsTypesGlobals.push_back(std::unique_ptr<Instruction>(type));
100 Instruction* type;
102 type = new Instruction(getUniqueId(), NoType, OpTypeBool);
104 constantsTypesGlobals.push_back(std::unique_ptr<Instruction>(type));
114 Instruction* typ
[all...]
H A DspvIR.h42 // - Instruction
81 class Instruction { class in namespace:spv
83 Instruction(Id resultId, Id typeId, Op opCode) : resultId(resultId), typeId(typeId), opCode(opCode), block(nullptr) { } function in class:spv::Instruction
84 explicit Instruction(Op opCode) : resultId(NoResult), typeId(NoType), opCode(opCode), block(nullptr) { } function in class:spv::Instruction
85 virtual ~Instruction() {}
149 Instruction(const Instruction&);
172 void addInstruction(std::unique_ptr<Instruction> inst);
174 void addLocalVariable(std::unique_ptr<Instruction> inst) { localVariables.push_back(std::move(inst)); }
177 const std::vector<std::unique_ptr<Instruction> >
[all...]
/prebuilts/ndk/r13/sources/third_party/shaderc/third_party/glslang/SPIRV/
H A DSpvBuilder.cpp76 Instruction* import = new Instruction(getUniqueId(), NoType, OpExtInstImport);
79 imports.push_back(std::unique_ptr<Instruction>(import));
86 Instruction* type;
88 type = new Instruction(getUniqueId(), NoType, OpTypeVoid);
90 constantsTypesGlobals.push_back(std::unique_ptr<Instruction>(type));
100 Instruction* type;
102 type = new Instruction(getUniqueId(), NoType, OpTypeBool);
104 constantsTypesGlobals.push_back(std::unique_ptr<Instruction>(type));
114 Instruction* typ
[all...]
H A DspvIR.h42 // - Instruction
81 class Instruction { class in namespace:spv
83 Instruction(Id resultId, Id typeId, Op opCode) : resultId(resultId), typeId(typeId), opCode(opCode), block(nullptr) { } function in class:spv::Instruction
84 explicit Instruction(Op opCode) : resultId(NoResult), typeId(NoType), opCode(opCode), block(nullptr) { } function in class:spv::Instruction
85 virtual ~Instruction() {}
149 Instruction(const Instruction&);
172 void addInstruction(std::unique_ptr<Instruction> inst);
174 void addLocalVariable(std::unique_ptr<Instruction> inst) { localVariables.push_back(std::move(inst)); }
177 const std::vector<std::unique_ptr<Instruction> >
[all...]
/prebuilts/ndk/r13/sources/third_party/vulkan/glslang/SPIRV/
H A DSpvBuilder.cpp76 Instruction* import = new Instruction(getUniqueId(), NoType, OpExtInstImport);
79 imports.push_back(std::unique_ptr<Instruction>(import));
86 Instruction* type;
88 type = new Instruction(getUniqueId(), NoType, OpTypeVoid);
90 constantsTypesGlobals.push_back(std::unique_ptr<Instruction>(type));
100 Instruction* type;
102 type = new Instruction(getUniqueId(), NoType, OpTypeBool);
104 constantsTypesGlobals.push_back(std::unique_ptr<Instruction>(type));
114 Instruction* typ
[all...]
H A DspvIR.h42 // - Instruction
81 class Instruction { class in namespace:spv
83 Instruction(Id resultId, Id typeId, Op opCode) : resultId(resultId), typeId(typeId), opCode(opCode), block(nullptr) { } function in class:spv::Instruction
84 explicit Instruction(Op opCode) : resultId(NoResult), typeId(NoType), opCode(opCode), block(nullptr) { } function in class:spv::Instruction
85 virtual ~Instruction() {}
149 Instruction(const Instruction&);
172 void addInstruction(std::unique_ptr<Instruction> inst);
174 void addLocalVariable(std::unique_ptr<Instruction> inst) { localVariables.push_back(std::move(inst)); }
177 const std::vector<std::unique_ptr<Instruction> >
[all...]

Completed in 512 milliseconds

1234