Home
last modified time | relevance | path

Searched refs:DefInst (Results 1 – 25 of 46) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIFixupVectorISel.cpp96 MachineInstr *DefInst = MRI.getUniqueVRegDef(WOp->getReg()); in findSRegBaseAndIndex() local
97 switch (DefInst->getOpcode()) { in findSRegBaseAndIndex()
101 Worklist.push_back(&DefInst->getOperand(1)); in findSRegBaseAndIndex()
104 if (DefInst->getNumOperands() != 5) in findSRegBaseAndIndex()
106 Worklist.push_back(&DefInst->getOperand(1)); in findSRegBaseAndIndex()
107 Worklist.push_back(&DefInst->getOperand(3)); in findSRegBaseAndIndex()
113 if (DefInst->getOperand(2).getSubReg() != AMDGPU::NoSubRegister) in findSRegBaseAndIndex()
115 BaseReg = DefInst->getOperand(2).getReg(); in findSRegBaseAndIndex()
116 if (DefInst->getOperand(3).getSubReg() != AMDGPU::NoSubRegister) in findSRegBaseAndIndex()
118 IndexReg = DefInst->getOperand(3).getReg(); in findSRegBaseAndIndex()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFMISimplifyPatchable.cpp105 MachineInstr *DefInst = I->getParent(); in checkADDrr() local
106 unsigned Opcode = DefInst->getOpcode(); in checkADDrr()
120 const MachineOperand &ImmOp = DefInst->getOperand(2); in checkADDrr()
124 BuildMI(*DefInst->getParent(), *DefInst, DefInst->getDebugLoc(), TII->get(COREOp)) in checkADDrr()
125 .add(DefInst->getOperand(0)).addImm(Opcode).add(*BaseOp) in checkADDrr()
127 DefInst->eraseFromParent(); in checkADDrr()
257 MachineInstr *DefInst = MRI->getUniqueVRegDef(SrcReg); in removeLD() local
258 if (!DefInst) in removeLD()
263 if (DefInst->getOpcode() == BPF::LD_imm64) { in removeLD()
264 const MachineOperand &MO = DefInst->getOperand(1); in removeLD()
/third_party/spirv-tools/source/fuzz/
Dfuzzer_pass_adjust_function_controls.cpp37 function.DefInst().GetSingleWordInOperand(0); in Apply()
62 function.DefInst().result_id(), new_function_control_mask); in Apply()
Dtransformation_set_function_control.cpp91 if (function.DefInst().result_id() == message_.function_id()) { in FindFunctionDefInstruction()
92 return &function.DefInst(); in FindFunctionDefInstruction()
Dfuzzer_pass_add_parameters.cpp136 function.DefInst().GetSingleWordInOperand(1)); in GetNumberOfParameters()
Dtransformation_wrap_early_terminator_in_function.cpp171 if (function.DefInst().GetSingleWordInOperand(1) != void_function_type_id) { in MaybeGetWrapperFunction()
Dtransformation_permute_function_parameters.cpp46 if (!function || function->DefInst().opcode() != SpvOpFunction || in IsApplicable()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dfuzzer_pass_adjust_function_controls.cpp38 function.DefInst().GetSingleWordInOperand(0); in Apply()
63 function.DefInst().result_id(), new_function_control_mask); in Apply()
Dtransformation_set_function_control.cpp91 if (function.DefInst().result_id() == message_.function_id()) { in FindFunctionDefInstruction()
92 return &function.DefInst(); in FindFunctionDefInstruction()
Dfuzzer_pass_add_parameters.cpp137 function.DefInst().GetSingleWordInOperand(1)); in GetNumberOfParameters()
Dtransformation_permute_function_parameters.cpp46 if (!function || function->DefInst().opcode() != SpvOpFunction || in IsApplicable()
Dtransformation_wrap_early_terminator_in_function.cpp171 if (function.DefInst().GetSingleWordInOperand(1) != void_function_type_id) { in MaybeGetWrapperFunction()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dfuzzer_pass_adjust_function_controls.cpp38 function.DefInst().GetSingleWordInOperand(0); in Apply()
63 function.DefInst().result_id(), new_function_control_mask); in Apply()
Dtransformation_set_function_control.cpp91 if (function.DefInst().result_id() == message_.function_id()) { in FindFunctionDefInstruction()
92 return &function.DefInst(); in FindFunctionDefInstruction()
Dfuzzer_pass_add_parameters.cpp137 function.DefInst().GetSingleWordInOperand(1)); in GetNumberOfParameters()
Dtransformation_wrap_early_terminator_in_function.cpp171 if (function.DefInst().GetSingleWordInOperand(1) != void_function_type_id) { in MaybeGetWrapperFunction()
Dtransformation_permute_function_parameters.cpp46 if (!function || function->DefInst().opcode() != SpvOpFunction || in IsApplicable()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DEarlyCSE.cpp520 Instruction *DefInst = nullptr; member
528 : DefInst(Inst), Generation(Generation), MatchingId(MatchingId), in LoadValue()
1115 if (InVal.DefInst != nullptr && in processNode()
1123 InVal.DefInst, Inst))) { in processNode()
1124 Value *Op = getOrCreateResult(InVal.DefInst, Inst->getType()); in processNode()
1127 << " to: " << *InVal.DefInst << '\n'); in processNode()
1208 if (InVal.DefInst && in processNode()
1209 InVal.DefInst == getOrCreateResult(Inst, InVal.DefInst->getType()) && in processNode()
1215 InVal.DefInst, Inst))) { in processNode()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCBranchCoalescing.cpp462 MachineInstr *DefInst = MRI->getVRegDef(Use.getReg()); in canMoveToEnd() local
463 if (DefInst->isPHI() && DefInst->getParent() == MI.getParent()) { in canMoveToEnd()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dfunction.h54 Instruction& DefInst() { return *def_inst_; } in DefInst() function
55 const Instruction& DefInst() const { return *def_inst_; } in DefInst() function
/third_party/spirv-tools/source/opt/
Dfunction.h54 Instruction& DefInst() { return *def_inst_; } in DefInst() function
55 const Instruction& DefInst() const { return *def_inst_; } in DefInst() function
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dfunction.h54 Instruction& DefInst() { return *def_inst_; } in DefInst() function
55 const Instruction& DefInst() const { return *def_inst_; } in DefInst() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonCopyToCombine.cpp414 MachineInstr *DefInst = LastDef[Reg]; in findPotentialNewifiableTFRs() local
415 if (!DefInst) in findPotentialNewifiableTFRs()
417 if (!isCombinableInstType(*DefInst, TII, ShouldCombineAggressively)) in findPotentialNewifiableTFRs()
422 MachineBasicBlock::iterator It(DefInst); in findPotentialNewifiableTFRs()
433 PotentiallyNewifiableTFR.insert(DefInst); in findPotentialNewifiableTFRs()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceRegAlloc.cpp519 const Inst *DefInst = VMetadata->getFirstDefinitionSingleBlock(Iter.Cur); in findRegisterPreference() local
520 if (DefInst == nullptr) in findRegisterPreference()
523 assert(DefInst->getDest() == Iter.Cur); in findRegisterPreference()
525 DefInst->isVarAssign() && !VMetadata->isMultiDef(Iter.Cur); in findRegisterPreference()
526 FOREACH_VAR_IN_INST(SrcVar, *DefInst) { in findRegisterPreference()
/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/
Dfunction.h42 Instruction& DefInst() { return *def_inst_; } in DefInst() function

12