/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86RegisterBankInfo.cpp |
|
H A D | X86ISelLowering.h | 1351 bool isTruncateFree(Type *Ty1, Type *Ty2) const override; 1354 bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const override; 1364 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/GISel/ |
H A D | X86RegisterBankInfo.cpp | 332 const LLT Ty1 = MRI.getType(Op1.getReg()); in getInstrMapping() local 337 OpRegBankIdx[1] = getPartialMappingIdx(MI, Ty1, /* isFP= */ SecondArgIsFP); in getInstrMapping() 341 LLT Ty1 = MRI.getType(MI.getOperand(2).getReg()); in getInstrMapping() local 344 assert(Ty1.getSizeInBits() == Ty2.getSizeInBits() && in getInstrMapping() 347 unsigned Size = Ty1.getSizeInBits(); in getInstrMapping() 351 auto FpRegBank = getPartialMappingIdx(MI, Ty1, /* isFP= */ true); in getInstrMapping() 361 const LLT Ty1 = MRI.getType(Op1.getReg()); in getInstrMapping() local 364 Ty1.getSizeInBits() == 128 && Opc == TargetOpcode::G_TRUNC; in getInstrMapping() 367 (Ty1.getSizeInBits() == 32 || Ty1.getSizeInBits() == 64) && in getInstrMapping()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVUtils.h | 191 inline bool isUntypedEquivalentToTyExt(Type *Ty1, Type *Ty2) { in isUntypedEquivalentToTyExt() argument 192 if (!isUntypedPointerTy(Ty1) || !Ty2) in isUntypedEquivalentToTyExt() 197 IntegerType::getInt8Ty(Ty1->getContext()) && in isUntypedEquivalentToTyExt() 198 ExtTy->getIntParameter(0) == cast<PointerType>(Ty1)->getAddressSpace()) in isUntypedEquivalentToTyExt() 203 inline bool isEquivalentTypes(Type *Ty1, Type *Ty2) { in isEquivalentTypes() argument 204 return isUntypedEquivalentToTyExt(Ty1, Ty2) || in isEquivalentTypes() 205 isUntypedEquivalentToTyExt(Ty2, Ty1); in isEquivalentTypes()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMRegisterBankInfo.cpp | 400 LLT Ty1 = MRI.getType(MI.getOperand(2).getReg()); in getInstrMapping() local 404 assert(Ty1.getSizeInBits() == Ty2.getSizeInBits() && in getInstrMapping() 407 unsigned Size = Ty1.getSizeInBits(); in getInstrMapping() 421 LLT Ty1 = MRI.getType(MI.getOperand(1).getReg()); in getInstrMapping() local 423 if (Ty.getSizeInBits() != 64 || Ty1.getSizeInBits() != 32 || in getInstrMapping() 436 LLT Ty1 = MRI.getType(MI.getOperand(1).getReg()); in getInstrMapping() local 438 if (Ty.getSizeInBits() != 32 || Ty1.getSizeInBits() != 32 || in getInstrMapping()
|
H A D | ARMISelLowering.h | 471 bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const override;
|
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BPFISelLowering.h | 148 bool isTruncateFree(Type *Ty1, Type *Ty2) const override; 152 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
|
H A D | BPFISelLowering.cpp | 197 bool BPFTargetLowering::isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree() argument 198 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) in isTruncateFree() 200 unsigned NumBits1 = Ty1->getPrimitiveSizeInBits(); in isTruncateFree() 213 bool BPFTargetLowering::isZExtFree(Type *Ty1, Type *Ty2) const { in isZExtFree() argument 214 if (!getHasAlu32() || !Ty1->isIntegerTy() || !Ty2->isIntegerTy()) in isZExtFree() 216 unsigned NumBits1 = Ty1->getPrimitiveSizeInBits(); in isZExtFree()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/ |
H A D | MSP430ISelLowering.h | 116 bool isTruncateFree(Type *Ty1, Type *Ty2) const override; 127 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
|
H A D | MSP430ISelLowering.cpp | 1386 bool MSP430TargetLowering::isTruncateFree(Type *Ty1, in isTruncateFree() argument 1388 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) in isTruncateFree() 1391 return (Ty1->getPrimitiveSizeInBits().getFixedValue() > in isTruncateFree() 1402 bool MSP430TargetLowering::isZExtFree(Type *Ty1, Type *Ty2) const { in isZExtFree() argument 1404 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() 58 Ty1->print(errs(), false, /* NoDetails */ true); in PrintResults()
|
H A D | TargetTransformInfo.cpp | 559 bool TargetTransformInfo::isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree() argument 560 return TTIImpl->isTruncateFree(Ty1, Ty2); in isTruncateFree()
|
H A D | ConstantFolding.cpp | 3420 Type *Ty1 = StTy->getContainedType(1)->getScalarType(); in ConstantFoldStructCall() local 3429 ConstantFoldScalarFrexpCall(Lane, Ty1); in ConstantFoldStructCall() 3438 auto [Result0, Result1] = ConstantFoldScalarFrexpCall(Operands[0], Ty1); in ConstantFoldStructCall()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | LoopVectorizationLegality.cpp | 406 static Type *getWiderType(const DataLayout &DL, Type *Ty0, Type *Ty1) { in getWiderType() argument 408 Ty1 = convertPointerToIntegerType(DL, Ty1); in getWiderType() 409 if (Ty0->getScalarSizeInBits() > Ty1->getScalarSizeInBits()) in getWiderType() 411 return Ty1; in getWiderType()
|
/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; 445 TypePair typeExtendToWider(MVT Ty0, MVT Ty1) const; 446 TypePair typeWidenToWider(MVT Ty0, MVT Ty1) const;
|
H A D | HexagonISelLoweringHVX.cpp | 2327 HexagonTargetLowering::typeExtendToWider(MVT Ty0, MVT Ty1) const { 2331 assert(Ty0.isVector() == Ty1.isVector()); in typeExtendToWider() 2334 MVT ElemTy1 = Ty1.getScalarType(); in typeExtendToWider() 2357 assert(NumElem == Ty1.getVectorNumElements()); in typeExtendToWider() 2364 HexagonTargetLowering::typeWidenToWider(MVT Ty0, MVT Ty1) const { 2367 assert(Ty0.isVector() && Ty1.isVector()); in typeWidenToWider() 2370 unsigned Len1 = Ty1.getVectorNumElements(); in typeWidenToWider() 2372 return {Ty0, Ty1}; in typeWidenToWider() 2376 MVT::getVectorVT(Ty1.getVectorElementType(), MaxLen)}; in typeWidenToWider()
|
H A D | HexagonISelLowering.cpp | 2159 bool HexagonTargetLowering::isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree() argument 2160 return isTruncateFree(EVT::getEVT(Ty1), EVT::getEVT(Ty2)); in isTruncateFree() 3089 HexagonTargetLowering::allowTruncateForTailCall(Type *Ty1, Type *Ty2) const { in allowTruncateForTailCall() argument 3092 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) in allowTruncateForTailCall() 3098 return Ty1->getPrimitiveSizeInBits() <= 32; in allowTruncateForTailCall()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCTargetTransformInfo.cpp | 554 Type *Ty1, Type *Ty2) { in vectorCostAdjustmentFactor() argument 559 if (isMMAType(Ty1)) in vectorCostAdjustmentFactor() 562 if (!ST->vectorsUseTwoUnits() || !Ty1->isVectorTy()) in vectorCostAdjustmentFactor() 565 std::pair<InstructionCost, MVT> LT1 = getTypeLegalizationCost(Ty1); in vectorCostAdjustmentFactor()
|
H A D | PPCTargetTransformInfo.h | 103 InstructionCost vectorCostAdjustmentFactor(unsigned Opcode, Type *Ty1,
|
H A D | PPCISelLowering.h | 1031 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | TrailingObjects.h | 94 template <typename Ty1, typename Ty2> struct ExtractSecondType {
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZTargetTransformInfo.cpp | 647 static unsigned getElSizeLog2Diff(Type *Ty0, Type *Ty1) { in getElSizeLog2Diff() argument 649 unsigned Bits1 = Ty1->getScalarSizeInBits(); in getElSizeLog2Diff()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | TargetTransformInfo.h | 864 bool isTruncateFree(Type *Ty1, Type *Ty2) const; 1931 virtual bool isTruncateFree(Type *Ty1, Type *Ty2) = 0; 2459 bool isTruncateFree(Type *Ty1, Type *Ty2) override { in isTruncateFree() argument 2460 return Impl.isTruncateFree(Ty1, Ty2); in isTruncateFree()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.h | 680 bool isTruncateFree(Type *Ty1, Type *Ty2) const override; 685 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | MachineVerifier.cpp | 245 bool verifyVectorElementMatch(LLT Ty0, LLT Ty1, const MachineInstr *MI); 994 bool MachineVerifier::verifyVectorElementMatch(LLT Ty0, LLT Ty1, in verifyVectorElementMatch() argument 996 if (Ty0.isVector() != Ty1.isVector()) { in verifyVectorElementMatch() 1006 if (Ty0.isVector() && Ty0.getElementCount() != Ty1.getElementCount()) { in verifyVectorElementMatch()
|