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

References

include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h
  557         if (!Ty.isPointer() || Ty.getSizeInBits() != SizeInBits)
include/llvm/Support/LowLevelTypeImpl.h
   68     return LLT{ScalarTy.isPointer(), /*isVector=*/true, NumElements,
   70                ScalarTy.isPointer() ? ScalarTy.getAddressSpace() : 0};
  109     if (isPointer() || isScalar())
  134     assert(!getScalarType().isPointer() &&
lib/CodeGen/GlobalISel/GISelKnownBits.cpp
  352     unsigned SrcBitWidth = SrcTy.isPointer()
lib/CodeGen/GlobalISel/LegalityPredicates.cpp
   71     return Query.Types[TypeIdx].isPointer();
   79     return Ty.isPointer() && Ty.getAddressSpace() == AddrSpace;
lib/CodeGen/GlobalISel/LegalizerHelper.cpp
  405     if (OpLLT.isPointer())
 1198     else if (DstTy.isPointer())
 1330     if (SrcTy.isPointer()) {
 1342     if (DstTy.isPointer())
lib/CodeGen/GlobalISel/LegalizerInfo.cpp
  304         if (Type.isPointer())
  383   if (Aspect.Type.isScalar() || Aspect.Type.isPointer())
  620   assert(Aspect.Type.isScalar() || Aspect.Type.isPointer());
  624   if (Aspect.Type.isPointer() &&
  630       Aspect.Type.isPointer()
lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
  174   assert(Res.getLLTTy(*getMRI()).isPointer() && "expected ptr dst type");
  184   assert(Res.getLLTTy(*getMRI()).isPointer() && "invalid operand type");
  193   assert(Res.getLLTTy(*getMRI()).isPointer() && "invalid operand type");
  225   assert(Res.getLLTTy(*getMRI()).isPointer() &&
  251   assert(Res.getLLTTy(*getMRI()).isPointer() &&
  266   assert(getMRI()->getType(Tgt).isPointer() && "invalid branch destination");
  273   assert(getMRI()->getType(TablePtr).isPointer() &&
  323   assert(!Ty.isPointer() && "invalid operand type");
  379   assert(Addr.getLLTTy(*getMRI()).isPointer() && "invalid operand type");
  392   assert(Addr.getLLTTy(*getMRI()).isPointer() && "invalid operand type");
  498   if (SrcTy.isPointer() && DstTy.isScalar())
  500   else if (DstTy.isPointer() && SrcTy.isScalar())
  503     assert(!SrcTy.isPointer() && !DstTy.isPointer() && "n G_ADDRCAST yet");
  503     assert(!SrcTy.isPointer() && !DstTy.isPointer() && "n G_ADDRCAST yet");
  754   assert(AddrTy.isPointer() && "invalid operand type");
  780   assert(AddrTy.isPointer() && "invalid operand type");
  805   assert(AddrTy.isPointer() && "invalid operand type");
  912   assert(getMRI()->getType(Res).isPointer() && "invalid res type");
  940   assert((ResTy.isScalar() || ResTy.isVector() || ResTy.isPointer()) &&
  943   if (ResTy.isScalar() || ResTy.isPointer())
 1039       if (Op0Ty.isScalar() || Op0Ty.isPointer())
 1087             DstOps[0].getLLTTy(*getMRI()).isPointer()) &&
lib/CodeGen/MachineVerifier.cpp
 1013     if (!PtrTy.isPointer())
 1061     if (SrcTy.isPointer() != DstTy.isPointer())
 1061     if (SrcTy.isPointer() != DstTy.isPointer())
 1082       if (!DstTy.isPointer())
 1084       if (SrcTy.isPointer())
 1087       if (!SrcTy.isPointer())
 1089       if (DstTy.isPointer())
 1093       if (!SrcTy.isPointer() || !DstTy.isPointer())
 1093       if (!SrcTy.isPointer() || !DstTy.isPointer())
 1110     if (!PtrTy.getScalarType().isPointer())
 1113     if (OffsetTy.getScalarType().isPointer())
 1138     if (DstElTy.isPointer() || SrcElTy.isPointer())
 1138     if (DstElTy.isPointer() || SrcElTy.isPointer())
 1329     if (!DstTy.isPointer())
 1334     if (!MRI->getType(MI->getOperand(0).getReg()).isPointer())
 1341     if (!IdxOp.isReg() || MRI->getType(IdxOp.getReg()).isPointer())
 1459     if (!DstOp.isReg() || !MRI->getType(DstOp.getReg()).isPointer()) {
lib/Support/LowLevelType.cpp
   39   else if (isPointer())
lib/Target/AArch64/AArch64InstructionSelector.cpp
 1750     assert(MRI.getType(PtrReg).isPointer() &&
 3240   assert((CmpTy.isScalar() || CmpTy.isPointer()) &&
 3245   } else if (CmpTy == LLT::scalar(64) || CmpTy.isPointer()) {
lib/Target/AArch64/AArch64LegalizerInfo.cpp
  243     return EltTy.isPointer() && EltTy.getAddressSpace() == 0;
  326             return Ty.isVector() && !SrcTy.getElementType().isPointer() &&
  700   if (!ValTy.isVector() || !ValTy.getElementType().isPointer() ||
lib/Target/ARM/ARMInstructionSelector.cpp
  960     if (!MRI.getType(I.getOperand(0).getReg()).isPointer()) {
lib/Target/Mips/MipsRegisterBankInfo.cpp
  173   assert(!MRI.getType(Reg).isPointer() &&
  188   assert(!MRI.getType(Reg).isPointer() &&
  475     if (!Op0Ty.isPointer())
  489     if (!Op0Ty.isPointer())
  503     if (!Op0Ty.isPointer())
  521     if (!Op0Ty.isPointer())
  642     assert(MRI.getType(Dest).isPointer() && "Unexpected operand type.");
lib/Target/X86/X86InstructionSelector.cpp
  476   assert(MRI.getType(I.getOperand(0).getReg()).isPointer() &&
lib/Target/X86/X86RegisterBankInfo.cpp
   66   if ((Ty.isScalar() && !isFP) || Ty.isPointer()) {
unittests/CodeGen/LowLevelTypeTest.cpp
   31     ASSERT_FALSE(Ty.isPointer());
   71       ASSERT_FALSE(VTy.isPointer());
  177       ASSERT_TRUE(Ty.isPointer());
  184       ASSERT_TRUE(VTy.getElementType().isPointer());
  214   ASSERT_FALSE(Ty.isPointer());
utils/TableGen/GlobalISelEmitter.cpp
  124     if (Ty.isPointer()) {
  143     if (Ty.isPointer() && Ty.getSizeInBits() > 0) {
  166     if (Ty.isPointer() != Other.Ty.isPointer())
  166     if (Ty.isPointer() != Other.Ty.isPointer())
  167       return Ty.isPointer() < Other.Ty.isPointer();
  167       return Ty.isPointer() < Other.Ty.isPointer();
  169     if (Ty.isPointer() && Ty.getAddressSpace() != Other.Ty.getAddressSpace())