Searched refs:Ty2 (Results 1 - 25 of 26) sorted by relevance

12

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMRegisterBankInfo.cpp378 LLT Ty2 = MRI.getType(MI.getOperand(1).getReg()); local
379 (void)Ty2;
381 assert(Ty2.getSizeInBits() == 1 && "Unsupported size for G_SELECT");
390 LLT Ty2 = MRI.getType(MI.getOperand(2).getReg()); local
391 (void)Ty2;
392 assert(Ty2.getSizeInBits() == 32 && "Unsupported size for G_ICMP");
403 LLT Ty2 = MRI.getType(MI.getOperand(3).getReg()); local
404 (void)Ty2;
406 assert(Ty1.getSizeInBits() == Ty2.getSizeInBits() &&
424 LLT Ty2 local
439 LLT Ty2 = MRI.getType(MI.getOperand(2).getReg()); local
[all...]
H A DARMISelLowering.h403 bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const override;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFISelLowering.h126 // type Ty1 to type Ty2. e.g. On BPF at alu32 mode, it's free to truncate
128 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
132 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
H A DBPFISelLowering.cpp174 bool BPFTargetLowering::isTruncateFree(Type *Ty1, Type *Ty2) const {
175 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy())
178 unsigned NumBits2 = Ty2->getPrimitiveSizeInBits();
190 bool BPFTargetLowering::isZExtFree(Type *Ty1, Type *Ty2) const {
191 if (!getHasAlu32() || !Ty1->isIntegerTy() || !Ty2->isIntegerTy())
194 unsigned NumBits2 = Ty2->getPrimitiveSizeInBits();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86RegisterBankInfo.cpp226 LLT Ty2 = MRI.getType(MI.getOperand(3).getReg()); local
227 (void)Ty2;
228 assert(Ty1.getSizeInBits() == Ty2.getSizeInBits() &&
H A DX86ISelLowering.h1170 /// type Ty1 to type Ty2. e.g. On x86 it's free to truncate a i32 value in
1172 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
1175 bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const override;
1178 /// value of type Ty1 implicit zero-extends the value to Ty2 in the result
1181 /// virtual registers. Also, if isTruncateFree(Ty2, Ty1) is true, this
1185 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
H A DX86ISelLowering.cpp[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.h114 /// Ty1 to type Ty2. e.g. On msp430 it's free to truncate a i16 value in
116 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
120 /// of type Ty1 implicit zero-extends the value to Ty2 in the result
123 /// registers. Also, if isTruncateFree(Ty2, Ty1) is true, this does not
127 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
H A DMSP430ISelLowering.cpp1391 Type *Ty2) const {
1392 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy())
1395 return (Ty1->getPrimitiveSizeInBits() > Ty2->getPrimitiveSizeInBits());
1405 bool MSP430TargetLowering::isZExtFree(Type *Ty1, Type *Ty2) const {
1407 return 0 && Ty1->isIntegerTy(8) && Ty2->isIntegerTy(16);
/freebsd-13-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) ||
102 Ty2->isIntegralOrEnumerationType()));
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.h94 int vectorCostAdjustment(int Cost, unsigned Opcode, Type *Ty1, Type *Ty2);
H A DPPCTargetTransformInfo.cpp732 Type *Ty2) {
746 if (Ty2) {
747 std::pair<int, MVT> LT2 = TLI->getTypeLegalizationCost(DL, Ty2);
731 vectorCostAdjustment(int Cost, unsigned Opcode, Type *Ty1, Type *Ty2) argument
H A DPPCISelLowering.h880 /// type Ty1 to type Ty2. e.g. On PPC it's free to truncate a i64 value in
882 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
H A DPPCISelLowering.cpp16296 bool PPCTargetLowering::isTruncateFree(Type *Ty1, Type *Ty2) const {
16297 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy())
16300 unsigned NumBits2 = Ty2->getPrimitiveSizeInBits();
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DTrailingObjects.h111 template <typename Ty1, typename Ty2> struct ExtractSecondType {
112 typedef Ty2 type;
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DTargetTransformInfo.h662 /// Ty2. e.g. On x86 it's free to truncate a i32 value in register EAX to i16
664 bool isTruncateFree(Type *Ty1, Type *Ty2) const;
1334 virtual bool isTruncateFree(Type *Ty1, Type *Ty2) = 0;
1660 bool isTruncateFree(Type *Ty1, Type *Ty2) override {
1661 return Impl.isTruncateFree(Ty1, Ty2);
H A DTargetTransformInfoImpl.h232 bool isTruncateFree(Type *Ty1, Type *Ty2) { return false; } argument
H A DScalarEvolution.h497 // Returns a wider type among {Ty1, Ty2}.
498 Type *getWiderType(Type *Ty1, Type *Ty2) const;
/freebsd-13-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.cpp2032 bool HexagonTargetLowering::isTruncateFree(Type *Ty1, Type *Ty2) const {
2033 return isTruncateFree(EVT::getEVT(Ty1), EVT::getEVT(Ty2));
2813 HexagonTargetLowering::allowTruncateForTailCall(Type *Ty1, Type *Ty2) const {
2816 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy())
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.h501 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
506 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
H A DAArch64ISelLowering.cpp9529 bool AArch64TargetLowering::isTruncateFree(Type *Ty1, Type *Ty2) const {
9530 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy())
9533 unsigned NumBits2 = Ty2->getPrimitiveSizeInBits();
9574 bool AArch64TargetLowering::isZExtFree(Type *Ty1, Type *Ty2) const {
9575 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy())
9578 unsigned NumBits2 = Ty2->getPrimitiveSizeInBits();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DTargetTransformInfo.cpp443 bool TargetTransformInfo::isTruncateFree(Type *Ty1, Type *Ty2) const {
444 return TTIImpl->isTruncateFree(Ty1, Ty2);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h282 bool isTruncateFree(Type *Ty1, Type *Ty2) { argument
283 return getTLI()->isTruncateFree(Ty1, Ty2);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp2040 Type *Ty2 = VT2.getTypeForEVT(*getContext());
2042 Align Align = std::max(DL.getPrefTypeAlign(Ty1), DL.getPrefTypeAlign(Ty2));

Completed in 316 milliseconds

12