Searched refs:Renamer (Results 1 – 13 of 13) sorted by relevance
34 auto got = Run<Renamer>(src); in TEST_F()38 auto* data = got.data.Get<Renamer::Data>(); in TEST_F()69 auto got = Run<Renamer>(src); in TEST_F()73 auto* data = got.data.Get<Renamer::Data>(); in TEST_F()76 Renamer::Data::Remappings expected_remappings = { in TEST_F()105 auto got = Run<Renamer>(src); in TEST_F()109 auto* data = got.data.Get<Renamer::Data>(); in TEST_F()112 Renamer::Data::Remappings expected_remappings = { in TEST_F()138 auto got = Run<Renamer>(src); in TEST_F()142 auto* data = got.data.Get<Renamer::Data>(); in TEST_F()[all …]
25 TINT_INSTANTIATE_TYPEINFO(tint::transform::Renamer);26 TINT_INSTANTIATE_TYPEINFO(tint::transform::Renamer::Data);27 TINT_INSTANTIATE_TYPEINFO(tint::transform::Renamer::Config);1244 Renamer::Data::Data(Remappings&& r) : remappings(std::move(r)) {} in Data()1245 Renamer::Data::Data(const Data&) = default;1246 Renamer::Data::~Data() = default;1248 Renamer::Config::Config(Target t) : target(t) {} in Config()1249 Renamer::Config::Config(const Config&) = default;1250 Renamer::Config::~Config() = default;1252 Renamer::Renamer() = default;[all …]
27 class Renamer : public Castable<Renamer, Transform> {79 Renamer();82 ~Renamer() override;
85 transform_data.Add<transform::Renamer::Config>( in SanitizeAndBuild()86 transform::Renamer::Target::kGlslKeywords); in SanitizeAndBuild()87 transform_manager.Add<tint::transform::Renamer>(); in SanitizeAndBuild()
91 transform_data.Add<transform::Renamer::Config>(92 transform::Renamer::Target::kHlslKeywords);93 transform_manager.Add<tint::transform::Renamer>();
60 struct Renamer { struct61 Renamer(unsigned int seed) { in Renamer() argument93 Renamer renamer(randSeed); in runOnModule()
58 VRegRenamer Renamer(MF.getRegInfo()); in runOnMachineFunction() local63 Changed |= Renamer.renameVRegs(MBB, BBIndex++); in runOnMachineFunction()
373 unsigned BasicBlockNum, VRegRenamer &Renamer) { in runOnBasicBlock() argument393 Changed |= Renamer.renameVRegs(MBB, BasicBlockNum); in runOnBasicBlock()431 VRegRenamer Renamer(MRI); in runOnMachineFunction() local433 Changed |= runOnBasicBlock(MBB, BBNum++, Renamer); in runOnMachineFunction()
65 AddTransform<transform::Renamer>(); in AddPlatformIndependentPasses()144 struct AddTransformImpl<transform::Renamer> {148 tb->manager()->Add<transform::Renamer>();
24 tb.AddTransform<transform::Renamer>(); in LLVMFuzzerTestOneInput()
1083 transform_manager.Add<tint::transform::Renamer>(); in main()1102 transform_inputs.Add<tint::transform::Renamer::Config>( in main()1103 tint::transform::Renamer::Target::kMslKeywords); in main()1104 transform_manager.Add<tint::transform::Renamer>(); in main()1110 transform_inputs.Add<tint::transform::Renamer::Config>( in main()1111 tint::transform::Renamer::Target::kGlslKeywords); in main()1112 transform_manager.Add<tint::transform::Renamer>(); in main()1118 transform_inputs.Add<tint::transform::Renamer::Config>( in main()1119 tint::transform::Renamer::Target::kHlslKeywords); in main()1120 transform_manager.Add<tint::transform::Renamer>(); in main()
124 transformManager.Add<tint::transform::Renamer>();128 transformInputs.Add<tint::transform::Renamer::Config>(129 tint::transform::Renamer::Target::kMslKeywords);141 if (auto* data = transformOutputs.Get<tint::transform::Renamer::Data>()) {
622 transformManager.Add<tint::transform::Renamer>(); in TranslateToHLSL()626 transformInputs.Add<tint::transform::Renamer::Config>( in TranslateToHLSL()627 tint::transform::Renamer::Target::kHlslKeywords); in TranslateToHLSL()644 if (auto* data = transformOutputs.Get<tint::transform::Renamer::Data>()) { in TranslateToHLSL()