Searched refs:ShiftVec (Results 1 – 2 of 2) sorted by relevance
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 317 auto ShiftVec = Builder.CreateVectorSplat(VWidth, ShiftAmt); in simplifyX86immShift() local 320 return Builder.CreateShl(Vec, ShiftVec); in simplifyX86immShift() 323 return Builder.CreateLShr(Vec, ShiftVec); in simplifyX86immShift() 325 return Builder.CreateAShr(Vec, ShiftVec); in simplifyX86immShift() 428 auto ShiftVec = ConstantVector::get(ShiftVecAmts); in simplifyX86varShift() local 431 return Builder.CreateShl(Vec, ShiftVec); in simplifyX86varShift() 434 return Builder.CreateLShr(Vec, ShiftVec); in simplifyX86varShift() 436 return Builder.CreateAShr(Vec, ShiftVec); in simplifyX86varShift()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineCalls.cpp | 366 auto ShiftVec = Builder.CreateVectorSplat(VWidth, ShiftAmt); in simplifyX86immShift() local 369 return Builder.CreateShl(Vec, ShiftVec); in simplifyX86immShift() 372 return Builder.CreateLShr(Vec, ShiftVec); in simplifyX86immShift() 374 return Builder.CreateAShr(Vec, ShiftVec); in simplifyX86immShift() 493 auto ShiftVec = ConstantVector::get(ShiftVecAmts); in simplifyX86varShift() local 496 return Builder.CreateShl(Vec, ShiftVec); in simplifyX86varShift() 499 return Builder.CreateLShr(Vec, ShiftVec); in simplifyX86varShift() 501 return Builder.CreateAShr(Vec, ShiftVec); in simplifyX86varShift()
|