Home
last modified time | relevance | path

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

/external/llvm/test/Linker/
Dtestlink.ll3 ; CHECK: %Ty2 = type { %Ty1* }
4 ; CHECK: %Ty1 = type { %Ty2* }
5 %Ty1 = type opaque
6 %Ty2 = type { %Ty1* }
22 @GVTy1 = external global %Ty1*
/external/llvm/test/Linker/Inputs/
Dtestlink.ll4 %Ty1 = type { %Ty2* }
9 @GVTy1 = global %Ty1* null
/external/llvm/lib/Target/MSP430/
DMSP430ISelLowering.h108 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
119 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
DMSP430ISelLowering.cpp1159 bool MSP430TargetLowering::isTruncateFree(Type *Ty1, in isTruncateFree() argument
1161 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) in isTruncateFree()
1164 return (Ty1->getPrimitiveSizeInBits() > Ty2->getPrimitiveSizeInBits()); in isTruncateFree()
1174 bool MSP430TargetLowering::isZExtFree(Type *Ty1, Type *Ty2) const { in isZExtFree() argument
1176 return 0 && Ty1->isIntegerTy(8) && Ty2->isIntegerTy(16); in isZExtFree()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DSValBuilder.h77 bool haveSameType(QualType Ty1, QualType Ty2) { in haveSameType() argument
80 return (Context.getCanonicalType(Ty1) == Context.getCanonicalType(Ty2) || in haveSameType()
81 (Ty1->isIntegralOrEnumerationType() && in haveSameType()
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.h135 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
138 bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const override;
DHexagonISelLowering.cpp1856 HexagonTargetLowering::isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree() argument
1857 EVT MTy1 = EVT::getEVT(Ty1); in isTruncateFree()
2341 HexagonTargetLowering::allowTruncateForTailCall(Type *Ty1, Type *Ty2) const { in allowTruncateForTailCall() argument
2344 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) in allowTruncateForTailCall()
2350 return Ty1->getPrimitiveSizeInBits() <= 32; in allowTruncateForTailCall()
/external/llvm/include/llvm/Analysis/
DTargetTransformInfo.h327 bool isTruncateFree(Type *Ty1, Type *Ty2) const;
548 virtual bool isTruncateFree(Type *Ty1, Type *Ty2) = 0;
665 bool isTruncateFree(Type *Ty1, Type *Ty2) override { in isTruncateFree() argument
666 return Impl.isTruncateFree(Ty1, Ty2); in isTruncateFree()
DTargetTransformInfoImpl.h228 bool isTruncateFree(Type *Ty1, Type *Ty2) { return false; } in isTruncateFree() argument
/external/llvm/lib/CodeGen/
DGlobalMerge.cpp160 Type *Ty1 = cast<PointerType>(GV1->getType())->getElementType(); in doMerge() local
163 return (DL->getTypeAllocSize(Ty1) < DL->getTypeAllocSize(Ty2)); in doMerge()
/external/llvm/lib/Analysis/
DTargetTransformInfo.cpp126 bool TargetTransformInfo::isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree() argument
127 return TTIImpl->isTruncateFree(Ty1, Ty2); in isTruncateFree()
/external/llvm/lib/Transforms/Vectorize/
DBBVectorize.cpp1938 Type *Ty1 = Q.second.first->getType(), in findBestDAGFor() local
1940 Type *VTy = getVecTypeForPair(Ty1, Ty2); in findBestDAGFor()
1970 Type *Ty1 = S->first->getType(), in findBestDAGFor() local
1972 Type *VTy = getVecTypeForPair(Ty1, Ty2); in findBestDAGFor()
1991 if (Ty1->isVectorTy()) { in findBestDAGFor()
1993 Ty1, VTy); in findBestDAGFor()
1995 TargetTransformInfo::SK_ExtractSubvector, VTy, 0, Ty1)); in findBestDAGFor()
2027 Ty1->isVectorTy() ? Ty1->getVectorNumElements() : 1, Ty2)); in findBestDAGFor()
2059 Type *Ty1 = O1->getType(), in findBestDAGFor() local
2061 Type *VTy = getVecTypeForPair(Ty1, Ty2); in findBestDAGFor()
[all …]
DLoopVectorize.cpp3598 static Type* getWiderType(const DataLayout &DL, Type *Ty0, Type *Ty1) { in getWiderType() argument
3600 Ty1 = convertPointerToIntegerType(DL, Ty1); in getWiderType()
3601 if (Ty0->getScalarSizeInBits() > Ty1->getScalarSizeInBits()) in getWiderType()
3603 return Ty1; in getWiderType()
/external/llvm/lib/Target/X86/
DX86ISelLowering.h741 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
744 bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const override;
754 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
DX86ISelLowering.cpp17747 bool X86TargetLowering::isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree() argument
17748 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) in isTruncateFree()
17750 unsigned NumBits1 = Ty1->getPrimitiveSizeInBits(); in isTruncateFree()
17755 bool X86TargetLowering::allowTruncateForTailCall(Type *Ty1, Type *Ty2) const { in allowTruncateForTailCall() argument
17756 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) in allowTruncateForTailCall()
17759 if (!isTypeLegal(EVT::getEVT(Ty1))) in allowTruncateForTailCall()
17762 assert(Ty1->getPrimitiveSizeInBits() <= 64 && "i128 is probably not a noop"); in allowTruncateForTailCall()
17786 bool X86TargetLowering::isZExtFree(Type *Ty1, Type *Ty2) const { in isZExtFree() argument
17788 return Ty1->isIntegerTy(32) && Ty2->isIntegerTy(64) && Subtarget->is64Bit(); in isZExtFree()
/external/llvm/unittests/IR/
DIRBuilderTest.cpp122 IntegerType *Ty1 = Builder.getInt1Ty(); in TEST_F() local
123 EXPECT_EQ(Ty1, IntegerType::get(Ctx, 1)); in TEST_F()
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.h295 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
300 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
DAArch64ISelLowering.cpp6549 bool AArch64TargetLowering::isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree() argument
6550 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) in isTruncateFree()
6552 unsigned NumBits1 = Ty1->getPrimitiveSizeInBits(); in isTruncateFree()
6594 bool AArch64TargetLowering::isZExtFree(Type *Ty1, Type *Ty2) const { in isZExtFree() argument
6595 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) in isZExtFree()
6597 unsigned NumBits1 = Ty1->getPrimitiveSizeInBits(); in isZExtFree()
/external/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h147 bool isTruncateFree(Type *Ty1, Type *Ty2) { in isTruncateFree() argument
148 return getTLI()->isTruncateFree(Ty1, Ty2); in isTruncateFree()
/external/llvm/lib/Target/ARM/
DARMISelLowering.h283 bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const override;
DARMISelLowering.cpp9980 bool ARMTargetLowering::allowTruncateForTailCall(Type *Ty1, Type *Ty2) const { in allowTruncateForTailCall() argument
9981 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) in allowTruncateForTailCall()
9984 if (!isTypeLegal(EVT::getEVT(Ty1))) in allowTruncateForTailCall()
9987 assert(Ty1->getPrimitiveSizeInBits() <= 64 && "i128 is probably not a noop"); in allowTruncateForTailCall()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.h561 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
DPPCISelLowering.cpp11111 bool PPCTargetLowering::isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree() argument
11112 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) in isTruncateFree()
11114 unsigned NumBits1 = Ty1->getPrimitiveSizeInBits(); in isTruncateFree()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp1822 Type *Ty1 = VT1.getTypeForEVT(*getContext()); in CreateStackTemporary() local
1825 unsigned Align = std::max(TD->getPrefTypeAlignment(Ty1), in CreateStackTemporary()