/external/llvm/lib/Target/MSP430/ |
H A D | MSP430ISelLowering.h | 107 /// Ty1 to type Ty2. e.g. On msp430 it's free to truncate a i16 value in 109 bool isTruncateFree(Type *Ty1, Type *Ty2) const override; 113 /// of type Ty1 implicit zero-extends the value to Ty2 in the result 116 /// registers. Also, if isTruncateFree(Ty2, Ty1) is true, this does not 120 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
|
H A D | MSP430ISelLowering.cpp | 1159 bool MSP430TargetLowering::isTruncateFree(Type *Ty1, argument 1161 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) 1164 return (Ty1->getPrimitiveSizeInBits() > Ty2->getPrimitiveSizeInBits()); 1174 bool MSP430TargetLowering::isZExtFree(Type *Ty1, Type *Ty2) const { argument 1176 return 0 && Ty1->isIntegerTy(8) && Ty2->isIntegerTy(16);
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | SValBuilder.h | 77 bool haveSameType(QualType Ty1, QualType Ty2) { argument 80 return (Context.getCanonicalType(Ty1) == Context.getCanonicalType(Ty2) || 81 (Ty1->isIntegralOrEnumerationType() &&
|
/external/llvm/lib/Target/Hexagon/ |
H A D | HexagonISelLowering.h | 114 bool isTruncateFree(Type *Ty1, Type *Ty2) const override; 117 bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const override;
|
H A D | HexagonISelLowering.cpp | 2060 bool HexagonTargetLowering::isTruncateFree(Type *Ty1, Type *Ty2) const { argument 2061 EVT MTy1 = EVT::getEVT(Ty1); 2532 HexagonTargetLowering::allowTruncateForTailCall(Type *Ty1, Type *Ty2) const { argument 2535 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) 2541 return Ty1->getPrimitiveSizeInBits() <= 32;
|
/external/llvm/lib/Analysis/ |
H A D | TargetTransformInfo.cpp | 143 bool TargetTransformInfo::isTruncateFree(Type *Ty1, Type *Ty2) const { argument 144 return TTIImpl->isTruncateFree(Ty1, Ty2);
|
/external/llvm/lib/Transforms/Vectorize/ |
H A D | BBVectorize.cpp | 1952 Type *Ty1 = Q.second.first->getType(), local 1954 Type *VTy = getVecTypeForPair(Ty1, Ty2); 1984 Type *Ty1 = S->first->getType(), local 1986 Type *VTy = getVecTypeForPair(Ty1, Ty2); 2005 if (Ty1->isVectorTy()) { 2007 Ty1, VTy); 2009 TargetTransformInfo::SK_ExtractSubvector, VTy, 0, Ty1)); 2041 Ty1->isVectorTy() ? Ty1->getVectorNumElements() : 1, Ty2)); 2073 Type *Ty1 local [all...] |
H A D | LoopVectorize.cpp | 4182 static Type* getWiderType(const DataLayout &DL, Type *Ty0, Type *Ty1) { argument 4184 Ty1 = convertPointerToIntegerType(DL, Ty1); 4185 if (Ty0->getScalarSizeInBits() > Ty1->getScalarSizeInBits()) 4187 return Ty1;
|
/external/llvm/include/llvm/Analysis/ |
H A D | TargetTransformInfo.h | 337 /// \brief Return true if it's free to truncate a value of type Ty1 to type 340 bool isTruncateFree(Type *Ty1, Type *Ty2) const; 580 virtual bool isTruncateFree(Type *Ty1, Type *Ty2) = 0; 717 bool isTruncateFree(Type *Ty1, Type *Ty2) override { 718 return Impl.isTruncateFree(Ty1, Ty2);
|
H A D | TargetTransformInfoImpl.h | 230 bool isTruncateFree(Type *Ty1, Type *Ty2) { return false; } argument
|
/external/llvm/include/llvm/Support/ |
H A D | TrailingObjects.h | 119 template <typename Ty1, typename Ty2> struct ExtractSecondType {
|
/external/llvm/lib/Target/AArch64/ |
H A D | AArch64ISelLowering.h | 285 bool isTruncateFree(Type *Ty1, Type *Ty2) const override; 290 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
|
H A D | AArch64ISelLowering.cpp | 6844 bool AArch64TargetLowering::isTruncateFree(Type *Ty1, Type *Ty2) const { argument 6845 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) 6847 unsigned NumBits1 = Ty1->getPrimitiveSizeInBits(); 6890 bool AArch64TargetLowering::isZExtFree(Type *Ty1, Type *Ty2) const { argument 6891 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) 6893 unsigned NumBits1 = Ty1->getPrimitiveSizeInBits();
|
/external/llvm/unittests/IR/ |
H A D | IRBuilderTest.cpp | 121 IntegerType *Ty1 = Builder.getInt1Ty(); local 122 EXPECT_EQ(Ty1, IntegerType::get(Ctx, 1));
|
/external/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.h | 809 /// type Ty1 to type Ty2. e.g. On x86 it's free to truncate a i32 value in 811 bool isTruncateFree(Type *Ty1, Type *Ty2) const override; 814 bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const override; 817 /// value of type Ty1 implicit zero-extends the value to Ty2 in the result 820 /// virtual registers. Also, if isTruncateFree(Ty2, Ty1) is true, this 824 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
|
H A D | X86ISelLowering.cpp | 20719 bool X86TargetLowering::isTruncateFree(Type *Ty1, Type *Ty2) const { 20720 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) 20722 unsigned NumBits1 = Ty1->getPrimitiveSizeInBits(); 20727 bool X86TargetLowering::allowTruncateForTailCall(Type *Ty1, Type *Ty2) const { 20728 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) 20731 if (!isTypeLegal(EVT::getEVT(Ty1))) 20734 assert(Ty1->getPrimitiveSizeInBits() <= 64 && "i128 is probably not a noop"); 20758 bool X86TargetLowering::isZExtFree(Type *Ty1, Type *Ty2) const { 20760 return Ty1->isIntegerTy(32) && Ty2->isIntegerTy(64) && Subtarget->is64Bit(); [all...] |
/external/llvm/include/llvm/CodeGen/ |
H A D | BasicTTIImpl.h | 142 bool isTruncateFree(Type *Ty1, Type *Ty2) { argument 143 return getTLI()->isTruncateFree(Ty1, Ty2);
|
/external/llvm/lib/Target/ARM/ |
H A D | ARMISelLowering.h | 284 bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const override;
|
H A D | ARMISelLowering.cpp | 10752 bool ARMTargetLowering::allowTruncateForTailCall(Type *Ty1, Type *Ty2) const { argument 10753 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) 10756 if (!isTypeLegal(EVT::getEVT(Ty1))) 10759 assert(Ty1->getPrimitiveSizeInBits() <= 64 && "i128 is probably not a noop");
|
/external/llvm/lib/Target/PowerPC/ |
H A D | PPCISelLowering.h | 590 /// type Ty1 to type Ty2. e.g. On PPC it's free to truncate a i64 value in 592 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
|
H A D | PPCISelLowering.cpp | 11442 bool PPCTargetLowering::isTruncateFree(Type *Ty1, Type *Ty2) const { argument 11443 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) 11445 unsigned NumBits1 = Ty1->getPrimitiveSizeInBits();
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAG.cpp | 1906 Type *Ty1 = VT1.getTypeForEVT(*getContext()); local 1910 std::max(DL.getPrefTypeAlignment(Ty1), DL.getPrefTypeAlignment(Ty2));
|