| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMRegisterBankInfo.cpp | 339 LLT Ty2 = MRI.getType(MI.getOperand(1).getReg()); in getInstrMapping() local 340 (void)Ty2; in getInstrMapping() 342 assert(Ty2.getSizeInBits() == 1 && "Unsupported size for G_SELECT"); in getInstrMapping() 351 LLT Ty2 = MRI.getType(MI.getOperand(2).getReg()); in getInstrMapping() local 352 (void)Ty2; in getInstrMapping() 353 assert(Ty2.getSizeInBits() == 32 && "Unsupported size for G_ICMP"); in getInstrMapping() 364 LLT Ty2 = MRI.getType(MI.getOperand(3).getReg()); in getInstrMapping() local 365 (void)Ty2; in getInstrMapping() 367 assert(Ty1.getSizeInBits() == Ty2.getSizeInBits() && in getInstrMapping() 385 LLT Ty2 = MRI.getType(MI.getOperand(2).getReg()); in getInstrMapping() local [all …]
|
| H A D | ARMISelLowering.h | 487 bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const override;
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
| H A D | SPIRVUtils.h | 368 inline bool isUntypedEquivalentToTyExt(Type *Ty1, Type *Ty2) { in isUntypedEquivalentToTyExt() argument 369 if (!isUntypedPointerTy(Ty1) || !Ty2) in isUntypedEquivalentToTyExt() 371 if (auto *ExtTy = dyn_cast<TargetExtType>(Ty2)) in isUntypedEquivalentToTyExt() 380 inline bool isEquivalentTypes(Type *Ty1, Type *Ty2) { in isEquivalentTypes() argument 381 return isUntypedEquivalentToTyExt(Ty1, Ty2) || in isEquivalentTypes() 382 isUntypedEquivalentToTyExt(Ty2, Ty1); in isEquivalentTypes()
|
| H A D | SPIRVISelLowering.cpp | 29 static bool typesLogicallyMatch(const SPIRVType *Ty1, const SPIRVType *Ty2, in typesLogicallyMatch() argument 31 if (Ty1->getOpcode() != Ty2->getOpcode()) in typesLogicallyMatch() 34 if (Ty1->getNumOperands() != Ty2->getNumOperands()) in typesLogicallyMatch() 39 if (Ty1->getOperand(2).getReg() != Ty2->getOperand(2).getReg()) in typesLogicallyMatch() 43 SPIRVType *ElemType2 = GR.getSPIRVTypeForVReg(Ty2->getOperand(1).getReg()); in typesLogicallyMatch() 53 GR.getSPIRVTypeForVReg(Ty2->getOperand(I).getReg()); in typesLogicallyMatch()
|
| H A D | SPIRVLegalizerInfo.cpp | 141 const LLT Ty1 = Query.Types[0], Ty2 = Query.Types[1]; in SPIRVLegalizerInfo() local 142 return IsExtendedInts && Ty1.isValid() && Ty2.isValid() && in SPIRVLegalizerInfo() 143 !Ty1.isPointerOrPointerVector() && !Ty2.isPointerOrPointerVector(); in SPIRVLegalizerInfo()
|
| H A D | SPIRVGlobalRegistry.cpp | 1190 const Type *Ty2 = CU.first; in getOrCreateSPIRVType() local 1192 if ((Reg = find(Ty2, PtrNeedsLayout, MF)).isValid()) in getOrCreateSPIRVType() 1195 STy2 = restOfCreateSPIRVType(Ty2, MIRBuilder, AccessQual, PtrNeedsLayout, in getOrCreateSPIRVType() 1197 if (Ty == Ty2) in getOrCreateSPIRVType()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86RegisterBankInfo.cpp | |
| H A D | X86ISelLowering.h | 1438 bool isTruncateFree(Type *Ty1, Type *Ty2) const override; 1441 bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const override; 1451 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BPFISelLowering.h | 152 bool isTruncateFree(Type *Ty1, Type *Ty2) const override; 156 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
|
| H A D | BPFISelLowering.cpp | 205 bool BPFTargetLowering::isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree() 206 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) in isTruncateFree() 209 unsigned NumBits2 = Ty2->getPrimitiveSizeInBits(); in isTruncateFree() 221 bool BPFTargetLowering::isZExtFree(Type *Ty1, Type *Ty2) const { in isZExtFree() 222 if (!getHasAlu32() || !Ty1->isIntegerTy() || !Ty2->isIntegerTy()) in isZExtFree() 225 unsigned NumBits2 = Ty2->getPrimitiveSizeInBits(); in isZExtFree()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/ |
| H A D | MSP430ISelLowering.h | 62 bool isTruncateFree(Type *Ty1, Type *Ty2) const override; 73 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
|
| H A D | MSP430ISelLowering.cpp | 1241 Type *Ty2) const { in isTruncateFree() 1242 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) in isTruncateFree() 1246 Ty2->getPrimitiveSizeInBits().getFixedValue()); in isTruncateFree() 1256 bool MSP430TargetLowering::isZExtFree(Type *Ty1, Type *Ty2) const { in isZExtFree() 1258 return false && Ty1->isIntegerTy(8) && Ty2->isIntegerTy(16); in isZExtFree()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | AliasAnalysisEvaluator.cpp | 40 Type *Ty1 = Loc1.second, *Ty2 = Loc2.second; in PrintResults() local 52 std::swap(Ty1, Ty2); in PrintResults() 62 Ty2->print(errs(), false, /* NoDetails */ true); in PrintResults()
|
| H A D | TargetTransformInfo.cpp | 576 bool TargetTransformInfo::isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree() 577 return TTIImpl->isTruncateFree(Ty1, Ty2); in isTruncateFree()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/GISel/ |
| H A D | X86RegisterBankInfo.cpp | 330 LLT Ty2 = MRI.getType(MI.getOperand(3).getReg()); in getInstrMapping() local 331 (void)Ty2; in getInstrMapping() 332 assert(Ty1.getSizeInBits() == Ty2.getSizeInBits() && in getInstrMapping()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | TrailingObjects.h | 94 template <typename Ty1, typename Ty2> struct ExtractSecondType { 95 typedef Ty2 type;
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCTargetTransformInfo.h | 106 Type *Ty2) const;
|
| H A D | PPCTargetTransformInfo.cpp | 555 Type *Ty2) const { in vectorCostAdjustmentFactor() 576 if (Ty2) { in vectorCostAdjustmentFactor() 577 std::pair<InstructionCost, MVT> LT2 = getTypeLegalizationCost(Ty2); in vectorCostAdjustmentFactor()
|
| H A D | PPCISelLowering.h | 1048 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonISelLowering.h | 149 bool isTruncateFree(Type *Ty1, Type *Ty2) const override; 158 bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const override;
|
| H A D | HexagonISelLowering.cpp | 2181 bool HexagonTargetLowering::isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree() 2182 return isTruncateFree(EVT::getEVT(Ty1), EVT::getEVT(Ty2)); in isTruncateFree() 3111 HexagonTargetLowering::allowTruncateForTailCall(Type *Ty1, Type *Ty2) const { in allowTruncateForTailCall() 3114 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) in allowTruncateForTailCall()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ISelLowering.h | 198 bool isTruncateFree(Type *Ty1, Type *Ty2) const override; 203 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfo.h | 908 LLVM_ABI bool isTruncateFree(Type *Ty1, Type *Ty2) const;
|
| H A D | TargetTransformInfoImpl.h | 414 virtual bool isTruncateFree(Type *Ty1, Type *Ty2) const { return false; } in isTruncateFree() argument
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | BasicTTIImpl.h | 522 bool isTruncateFree(Type *Ty1, Type *Ty2) const override { in isTruncateFree() argument 523 return getTLI()->isTruncateFree(Ty1, Ty2); in isTruncateFree()
|