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

/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineInternal.h350 bool ShouldChangeType(unsigned FromBitWidth, unsigned ToBitWidth) const;
351 bool ShouldChangeType(Type *From, Type *To) const;
H A DInstCombineCasts.cpp312 ShouldChangeType(CI.getType(), Src->getType()))
502 if ((DestTy->isVectorTy() || ShouldChangeType(SrcTy, DestTy)) &&
568 ShouldChangeType(SrcTy, DestTy) &&
855 if ((DestTy->isVectorTy() || ShouldChangeType(SrcTy, DestTy)) &&
1147 if ((DestTy->isVectorTy() || ShouldChangeType(SrcTy, DestTy)) &&
H A DInstCombinePHI.cpp494 if (!ShouldChangeType(PN.getType(), CastSrcTy))
H A DInstructionCombining.cpp93 bool InstCombiner::ShouldChangeType(unsigned FromWidth, function in class:InstCombiner
114 bool InstCombiner::ShouldChangeType(Type *From, Type *To) const { function in class:InstCombiner
119 return ShouldChangeType(FromWidth, ToWidth);
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
H A DInstCombineCasts.cpp309 ShouldChangeType(CI.getType(), Src->getType()))
445 if ((DestTy->isVectorTy() || ShouldChangeType(SrcTy, DestTy)) &&
491 ShouldChangeType(Src->getType(), CI.getType()) &&
769 if ((DestTy->isVectorTy() || ShouldChangeType(SrcTy, DestTy)) &&
1073 if ((DestTy->isVectorTy() || ShouldChangeType(SrcTy, DestTy)) &&
H A DInstCombine.h202 bool ShouldChangeType(Type *From, Type *To) const;
H A DInstCombinePHI.cpp413 if (!ShouldChangeType(PN.getType(), CastSrcTy))
H A DInstructionCombining.cpp85 /// ShouldChangeType - Return true if it is desirable to convert a computation
88 bool InstCombiner::ShouldChangeType(Type *From, Type *To) const { function in class:InstCombiner

Completed in 152 milliseconds