reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
  559       if (MRI.getType(TmpReg).isValid())
include/llvm/CodeGen/GlobalISel/MIPatternMatch.h
  137     if (Ty.isValid())
include/llvm/Support/LowLevelTypeImpl.h
   91   bool isScalar() const { return isValid() && !IsPointer && !IsVector; }
   93   bool isPointer() const { return isValid() && IsPointer && !IsVector; }
   95   bool isVector() const { return isValid() && IsVector; }
lib/CodeGen/GlobalISel/CSEInfo.cpp
  340     if (Ty.isValid())
lib/CodeGen/GlobalISel/CombinerHelper.cpp
   81   if (DstTy.isValid() && SrcTy.isValid() && DstTy == SrcTy)
   81   if (DstTy.isValid() && SrcTy.isValid() && DstTy == SrcTy)
  271   if (!CurrentUse.Ty.isValid()) {
lib/CodeGen/GlobalISel/GISelKnownBits.cpp
  101   if (!DstTy.isValid()) {
  136         MRI.getType(Src.getReg()).isValid()) {
lib/CodeGen/GlobalISel/InstructionSelect.cpp
  208     if (Ty.isValid() && Ty.getSizeInBits() > TRI.getRegSizeInBits(*RC)) {
lib/CodeGen/GlobalISel/LegalizerHelper.cpp
   42   assert(!LeftoverTy.isValid() && "this is an out argument");
  134   assert(!LeftoverTy.isValid() && "this is an out argument");
  200   if (!LeftoverTy.isValid()) {
 2931   if (LeftoverTy.isValid())
lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
  378   assert(Res.getLLTTy(*getMRI()).isValid() && "invalid operand type");
  391   assert(Val.getLLTTy(*getMRI()).isValid() && "invalid operand type");
  517   assert(SrcTy.isValid() && "invalid operand type");
  518   assert(DstTy.isValid() && "invalid operand type");
  543   assert(getMRI()->getType(Res).isValid() && "invalid operand type");
  545     assert(getMRI()->getType(Op).isValid() && "invalid operand type");
  755   assert(CmpValTy.isValid() && "invalid operand type");
  756   assert(NewValTy.isValid() && "invalid operand type");
  781   assert(CmpValTy.isValid() && "invalid operand type");
  782   assert(NewValTy.isValid() && "invalid operand type");
  806   assert(ValTy.isValid() && "invalid operand type");
lib/CodeGen/GlobalISel/Utils.cpp
  307   if (!DstTy.isValid())
  312     if (!SrcTy.isValid() || SrcTy != DstTy)
lib/CodeGen/MIRParser/MIParser.cpp
 1437         if (MRI.getType(Reg).isValid() && MRI.getType(Reg) != Ty)
 1456     if (MRI.getType(Reg).isValid() && MRI.getType(Reg) != Ty)
lib/CodeGen/MachineInstr.cpp
 1442   if (TypeToPrint.isValid())
lib/CodeGen/MachineOperand.cpp
  801     if (TypeToPrint.isValid())
lib/CodeGen/MachineRegisterInfo.cpp
   97   if (RegTy.isValid() && ConstrainingRegTy.isValid() &&
   97   if (RegTy.isValid() && ConstrainingRegTy.isValid() &&
  116   if (ConstrainingRegTy.isValid())
lib/CodeGen/MachineVerifier.cpp
  944     if (OpTy.isValid()) {
  947       if (!Types[TypeIdx].isValid())
 1040     if (!DstTy.isValid() ||
 1046                        if (!Ty.isValid() || (Ty != DstTy))
 1058     if (!DstTy.isValid() || !SrcTy.isValid())
 1058     if (!DstTy.isValid() || !SrcTy.isValid())
 1073     if (!DstTy.isValid() || !SrcTy.isValid())
 1073     if (!DstTy.isValid() || !SrcTy.isValid())
 1107     if (!DstTy.isValid() || !PtrTy.isValid() || !OffsetTy.isValid())
 1107     if (!DstTy.isValid() || !PtrTy.isValid() || !OffsetTy.isValid())
 1107     if (!DstTy.isValid() || !PtrTy.isValid() || !OffsetTy.isValid())
 1133     if (!DstTy.isValid() || !SrcTy.isValid())
 1133     if (!DstTy.isValid() || !SrcTy.isValid())
 1162     if (!SelTy.isValid() || !CondTy.isValid())
 1162     if (!SelTy.isValid() || !CondTy.isValid())
 1546     if (SrcTy.isValid() && DstTy.isValid()) {
 1546     if (SrcTy.isValid() && DstTy.isValid()) {
 1553     if (SrcTy.isValid() || DstTy.isValid()) {
 1553     if (SrcTy.isValid() || DstTy.isValid()) {
 1725         if (!Ty.isValid()) {
 1742         if (RegBank && Ty.isValid() &&
lib/CodeGen/TargetRegisterInfo.cpp
  162       assert((RegInfo.def_empty(Reg) || RegInfo.getType(Reg).isValid()) &&
  482     unsigned RegSize = Ty.isValid() ? Ty.getSizeInBits() : 0;
lib/Support/LowLevelType.cpp
   41   else if (isValid()) {
lib/Target/AArch64/AArch64InstructionSelector.cpp
  407   if (!Ty.isValid()) {
 1260   if (!DefDstTy.isValid())
 1342         if (!DefTy.isValid()) {
lib/Target/AArch64/AArch64RegisterBankInfo.cpp
  570          !MRI.getType(DstReg).isValid()) ||
  572          !MRI.getType(SrcReg).isValid())) {
lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
   87     return Ty.isValid() && Ty.getSizeInBits() == 1;
  105            Ty.isValid() && Ty.getSizeInBits() == 1;
  192     if (!DefTy.isValid()) {
unittests/CodeGen/LowLevelTypeTest.cpp
   28     ASSERT_TRUE(Ty.isValid());
   67       ASSERT_TRUE(VTy.isValid());
  176       ASSERT_TRUE(Ty.isValid());
  182       ASSERT_TRUE(VTy.isValid());
  212   ASSERT_FALSE(Ty.isValid());
utils/TableGen/GlobalISelEmitter.cpp
  157     if (Ty.isValid() != Other.Ty.isValid())
  157     if (Ty.isValid() != Other.Ty.isValid())
  158       return Ty.isValid() < Other.Ty.isValid();
  158       return Ty.isValid() < Other.Ty.isValid();
  159     if (!Ty.isValid())
 4978       if (!R->getFirstConditionAsRootType().get().isValid())