Home
last modified time | relevance | path

Searched refs:hasModifiersSet (Results 1 – 9 of 9) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIFoldOperands.cpp789 if (TII->hasModifiersSet(MI, AMDGPU::OpName::omod)) in isClamp()
908 TII->hasModifiersSet(MI, AMDGPU::OpName::src0_modifiers) || in isOMod()
909 TII->hasModifiersSet(MI, AMDGPU::OpName::src1_modifiers) || in isOMod()
910 TII->hasModifiersSet(MI, AMDGPU::OpName::omod) || in isOMod()
911 TII->hasModifiersSet(MI, AMDGPU::OpName::clamp)) in isOMod()
929 !TII->hasModifiersSet(MI, AMDGPU::OpName::src0_modifiers) && in isOMod()
930 !TII->hasModifiersSet(MI, AMDGPU::OpName::src1_modifiers) && in isOMod()
931 !TII->hasModifiersSet(MI, AMDGPU::OpName::clamp) && in isOMod()
932 !TII->hasModifiersSet(MI, AMDGPU::OpName::omod)) in isOMod()
959 if (TII->hasModifiersSet(*Def, AMDGPU::OpName::clamp)) in tryFoldOMod()
DSIShrinkInstructions.cpp96 TII->hasModifiersSet(MI, AMDGPU::OpName::src2_modifiers)) in canShrink()
107 TII->hasModifiersSet(MI, AMDGPU::OpName::src1_modifiers))) in canShrink()
112 if (TII->hasModifiersSet(MI, AMDGPU::OpName::src0_modifiers)) in canShrink()
116 return !TII->hasModifiersSet(MI, AMDGPU::OpName::omod) && in canShrink()
117 !TII->hasModifiersSet(MI, AMDGPU::OpName::clamp); in canShrink()
DSIPeepholeSDWA.cpp871 if (!ST.hasSDWAOmod() && TII->hasModifiersSet(MI, AMDGPU::OpName::omod)) in isConvertibleToSDWA()
882 (TII->hasModifiersSet(MI, AMDGPU::OpName::clamp) || in isConvertibleToSDWA()
883 TII->hasModifiersSet(MI, AMDGPU::OpName::omod))) in isConvertibleToSDWA()
DSIInstrInfo.cpp2512 bool SIInstrInfo::hasModifiersSet(const MachineInstr &MI, in hasModifiersSet() function in SIInstrInfo
2519 return hasModifiersSet(MI, AMDGPU::OpName::src0_modifiers) || in hasAnyModifiersSet()
2520 hasModifiersSet(MI, AMDGPU::OpName::src1_modifiers) || in hasAnyModifiersSet()
2521 hasModifiersSet(MI, AMDGPU::OpName::src2_modifiers) || in hasAnyModifiersSet()
2522 hasModifiersSet(MI, AMDGPU::OpName::clamp) || in hasAnyModifiersSet()
2523 hasModifiersSet(MI, AMDGPU::OpName::omod); in hasAnyModifiersSet()
DSIInstrInfo.h688 bool hasModifiersSet(const MachineInstr &MI,
DSIInsertWaitcnts.cpp1322 if (TII->hasModifiersSet(Inst, AMDGPU::OpName::gds)) { in updateEventWaitcntAfter()
/external/llvm/lib/Target/AMDGPU/
DSIShrinkInstructions.cpp97 TII->hasModifiersSet(MI, AMDGPU::OpName::src2_modifiers)) in canShrink()
115 if (TII->hasModifiersSet(MI, AMDGPU::OpName::src0_modifiers)) in canShrink()
119 if (TII->hasModifiersSet(MI, AMDGPU::OpName::omod)) in canShrink()
122 return !TII->hasModifiersSet(MI, AMDGPU::OpName::clamp); in canShrink()
DSIInstrInfo.cpp1060 if (hasModifiersSet(MI, AMDGPU::OpName::src0_modifiers) || in findCommutedOpIndices()
1061 hasModifiersSet(MI, AMDGPU::OpName::src1_modifiers)) in findCommutedOpIndices()
1225 if (hasModifiersSet(UseMI, AMDGPU::OpName::src0_modifiers) || in FoldImmediate()
1226 hasModifiersSet(UseMI, AMDGPU::OpName::src1_modifiers) || in FoldImmediate()
1227 hasModifiersSet(UseMI, AMDGPU::OpName::src2_modifiers)) { in FoldImmediate()
1571 bool SIInstrInfo::hasModifiersSet(const MachineInstr &MI, in hasModifiersSet() function in SIInstrInfo
DSIInstrInfo.h395 bool hasModifiersSet(const MachineInstr &MI,