Searched refs:Ty1 (Results 1 - 25 of 30) sorted by relevance

12

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86RegisterBankInfo.cpp216 const LLT Ty1 = MRI.getType(Op1.getReg()); local
221 OpRegBankIdx[1] = getPartialMappingIdx(Ty1, /* isFP */ SecondArgIsFP);
225 LLT Ty1 = MRI.getType(MI.getOperand(2).getReg()); local
228 assert(Ty1.getSizeInBits() == Ty2.getSizeInBits() &&
231 unsigned Size = Ty1.getSizeInBits();
235 auto FpRegBank = getPartialMappingIdx(Ty1, /* isFP */ true);
245 const LLT Ty1 = MRI.getType(Op1.getReg()); local
248 Ty1.getSizeInBits() == 128 && Opc == TargetOpcode::G_TRUNC;
251 (Ty1.getSizeInBits() == 32 || Ty1
[all...]
H A DX86ISelLowering.h1059 /// type Ty1 to type Ty2. e.g. On x86 it's free to truncate a i32 value in
1061 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
1064 bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const override;
1067 /// value of type Ty1 implicit zero-extends the value to Ty2 in the result
1070 /// virtual registers. Also, if isTruncateFree(Ty2, Ty1) is true, this
1074 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMRegisterBankInfo.cpp400 LLT Ty1 = MRI.getType(MI.getOperand(2).getReg()); local
404 assert(Ty1.getSizeInBits() == Ty2.getSizeInBits() &&
407 unsigned Size = Ty1.getSizeInBits();
421 LLT Ty1 = MRI.getType(MI.getOperand(1).getReg()); local
423 if (Ty.getSizeInBits() != 64 || Ty1.getSizeInBits() != 32 ||
436 LLT Ty1 = MRI.getType(MI.getOperand(1).getReg()); local
438 if (Ty.getSizeInBits() != 32 || Ty1.getSizeInBits() != 32 ||
H A DARMISelLowering.h364 bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const override;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64LegalizerInfo.cpp189 const LLT &Ty1 = Query.Types[1];
192 return isPowerOf2_32(Ty1.getSizeInBits()) &&
193 (Ty1.getSizeInBits() == 1 || Ty1.getSizeInBits() >= 8);
207 const LLT &Ty1 = Query.Types[1];
208 if (Ty1 != s32 && Ty1 != s64 && Ty1 != s128)
210 if (Ty1 == p0)
H A DAArch64ISelLowering.h397 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
402 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.h110 /// Ty1 to type Ty2. e.g. On msp430 it's free to truncate a i16 value in
112 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
116 /// of type Ty1 implicit zero-extends the value to Ty2 in the result
119 /// registers. Also, if isTruncateFree(Ty2, Ty1) is true, this does not
123 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
H A DMSP430ISelLowering.cpp1392 bool MSP430TargetLowering::isTruncateFree(Type *Ty1, argument
1394 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy())
1397 return (Ty1->getPrimitiveSizeInBits() > Ty2->getPrimitiveSizeInBits());
1407 bool MSP430TargetLowering::isZExtFree(Type *Ty1, Type *Ty2) const { argument
1409 return 0 && Ty1->isIntegerTy(8) && Ty2->isIntegerTy(16);
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSValBuilder.h97 bool haveSameType(QualType Ty1, QualType Ty2) { argument
100 return (Context.getCanonicalType(Ty1) == Context.getCanonicalType(Ty2) ||
101 (Ty1->isIntegralOrEnumerationType() &&
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURewriteOutArguments.cpp109 bool isVec3ToVec4Shuffle(Type *Ty0, Type* Ty1) const;
210 bool AMDGPURewriteOutArguments::isVec3ToVec4Shuffle(Type *Ty0, Type* Ty1) const {
212 VectorType *VT1 = dyn_cast<VectorType>(Ty1);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.h88 int vectorCostAdjustment(int Cost, unsigned Opcode, Type *Ty1, Type *Ty2);
H A DPPCTargetTransformInfo.cpp709 int PPCTTIImpl::vectorCostAdjustment(int Cost, unsigned Opcode, Type *Ty1, argument
711 if (!ST->vectorsUseTwoUnits() || !Ty1->isVectorTy())
714 std::pair<int, MVT> LT1 = TLI->getTypeLegalizationCost(DL, Ty1);
H A DPPCISelLowering.h855 /// type Ty1 to type Ty2. e.g. On PPC it's free to truncate a i64 value in
857 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorizationLegality.cpp381 static Type *getWiderType(const DataLayout &DL, Type *Ty0, Type *Ty1) { argument
383 Ty1 = convertPointerToIntegerType(DL, Ty1);
384 if (Ty0->getScalarSizeInBits() > Ty1->getScalarSizeInBits())
386 return Ty1;
H A DSLPVectorizer.cpp422 Type *Ty1 = cast<Instruction>(VL[Cnt])->getOperand(0)->getType(); local
423 if (Ty0 == Ty1) {
2892 Type *Ty1 = VL0->getOperand(1)->getType();
2896 (Op->getType() != Ty1 &&
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.h125 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
134 bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const override;
H A DHexagonISelLowering.cpp1898 bool HexagonTargetLowering::isTruncateFree(Type *Ty1, Type *Ty2) const { argument
1899 return isTruncateFree(EVT::getEVT(Ty1), EVT::getEVT(Ty2));
2676 HexagonTargetLowering::allowTruncateForTailCall(Type *Ty1, Type *Ty2) const { argument
2679 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy())
2685 return Ty1->getPrimitiveSizeInBits() <= 32;
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DTrailingObjects.h111 template <typename Ty1, typename Ty2> struct ExtractSecondType {
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h642 /// Return true if it's free to truncate a value of type Ty1 to type
645 bool isTruncateFree(Type *Ty1, Type *Ty2) const;
1251 virtual bool isTruncateFree(Type *Ty1, Type *Ty2) = 0;
1570 bool isTruncateFree(Type *Ty1, Type *Ty2) override {
1571 return Impl.isTruncateFree(Ty1, Ty2);
H A DTargetTransformInfoImpl.h304 bool isTruncateFree(Type *Ty1, Type *Ty2) { return false; } argument
H A DScalarEvolution.h496 // Returns a wider type among {Ty1, Ty2}.
497 Type *getWiderType(Type *Ty1, Type *Ty2) const;
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp551 static unsigned getElSizeLog2Diff(Type *Ty0, Type *Ty1) { argument
553 unsigned Bits1 = Ty1->getScalarSizeInBits();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp364 bool TargetTransformInfo::isTruncateFree(Type *Ty1, Type *Ty2) const { argument
365 return TTIImpl->isTruncateFree(Ty1, Ty2);
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h274 bool isTruncateFree(Type *Ty1, Type *Ty2) { argument
275 return getTLI()->isTruncateFree(Ty1, Ty2);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineVerifier.cpp235 bool verifyVectorElementMatch(LLT Ty0, LLT Ty1, const MachineInstr *MI);
896 bool MachineVerifier::verifyVectorElementMatch(LLT Ty0, LLT Ty1, argument
898 if (Ty0.isVector() != Ty1.isVector()) {
908 if (Ty0.isVector() && Ty0.getNumElements() != Ty1.getNumElements()) {

Completed in 314 milliseconds

12