Home
last modified time | relevance | path

Searched refs:ShouldChangeType (Results 1 – 4 of 4) sorted by relevance

/external/llvm/lib/Transforms/InstCombine/
DInstCombineInternal.h345 bool ShouldChangeType(unsigned FromBitWidth, unsigned ToBitWidth) const;
346 bool ShouldChangeType(Type *From, Type *To) const;
DInstCombineCasts.cpp312 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()
DInstructionCombining.cpp87 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()
DInstCombinePHI.cpp505 if (!ShouldChangeType(PN.getType(), CastSrcTy)) in FoldPHIArgOpIntoPHI()