/external/llvm/test/Linker/ |
D | testlink.ll | 3 ; 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/ |
D | testlink.ll | 4 %Ty1 = type { %Ty2* } 9 @GVTy1 = global %Ty1* null
|
/external/llvm/lib/Target/MSP430/ |
D | MSP430ISelLowering.h | 108 bool isTruncateFree(Type *Ty1, Type *Ty2) const override; 119 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
|
D | MSP430ISelLowering.cpp | 1159 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/ |
D | SValBuilder.h | 77 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/ |
D | HexagonISelLowering.h | 135 bool isTruncateFree(Type *Ty1, Type *Ty2) const override; 138 bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const override;
|
D | HexagonISelLowering.cpp | 1856 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/ |
D | TargetTransformInfo.h | 327 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()
|
D | TargetTransformInfoImpl.h | 228 bool isTruncateFree(Type *Ty1, Type *Ty2) { return false; } in isTruncateFree() argument
|
/external/llvm/lib/CodeGen/ |
D | GlobalMerge.cpp | 160 Type *Ty1 = cast<PointerType>(GV1->getType())->getElementType(); in doMerge() local 163 return (DL->getTypeAllocSize(Ty1) < DL->getTypeAllocSize(Ty2)); in doMerge()
|
/external/llvm/lib/Analysis/ |
D | TargetTransformInfo.cpp | 126 bool TargetTransformInfo::isTruncateFree(Type *Ty1, Type *Ty2) const { in isTruncateFree() argument 127 return TTIImpl->isTruncateFree(Ty1, Ty2); in isTruncateFree()
|
/external/llvm/lib/Transforms/Vectorize/ |
D | BBVectorize.cpp | 1938 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 …]
|
D | LoopVectorize.cpp | 3598 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/ |
D | X86ISelLowering.h | 741 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;
|
D | X86ISelLowering.cpp | 17747 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/ |
D | IRBuilderTest.cpp | 122 IntegerType *Ty1 = Builder.getInt1Ty(); in TEST_F() local 123 EXPECT_EQ(Ty1, IntegerType::get(Ctx, 1)); in TEST_F()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.h | 295 bool isTruncateFree(Type *Ty1, Type *Ty2) const override; 300 bool isZExtFree(Type *Ty1, Type *Ty2) const override;
|
D | AArch64ISelLowering.cpp | 6549 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/ |
D | BasicTTIImpl.h | 147 bool isTruncateFree(Type *Ty1, Type *Ty2) { in isTruncateFree() argument 148 return getTLI()->isTruncateFree(Ty1, Ty2); in isTruncateFree()
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.h | 283 bool allowTruncateForTailCall(Type *Ty1, Type *Ty2) const override;
|
D | ARMISelLowering.cpp | 9980 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/ |
D | PPCISelLowering.h | 561 bool isTruncateFree(Type *Ty1, Type *Ty2) const override;
|
D | PPCISelLowering.cpp | 11111 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/ |
D | SelectionDAG.cpp | 1822 Type *Ty1 = VT1.getTypeForEVT(*getContext()); in CreateStackTemporary() local 1825 unsigned Align = std::max(TD->getPrefTypeAlignment(Ty1), in CreateStackTemporary()
|