/prebuilts/ndk/current/sources/third_party/shaderc/third_party/spirv-tools/source/opt/ |
H A D | module.h | 59 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 D | instruction.h | 74 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 D | basic_block.h | 49 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 D | function.h | 45 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 D | instruction.cpp | 36 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 D | passes.cpp | 36 module->ForEachInst([&modified](ir::Instruction* inst) {
|
H A D | module.cpp | 33 std::vector<Instruction*> Module::types() { 34 std::vector<Instruction*> insts; 42 void Module::ForEachInst(const std::function<void(Instruction*)>& f) {
|
H A D | function.cpp | 32 void Function::ForEachInst(const std::function<void(Instruction*)>& f) {
|
H A D | ir_loader.h | 75 std::vector<Instruction> dbg_line_info_;
|
/prebuilts/ndk/r13/sources/third_party/shaderc/third_party/spirv-tools/source/opt/ |
H A D | module.h | 59 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 D | instruction.h | 74 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 D | basic_block.h | 49 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 D | function.h | 45 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 D | instruction.cpp | 36 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 D | passes.cpp | 36 module->ForEachInst([&modified](ir::Instruction* inst) {
|
H A D | module.cpp | 33 std::vector<Instruction*> Module::types() { 34 std::vector<Instruction*> insts; 42 void Module::ForEachInst(const std::function<void(Instruction*)>& f) {
|
H A D | function.cpp | 32 void Function::ForEachInst(const std::function<void(Instruction*)>& f) {
|
/prebuilts/ndk/current/sources/third_party/shaderc/third_party/glslang/SPIRV/ |
H A D | SpvBuilder.cpp | 76 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 D | spvIR.h | 42 // - 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 D | SpvBuilder.cpp | 76 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 D | spvIR.h | 42 // - 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 D | SpvBuilder.cpp | 76 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 D | spvIR.h | 42 // - 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 D | SpvBuilder.cpp | 76 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 D | spvIR.h | 42 // - 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...] |