Searched refs:ShouldChangeType (Results 1 – 4 of 4) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineInternal.h | 345 bool ShouldChangeType(unsigned FromBitWidth, unsigned ToBitWidth) const; 346 bool ShouldChangeType(Type *From, Type *To) const;
|
D | InstCombineCasts.cpp | 312 ShouldChangeType(CI.getType(), Src->getType())) in commonCastTransforms() 502 if ((DestTy->isVectorTy() || ShouldChangeType(SrcTy, DestTy)) && in visitTrunc() 568 ShouldChangeType(SrcTy, DestTy) && in visitTrunc() 855 if ((DestTy->isVectorTy() || ShouldChangeType(SrcTy, DestTy)) && in visitZExt() 1147 if ((DestTy->isVectorTy() || ShouldChangeType(SrcTy, DestTy)) && in visitSExt()
|
D | InstructionCombining.cpp | 87 bool InstCombiner::ShouldChangeType(unsigned FromWidth, in ShouldChangeType() function in InstCombiner 108 bool InstCombiner::ShouldChangeType(Type *From, Type *To) const { in ShouldChangeType() function in InstCombiner 113 return ShouldChangeType(FromWidth, ToWidth); in ShouldChangeType()
|
D | InstCombinePHI.cpp | 505 if (!ShouldChangeType(PN.getType(), CastSrcTy)) in FoldPHIArgOpIntoPHI()
|