Home
last modified time | relevance | path

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

/external/llvm/test/Linker/
Dtestlink1.ll5 ; CHECK: %Ty2 = type { %Ty1* }
6 ; CHECK: %Ty1 = type { %Ty2* }
7 %Ty1 = type opaque
8 %Ty2 = type { %Ty1* }
24 @GVTy1 = external global %Ty1*
Dtestlink2.ll8 %Ty1 = type { %Ty2* }
13 @GVTy1 = global %Ty1* null
/external/llvm/lib/Target/Hexagon/
DHexagonISelLowering.h95 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
98 bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const override;
DHexagonISelLowering.cpp1489 HexagonTargetLowering::isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree() argument
1490 EVT MTy1 = EVT::getEVT(Ty1); in isTruncateFree()
1506 HexagonTargetLowering::allowTruncateForTailCall(Type *Ty1, Type *Ty2) const { in allowTruncateForTailCall() argument
1509 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) in allowTruncateForTailCall()
1515 return Ty1->getPrimitiveSizeInBits() <= 32; in allowTruncateForTailCall()
/external/llvm/lib/Target/MSP430/
DMSP430ISelLowering.h105 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
116 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
DMSP430ISelLowering.cpp1163 bool MSP430TargetLowering::isTruncateFree(Type *Ty1, in isTruncateFree() argument
1165 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) in isTruncateFree()
1168 return (Ty1->getPrimitiveSizeInBits() > Ty2->getPrimitiveSizeInBits()); in isTruncateFree()
1178 bool MSP430TargetLowering::isZExtFree(Type *Ty1, Type *Ty2) const { in isZExtFree() argument
1180 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/CodeGen/
DGlobalMerge.cpp156 Type *Ty1 = cast<PointerType>(GV1->getType())->getElementType(); in doMerge() local
159 return (DL->getTypeAllocSize(Ty1) < DL->getTypeAllocSize(Ty2)); in doMerge()
DBasicTargetTransformInfo.cpp87 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
170 bool BasicTTI::isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree() argument
171 return getTLI()->isTruncateFree(Ty1, Ty2); in isTruncateFree()
/external/llvm/lib/Analysis/
DTargetTransformInfo.cpp119 bool TargetTransformInfo::isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree() argument
120 return PrevTTI->isTruncateFree(Ty1, Ty2); in isTruncateFree()
510 bool isTruncateFree(Type *Ty1, Type *Ty2) const override { in isTruncateFree()
/external/llvm/lib/Transforms/Vectorize/
DBBVectorize.cpp1942 Type *Ty1 = Q.second.first->getType(), in findBestDAGFor() local
1944 Type *VTy = getVecTypeForPair(Ty1, Ty2); in findBestDAGFor()
1974 Type *Ty1 = S->first->getType(), in findBestDAGFor() local
1976 Type *VTy = getVecTypeForPair(Ty1, Ty2); in findBestDAGFor()
1995 if (Ty1->isVectorTy()) { in findBestDAGFor()
1997 Ty1, VTy); in findBestDAGFor()
1999 TargetTransformInfo::SK_ExtractSubvector, VTy, 0, Ty1)); in findBestDAGFor()
2031 Ty1->isVectorTy() ? Ty1->getVectorNumElements() : 1, Ty2)); in findBestDAGFor()
2063 Type *Ty1 = O1->getType(), in findBestDAGFor() local
2065 Type *VTy = getVecTypeForPair(Ty1, Ty2); in findBestDAGFor()
[all …]
DLoopVectorize.cpp3452 static Type* getWiderType(const DataLayout &DL, Type *Ty0, Type *Ty1) { in getWiderType() argument
3454 Ty1 = convertPointerToIntegerType(DL, Ty1); in getWiderType()
3455 if (Ty0->getScalarSizeInBits() > Ty1->getScalarSizeInBits()) in getWiderType()
3457 return Ty1; in getWiderType()
/external/llvm/lib/Target/X86/
DX86ISelLowering.h689 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
692 bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const override;
702 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
DX86ISelLowering.cpp16716 bool X86TargetLowering::isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree() argument
16717 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) in isTruncateFree()
16719 unsigned NumBits1 = Ty1->getPrimitiveSizeInBits(); in isTruncateFree()
16724 bool X86TargetLowering::allowTruncateForTailCall(Type *Ty1, Type *Ty2) const { in allowTruncateForTailCall() argument
16725 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) in allowTruncateForTailCall()
16728 if (!isTypeLegal(EVT::getEVT(Ty1))) in allowTruncateForTailCall()
16731 assert(Ty1->getPrimitiveSizeInBits() <= 64 && "i128 is probably not a noop"); in allowTruncateForTailCall()
16755 bool X86TargetLowering::isZExtFree(Type *Ty1, Type *Ty2) const { in isZExtFree() argument
16757 return Ty1->isIntegerTy(32) && Ty2->isIntegerTy(64) && Subtarget->is64Bit(); in isZExtFree()
/external/llvm/unittests/IR/
DIRBuilderTest.cpp120 IntegerType *Ty1 = Builder.getInt1Ty(); in TEST_F() local
121 EXPECT_EQ(Ty1, IntegerType::get(Ctx, 1)); in TEST_F()
/external/llvm/include/llvm/Analysis/
DTargetTransformInfo.h284 virtual bool isTruncateFree(Type *Ty1, Type *Ty2) const;
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.h275 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
278 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
DAArch64ISelLowering.cpp6079 bool AArch64TargetLowering::isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree() argument
6080 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) in isTruncateFree()
6082 unsigned NumBits1 = Ty1->getPrimitiveSizeInBits(); in isTruncateFree()
6096 bool AArch64TargetLowering::isZExtFree(Type *Ty1, Type *Ty2) const { in isZExtFree() argument
6097 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) in isZExtFree()
6099 unsigned NumBits1 = Ty1->getPrimitiveSizeInBits(); in isZExtFree()
/external/llvm/lib/Target/ARM/
DARMISelLowering.h284 bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const override;
DARMISelLowering.cpp9784 bool ARMTargetLowering::allowTruncateForTailCall(Type *Ty1, Type *Ty2) const { in allowTruncateForTailCall() argument
9785 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) in allowTruncateForTailCall()
9788 if (!isTypeLegal(EVT::getEVT(Ty1))) in allowTruncateForTailCall()
9791 assert(Ty1->getPrimitiveSizeInBits() <= 64 && "i128 is probably not a noop"); in allowTruncateForTailCall()
/external/llvm/lib/Target/PowerPC/
DPPCISelLowering.h465 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
DPPCISelLowering.cpp8910 bool PPCTargetLowering::isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree() argument
8911 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) in isTruncateFree()
8913 unsigned NumBits1 = Ty1->getPrimitiveSizeInBits(); in isTruncateFree()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp1778 Type *Ty1 = VT1.getTypeForEVT(*getContext()); in CreateStackTemporary() local
1782 unsigned Align = std::max(TD->getPrefTypeAlignment(Ty1), in CreateStackTemporary()