Home
last modified time | relevance | path

Searched refs:Ty1 (Results 1 – 25 of 36) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86RegisterBankInfo.cpp
H A DX86ISelLowering.h1351 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 DX86RegisterBankInfo.cpp332 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 DSPIRVUtils.h191 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 DARMRegisterBankInfo.cpp400 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 DARMISelLowering.h471 bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const override;
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFISelLowering.h148 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
152 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
H A DBPFISelLowering.cpp197 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 DMSP430ISelLowering.h116 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
127 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
H A DMSP430ISelLowering.cpp1386 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 DAliasAnalysisEvaluator.cpp40 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 DTargetTransformInfo.cpp559 bool TargetTransformInfo::isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree() argument
560 return TTIImpl->isTruncateFree(Ty1, Ty2); in isTruncateFree()
H A DConstantFolding.cpp3420 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 DLoopVectorizationLegality.cpp406 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 DHexagonISelLowering.h149 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 DHexagonISelLoweringHVX.cpp2327 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 DHexagonISelLowering.cpp2159 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 DPPCTargetTransformInfo.cpp554 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 DPPCTargetTransformInfo.h103 InstructionCost vectorCostAdjustmentFactor(unsigned Opcode, Type *Ty1,
H A DPPCISelLowering.h1031 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DTrailingObjects.h94 template <typename Ty1, typename Ty2> struct ExtractSecondType {
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp647 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 DTargetTransformInfo.h864 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 DAArch64ISelLowering.h680 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 DMachineVerifier.cpp245 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()

12