Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp779 unsigned ArgWidth; in SimplifyDemandedUseBits() local
781 ArgWidth = 8; // Arg is x86_mmx, but treated as <8 x i8>. in SimplifyDemandedUseBits()
785 ArgWidth = ArgType->getNumElements(); in SimplifyDemandedUseBits()
790 APInt DemandedElts = DemandedMask.zextOrTrunc(ArgWidth); in SimplifyDemandedUseBits()
795 KnownZero = APInt::getHighBitsSet(BitWidth, BitWidth - ArgWidth); in SimplifyDemandedUseBits()
DInstCombineCalls.cpp1564 unsigned ArgWidth = ArgType->getNumElements(); in visitCallInst() local
1566 assert(RetWidth <= ArgWidth && "Unexpected input/return vector widths"); in visitCallInst()
1579 if (RetWidth < ArgWidth) { in visitCallInst()
1596 if (Value *V = SimplifyDemandedVectorEltsLow(Arg, ArgWidth, RetWidth)) { in visitCallInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp680 unsigned ArgWidth; in SimplifyDemandedUseBits() local
682 ArgWidth = 8; // Arg is x86_mmx, but treated as <8 x i8>. in SimplifyDemandedUseBits()
686 ArgWidth = ArgType->getNumElements(); in SimplifyDemandedUseBits()
691 APInt DemandedElts = DemandedMask.zextOrTrunc(ArgWidth); in SimplifyDemandedUseBits()
696 Known.Zero.setBitsFrom(ArgWidth); in SimplifyDemandedUseBits()
DInstCombineCalls.cpp2288 unsigned ArgWidth = ArgType->getNumElements(); in visitCallInst() local
2290 assert(RetWidth <= ArgWidth && "Unexpected input/return vector widths"); in visitCallInst()
2303 if (RetWidth < ArgWidth) { in visitCallInst()
2320 if (Value *V = SimplifyDemandedVectorEltsLow(Arg, ArgWidth, RetWidth)) { in visitCallInst()