• Home
  • Raw
  • Download

Lines Matching refs:IRContext

51 class IRContext {
95 IRContext(spv_target_env env, MessageConsumer c) in IRContext() function
114 IRContext(spv_target_env env, std::unique_ptr<Module>&& m, MessageConsumer c) in IRContext() function
133 ~IRContext() { spvContextDestroy(syntax_context_); } in ~IRContext()
866 inline IRContext::Analysis operator|(IRContext::Analysis lhs,
867 IRContext::Analysis rhs) {
868 return static_cast<IRContext::Analysis>(static_cast<int>(lhs) |
872 inline IRContext::Analysis& operator|=(IRContext::Analysis& lhs,
873 IRContext::Analysis rhs) {
878 inline IRContext::Analysis operator<<(IRContext::Analysis a, int shift) {
879 return static_cast<IRContext::Analysis>(static_cast<int>(a) << shift);
882 inline IRContext::Analysis& operator<<=(IRContext::Analysis& a, int shift) {
883 a = static_cast<IRContext::Analysis>(static_cast<int>(a) << shift);
887 std::vector<Instruction*> IRContext::GetConstants() { in GetConstants()
891 std::vector<const Instruction*> IRContext::GetConstants() const { in GetConstants()
895 Module::inst_iterator IRContext::annotation_begin() { in annotation_begin()
899 Module::inst_iterator IRContext::annotation_end() { in annotation_end()
903 IteratorRange<Module::inst_iterator> IRContext::annotations() { in annotations()
907 IteratorRange<Module::const_inst_iterator> IRContext::annotations() const { in annotations()
911 Module::inst_iterator IRContext::capability_begin() { in capability_begin()
915 Module::inst_iterator IRContext::capability_end() { in capability_end()
919 IteratorRange<Module::inst_iterator> IRContext::capabilities() { in capabilities()
923 IteratorRange<Module::const_inst_iterator> IRContext::capabilities() const { in capabilities()
927 Module::inst_iterator IRContext::types_values_begin() { in types_values_begin()
931 Module::inst_iterator IRContext::types_values_end() { in types_values_end()
935 IteratorRange<Module::inst_iterator> IRContext::types_values() { in types_values()
939 IteratorRange<Module::const_inst_iterator> IRContext::types_values() const { in types_values()
943 Module::inst_iterator IRContext::ext_inst_import_begin() { in ext_inst_import_begin()
947 Module::inst_iterator IRContext::ext_inst_import_end() { in ext_inst_import_end()
951 IteratorRange<Module::inst_iterator> IRContext::ext_inst_imports() { in ext_inst_imports()
955 IteratorRange<Module::const_inst_iterator> IRContext::ext_inst_imports() const { in ext_inst_imports()
959 Module::inst_iterator IRContext::debug1_begin() { in debug1_begin()
963 Module::inst_iterator IRContext::debug1_end() { return module()->debug1_end(); } in debug1_end()
965 IteratorRange<Module::inst_iterator> IRContext::debugs1() { in debugs1()
969 IteratorRange<Module::const_inst_iterator> IRContext::debugs1() const { in debugs1()
973 Module::inst_iterator IRContext::debug2_begin() { in debug2_begin()
976 Module::inst_iterator IRContext::debug2_end() { return module()->debug2_end(); } in debug2_end()
978 IteratorRange<Module::inst_iterator> IRContext::debugs2() { in debugs2()
982 IteratorRange<Module::const_inst_iterator> IRContext::debugs2() const { in debugs2()
986 Module::inst_iterator IRContext::debug3_begin() { in debug3_begin()
990 Module::inst_iterator IRContext::debug3_end() { return module()->debug3_end(); } in debug3_end()
992 IteratorRange<Module::inst_iterator> IRContext::debugs3() { in debugs3()
996 IteratorRange<Module::const_inst_iterator> IRContext::debugs3() const { in debugs3()
1000 Module::inst_iterator IRContext::ext_inst_debuginfo_begin() { in ext_inst_debuginfo_begin()
1004 Module::inst_iterator IRContext::ext_inst_debuginfo_end() { in ext_inst_debuginfo_end()
1008 IteratorRange<Module::inst_iterator> IRContext::ext_inst_debuginfo() { in ext_inst_debuginfo()
1012 IteratorRange<Module::const_inst_iterator> IRContext::ext_inst_debuginfo() in ext_inst_debuginfo()
1017 void IRContext::AddCapability(SpvCapability capability) { in AddCapability()
1026 void IRContext::AddCapability(std::unique_ptr<Instruction>&& c) { in AddCapability()
1038 void IRContext::AddExtension(const std::string& ext_name) { in AddExtension()
1045 void IRContext::AddExtension(std::unique_ptr<Instruction>&& e) { in AddExtension()
1055 void IRContext::AddExtInstImport(const std::string& name) { in AddExtInstImport()
1062 void IRContext::AddExtInstImport(std::unique_ptr<Instruction>&& e) { in AddExtInstImport()
1073 void IRContext::SetMemoryModel(std::unique_ptr<Instruction>&& m) { in SetMemoryModel()
1077 void IRContext::AddEntryPoint(std::unique_ptr<Instruction>&& e) { in AddEntryPoint()
1081 void IRContext::AddExecutionMode(std::unique_ptr<Instruction>&& e) { in AddExecutionMode()
1085 void IRContext::AddDebug1Inst(std::unique_ptr<Instruction>&& d) { in AddDebug1Inst()
1089 void IRContext::AddDebug2Inst(std::unique_ptr<Instruction>&& d) { in AddDebug2Inst()
1103 void IRContext::AddDebug3Inst(std::unique_ptr<Instruction>&& d) { in AddDebug3Inst()
1107 void IRContext::AddExtInstDebugInfo(std::unique_ptr<Instruction>&& d) { in AddExtInstDebugInfo()
1111 void IRContext::AddAnnotationInst(std::unique_ptr<Instruction>&& a) { in AddAnnotationInst()
1121 void IRContext::AddType(std::unique_ptr<Instruction>&& t) { in AddType()
1128 void IRContext::AddGlobalValue(std::unique_ptr<Instruction>&& v) { in AddGlobalValue()
1135 void IRContext::AddFunction(std::unique_ptr<Function>&& f) { in AddFunction()
1139 void IRContext::AnalyzeDefUse(Instruction* inst) { in AnalyzeDefUse()
1145 void IRContext::UpdateDefUse(Instruction* inst) { in UpdateDefUse()
1151 void IRContext::BuildIdToNameMap() { in BuildIdToNameMap()
1163 IRContext::GetNames(uint32_t id) { in GetNames()
1171 Instruction* IRContext::GetMemberName(uint32_t struct_type_id, uint32_t index) { in GetMemberName()