Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineInternal.h350 bool ShouldChangeType(unsigned FromBitWidth, unsigned ToBitWidth) const;
351 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.cpp93 bool InstCombiner::ShouldChangeType(unsigned FromWidth, in ShouldChangeType() function in InstCombiner
114 bool InstCombiner::ShouldChangeType(Type *From, Type *To) const { in ShouldChangeType() function in InstCombiner
119 return ShouldChangeType(FromWidth, ToWidth); in ShouldChangeType()
DInstCombinePHI.cpp494 if (!ShouldChangeType(PN.getType(), CastSrcTy)) in FoldPHIArgOpIntoPHI()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCasts.cpp309 ShouldChangeType(CI.getType(), Src->getType())) in commonCastTransforms()
445 if ((DestTy->isVectorTy() || ShouldChangeType(SrcTy, DestTy)) && in visitTrunc()
491 ShouldChangeType(Src->getType(), CI.getType()) && in visitTrunc()
769 if ((DestTy->isVectorTy() || ShouldChangeType(SrcTy, DestTy)) && in visitZExt()
1073 if ((DestTy->isVectorTy() || ShouldChangeType(SrcTy, DestTy)) && in visitSExt()
DInstCombine.h202 bool ShouldChangeType(Type *From, Type *To) const;
DInstCombinePHI.cpp413 if (!ShouldChangeType(PN.getType(), CastSrcTy)) in FoldPHIArgOpIntoPHI()
DInstructionCombining.cpp88 bool InstCombiner::ShouldChangeType(Type *From, Type *To) const { in ShouldChangeType() function in InstCombiner