Searched refs:Ty1 (Results 1 - 10 of 10) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
H A DGlobalMerge.cpp106 Type *Ty1 = cast<PointerType>(GV1->getType())->getElementType(); local
109 return (TD->getTypeAllocSize(Ty1) < TD->getTypeAllocSize(Ty2));
/external/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp188 bool isEquivalentType(Type *Ty1, Type *Ty2) const;
203 bool FunctionComparator::isEquivalentType(Type *Ty1, argument
205 if (Ty1 == Ty2)
207 if (Ty1->getTypeID() != Ty2->getTypeID()) {
209 LLVMContext &Ctx = Ty1->getContext();
210 if (isa<PointerType>(Ty1) && Ty2 == TD->getIntPtrType(Ctx)) return true;
211 if (isa<PointerType>(Ty2) && Ty1 == TD->getIntPtrType(Ctx)) return true;
216 switch (Ty1->getTypeID()) {
222 // Ty1 == Ty2 would have returned true earlier.
236 PointerType *PTy1 = cast<PointerType>(Ty1);
[all...]
/external/llvm/lib/Target/MSP430/
H A DMSP430ISelLowering.h103 /// Ty1 to type Ty2. e.g. On msp430 it's free to truncate a i16 value in
105 virtual bool isTruncateFree(Type *Ty1, Type *Ty2) const;
109 /// of type Ty1 implicit zero-extends the value to Ty2 in the result
112 /// registers. Also, if isTruncateFree(Ty2, Ty1) is true, this does not
116 virtual bool isZExtFree(Type *Ty1, Type *Ty2) const;
H A DMSP430ISelLowering.cpp984 bool MSP430TargetLowering::isTruncateFree(Type *Ty1, argument
986 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy())
989 return (Ty1->getPrimitiveSizeInBits() > Ty2->getPrimitiveSizeInBits());
999 bool MSP430TargetLowering::isZExtFree(Type *Ty1, Type *Ty2) const { argument
1001 return 0 && Ty1->isIntegerTy(8) && Ty2->isIntegerTy(16);
/external/llvm/lib/Target/Hexagon/
H A DHexagonISelLowering.h80 virtual bool isTruncateFree(Type *Ty1, Type *Ty2) const;
H A DHexagonISelLowering.cpp1328 HexagonTargetLowering::isTruncateFree(Type *Ty1, Type *Ty2) const { argument
1329 EVT MTy1 = EVT::getEVT(Ty1);
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSValBuilder.h77 bool haveSameType(QualType Ty1, QualType Ty2) { argument
80 return (Context.getCanonicalType(Ty1) == Context.getCanonicalType(Ty2) ||
/external/llvm/lib/Target/X86/
H A DX86ISelLowering.h562 /// type Ty1 to type Ty2. e.g. On x86 it's free to truncate a i32 value in
564 virtual bool isTruncateFree(Type *Ty1, Type *Ty2) const;
568 /// value of type Ty1 implicit zero-extends the value to Ty2 in the result
571 /// virtual registers. Also, if isTruncateFree(Ty2, Ty1) is true, this
575 virtual bool isZExtFree(Type *Ty1, Type *Ty2) const;
H A DX86ISelLowering.cpp11252 bool X86TargetLowering::isTruncateFree(Type *Ty1, Type *Ty2) const { argument
11253 if (!Ty1->isIntegerTy() || !Ty2->isIntegerTy())
11255 unsigned NumBits1 = Ty1->getPrimitiveSizeInBits();
11272 bool X86TargetLowering::isZExtFree(Type *Ty1, Type *Ty2) const { argument
11274 return Ty1->isIntegerTy(32) && Ty2->isIntegerTy(64) && Subtarget->is64Bit();
/external/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp1501 Type *Ty1 = VT1.getTypeForEVT(*getContext()); local
1504 unsigned Align = std::max(TD->getPrefTypeAlignment(Ty1),

Completed in 131 milliseconds