/external/llvm/unittests/IR/ |
H A D | IRBuilderTest.cpp | 111 IntegerType *Ty1 = Builder.getInt1Ty(); local 112 EXPECT_EQ(Ty1, IntegerType::get(getGlobalContext(), 1));
|
/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/Transforms/Scalar/ |
H A D | GlobalMerge.cpp | 129 Type *Ty1 = cast<PointerType>(GV1->getType())->getElementType(); local 132 return (TD->getTypeAllocSize(Ty1) < TD->getTypeAllocSize(Ty2));
|
/external/llvm/lib/Analysis/ |
H A D | TargetTransformInfo.cpp | 123 bool TargetTransformInfo::isTruncateFree(Type *Ty1, Type *Ty2) const { argument 124 return PrevTTI->isTruncateFree(Ty1, Ty2); 484 bool isTruncateFree(Type *Ty1, Type *Ty2) const { argument
|
/external/llvm/lib/CodeGen/ |
H A D | BasicTargetTransformInfo.cpp | 81 virtual bool isTruncateFree(Type *Ty1, Type *Ty2) const; 161 bool BasicTTI::isTruncateFree(Type *Ty1, Type *Ty2) const { argument 162 return getTLI()->isTruncateFree(Ty1, Ty2);
|
/external/llvm/lib/Transforms/IPO/ |
H A D | MergeFunctions.cpp | 197 bool isEquivalentType(Type *Ty1, Type *Ty2) const; 212 bool FunctionComparator::isEquivalentType(Type *Ty1, Type *Ty2) const { argument 213 if (Ty1 == Ty2) 215 if (Ty1->getTypeID() != Ty2->getTypeID()) { 217 LLVMContext &Ctx = Ty1->getContext(); 218 if (isa<PointerType>(Ty1) && Ty2 == TD->getIntPtrType(Ctx)) return true; 219 if (isa<PointerType>(Ty2) && Ty1 == TD->getIntPtrType(Ctx)) return true; 224 switch (Ty1->getTypeID()) { 230 // Ty1 == Ty2 would have returned true earlier. 244 PointerType *PTy1 = cast<PointerType>(Ty1); [all...] |
/external/llvm/lib/Target/MSP430/ |
H A D | MSP430ISelLowering.cpp | 1048 bool MSP430TargetLowering::isTruncateFree(Type *Ty1, argument 1050 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) 1053 return (Ty1->getPrimitiveSizeInBits() > Ty2->getPrimitiveSizeInBits()); 1063 bool MSP430TargetLowering::isZExtFree(Type *Ty1, Type *Ty2) const { argument 1065 return 0 && Ty1->isIntegerTy(8) && Ty2->isIntegerTy(16);
|
/external/llvm/lib/Target/Hexagon/ |
H A D | HexagonISelLowering.cpp | 1491 HexagonTargetLowering::isTruncateFree(Type *Ty1, Type *Ty2) const { argument 1492 EVT MTy1 = EVT::getEVT(Ty1); 1508 HexagonTargetLowering::allowTruncateForTailCall(Type *Ty1, Type *Ty2) const { argument 1511 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) 1517 return Ty1->getPrimitiveSizeInBits() <= 32;
|
/external/llvm/lib/Transforms/Vectorize/ |
H A D | BBVectorize.cpp | 1863 Type *Ty1 = Q.second.first->getType(), local 1865 Type *VTy = getVecTypeForPair(Ty1, Ty2); 1895 Type *Ty1 = S->first->getType(), local 1897 Type *VTy = getVecTypeForPair(Ty1, Ty2); 1917 if (Ty1->isVectorTy()) { 1919 Ty1, VTy); 1921 TargetTransformInfo::SK_ExtractSubvector, VTy, 0, Ty1)); 1954 Ty1->isVectorTy() ? Ty1->getVectorNumElements() : 1, Ty2)); 1986 Type *Ty1 local [all...] |
H A D | LoopVectorize.cpp | 2664 static Type* getWiderType(DataLayout &DL, Type *Ty0, Type *Ty1) { argument 2666 Ty1 = convertPointerToIntegerType(DL, Ty1); 2667 if (Ty0->getScalarSizeInBits() > Ty1->getScalarSizeInBits()) 2669 return Ty1;
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAG.cpp | 1544 Type *Ty1 = VT1.getTypeForEVT(*getContext()); local 1548 unsigned Align = std::max(TD->getPrefTypeAlignment(Ty1),
|
/external/llvm/lib/Target/ARM/ |
H A D | ARMISelLowering.cpp | 9996 bool ARMTargetLowering::allowTruncateForTailCall(Type *Ty1, Type *Ty2) const { argument 9997 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) 10000 if (!isTypeLegal(EVT::getEVT(Ty1))) 10003 assert(Ty1->getPrimitiveSizeInBits() <= 64 && "i128 is probably not a noop");
|
/external/llvm/lib/Target/X86/ |
H A D | X86ISelLowering.cpp | 13319 bool X86TargetLowering::isTruncateFree(Type *Ty1, Type *Ty2) const { argument 13320 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) 13322 unsigned NumBits1 = Ty1->getPrimitiveSizeInBits(); 13327 bool X86TargetLowering::allowTruncateForTailCall(Type *Ty1, Type *Ty2) const { argument 13328 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy()) 13331 if (!isTypeLegal(EVT::getEVT(Ty1))) 13334 assert(Ty1->getPrimitiveSizeInBits() <= 64 && "i128 is probably not a noop"); 13358 bool X86TargetLowering::isZExtFree(Type *Ty1, Type *Ty2) const { argument 13360 return Ty1->isIntegerTy(32) && Ty2->isIntegerTy(64) && Subtarget->is64Bit();
|