| /freebsd-9-stable/contrib/llvm/lib/Transforms/IPO/ |
| D | MergeFunctions.cpp | 197 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/ |
| D | SValBuilder.h | 77 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/ |
| D | MSP430ISelLowering.h | 107 virtual bool isTruncateFree(Type *Ty1, Type *Ty2) const; 118 virtual bool isZExtFree(Type *Ty1, Type *Ty2) const;
|
| D | MSP430ISelLowering.cpp | 1165 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/ |
| D | HexagonISelLowering.h | 95 virtual bool isTruncateFree(Type *Ty1, Type *Ty2) const; 98 virtual bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const;
|
| D | HexagonISelLowering.cpp | 1504 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/ |
| D | BasicTargetTransformInfo.cpp | 81 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/ |
| D | TargetTransformInfo.cpp | 128 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/ |
| D | GlobalMerge.cpp | 130 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/ |
| D | BBVectorize.cpp | 1868 *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/ |
| D | X86ISelLowering.h | 684 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;
|
| D | X86ISelLowering.cpp | 13935 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/ |
| D | TargetTransformInfo.h | 278 virtual bool isTruncateFree(Type *Ty1, Type *Ty2) const;
|
| /freebsd-9-stable/contrib/llvm/lib/Target/ARM/ |
| D | ARMISelLowering.h | 289 virtual bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const;
|
| D | ARMISelLowering.cpp | 10308 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/ |
| D | SelectionDAG.cpp | 1622 Type *Ty2 = VT2.getTypeForEVT(*getContext()); in CreateStackTemporary() local 1626 TD->getPrefTypeAlignment(Ty2)); in CreateStackTemporary()
|