Home
last modified time | relevance | path

Searched refs:Ty2 (Results 1 – 16 of 16) sorted by relevance

/freebsd-9-stable/contrib/llvm/lib/Transforms/IPO/
DMergeFunctions.cpp197 bool isEquivalentType(Type *Ty1, Type *Ty2) const;
212 bool FunctionComparator::isEquivalentType(Type *Ty1, Type *Ty2) const { in isEquivalentType()
215 PointerType *PTy2 = dyn_cast<PointerType>(Ty2); in isEquivalentType()
219 if (PTy2 && PTy2->getAddressSpace() == 0) Ty2 = TD->getIntPtrType(Ty2); in isEquivalentType()
222 if (Ty1 == Ty2) in isEquivalentType()
225 if (Ty1->getTypeID() != Ty2->getTypeID()) in isEquivalentType()
254 StructType *STy2 = cast<StructType>(Ty2); in isEquivalentType()
270 FunctionType *FTy2 = cast<FunctionType>(Ty2); in isEquivalentType()
287 ArrayType *ATy2 = cast<ArrayType>(Ty2); in isEquivalentType()
/freebsd-9-stable/contrib/llvm/tools/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()
82 Ty2->isIntegralOrEnumerationType())); in haveSameType()
/freebsd-9-stable/contrib/llvm/lib/Target/MSP430/
DMSP430ISelLowering.h107 virtual bool isTruncateFree(Type *Ty1, Type *Ty2) const;
118 virtual bool isZExtFree(Type *Ty1, Type *Ty2) const;
DMSP430ISelLowering.cpp1165 Type *Ty2) const { in isTruncateFree()
1166 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) in isTruncateFree()
1169 return (Ty1->getPrimitiveSizeInBits() > Ty2->getPrimitiveSizeInBits()); in isTruncateFree()
1179 bool MSP430TargetLowering::isZExtFree(Type *Ty1, Type *Ty2) const { in isZExtFree()
1181 return 0 && Ty1->isIntegerTy(8) && Ty2->isIntegerTy(16); in isZExtFree()
/freebsd-9-stable/contrib/llvm/lib/Target/Hexagon/
DHexagonISelLowering.h95 virtual bool isTruncateFree(Type *Ty1, Type *Ty2) const;
98 virtual bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const;
DHexagonISelLowering.cpp1504 HexagonTargetLowering::isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree()
1506 EVT MTy2 = EVT::getEVT(Ty2); in isTruncateFree()
1521 HexagonTargetLowering::allowTruncateForTailCall(Type *Ty1, Type *Ty2) const { in allowTruncateForTailCall()
1524 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) in allowTruncateForTailCall()
/freebsd-9-stable/contrib/llvm/lib/CodeGen/
DBasicTargetTransformInfo.cpp81 virtual bool isTruncateFree(Type *Ty1, Type *Ty2) const;
164 bool BasicTTI::isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree()
165 return getTLI()->isTruncateFree(Ty1, Ty2); in isTruncateFree()
/freebsd-9-stable/contrib/llvm/lib/Analysis/
DTargetTransformInfo.cpp128 bool TargetTransformInfo::isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree()
129 return PrevTTI->isTruncateFree(Ty1, Ty2); in isTruncateFree()
508 bool isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree()
/freebsd-9-stable/contrib/llvm/lib/Transforms/Scalar/
DGlobalMerge.cpp130 Type *Ty2 = cast<PointerType>(GV2->getType())->getElementType(); in operator ()() local
132 return (TD->getTypeAllocSize(Ty1) < TD->getTypeAllocSize(Ty2)); in operator ()()
/freebsd-9-stable/contrib/llvm/lib/Transforms/Vectorize/
DBBVectorize.cpp1868 *Ty2 = Q.second.second->getType(); in findBestDAGFor() local
1869 Type *VTy = getVecTypeForPair(Ty1, Ty2); in findBestDAGFor()
1900 *Ty2 = S->second->getType(); in findBestDAGFor() local
1901 Type *VTy = getVecTypeForPair(Ty1, Ty2); in findBestDAGFor()
1953 if (Ty2->isVectorTy()) { in findBestDAGFor()
1955 Ty2, VTy); in findBestDAGFor()
1958 Ty1->isVectorTy() ? Ty1->getVectorNumElements() : 1, Ty2)); in findBestDAGFor()
1991 *Ty2 = O2->getType(); in findBestDAGFor() local
1992 Type *VTy = getVecTypeForPair(Ty1, Ty2); in findBestDAGFor()
1996 if (Ty1 == Ty2) { in findBestDAGFor()
[all …]
/freebsd-9-stable/contrib/llvm/lib/Target/X86/
DX86ISelLowering.h684 virtual bool isTruncateFree(Type *Ty1, Type *Ty2) const;
687 virtual bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const;
697 virtual bool isZExtFree(Type *Ty1, Type *Ty2) const;
DX86ISelLowering.cpp13935 bool X86TargetLowering::isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree()
13936 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) in isTruncateFree()
13939 unsigned NumBits2 = Ty2->getPrimitiveSizeInBits(); in isTruncateFree()
13943 bool X86TargetLowering::allowTruncateForTailCall(Type *Ty1, Type *Ty2) const { in allowTruncateForTailCall()
13944 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) in allowTruncateForTailCall()
13974 bool X86TargetLowering::isZExtFree(Type *Ty1, Type *Ty2) const { in isZExtFree()
13976 return Ty1->isIntegerTy(32) && Ty2->isIntegerTy(64) && Subtarget->is64Bit(); in isZExtFree()
/freebsd-9-stable/contrib/llvm/include/llvm/Analysis/
DTargetTransformInfo.h278 virtual bool isTruncateFree(Type *Ty1, Type *Ty2) const;
/freebsd-9-stable/contrib/llvm/lib/Target/ARM/
DARMISelLowering.h289 virtual bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const;
DARMISelLowering.cpp10308 bool ARMTargetLowering::allowTruncateForTailCall(Type *Ty1, Type *Ty2) const { in allowTruncateForTailCall()
10309 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) in allowTruncateForTailCall()
/freebsd-9-stable/contrib/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAG.cpp1622 Type *Ty2 = VT2.getTypeForEVT(*getContext()); in CreateStackTemporary() local
1626 TD->getPrefTypeAlignment(Ty2)); in CreateStackTemporary()