/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 263 V = IC.Builder.CreateShl(C, NumBits); in getShiftedValue() 440 Builder.CreateShl(Op0BO->getOperand(0), Op1, Op0BO->getName()); in FoldShiftByConstant() 460 Builder.CreateShl(Op0BO->getOperand(0), Op1, Op0BO->getName()); in FoldShiftByConstant() 475 Builder.CreateShl(Op0BO->getOperand(1), Op1, Op0BO->getName()); in FoldShiftByConstant() 494 Builder.CreateShl(Op0BO->getOperand(1), Op1, Op0BO->getName()); in FoldShiftByConstant() 532 Value *NewShift = Builder.CreateShl(Op0BO->getOperand(1), Op1); in FoldShiftByConstant() 616 return new ZExtInst(Builder.CreateShl(X, ShAmt), Ty); in visitShl() 633 auto *NewShl = BinaryOperator::CreateShl(X, ShiftDiff); in visitShl() 653 return BinaryOperator::CreateShl(X, ConstantInt::get(Ty, AmtSum)); in visitShl() 675 Value *Mask = Builder.CreateShl(AllOnes, Op1); in visitShl() [all …]
|
/external/llvm/lib/CodeGen/ |
D | IntrinsicLowering.cpp | 176 Value *Tmp1 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8), in LowerBSWAP() 184 Value *Tmp4 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 24), in LowerBSWAP() 186 Value *Tmp3 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8), in LowerBSWAP() 204 Value *Tmp8 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 56), in LowerBSWAP() 206 Value *Tmp7 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 40), in LowerBSWAP() 208 Value *Tmp6 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 24), in LowerBSWAP() 210 Value *Tmp5 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8), in LowerBSWAP()
|
D | AtomicExpandPass.cpp | 621 Ret.ShiftAmt = Builder.CreateShl(PtrLSB, 3); in createMaskInstrs() 625 Builder.CreateShl(Builder.CreateXor(PtrLSB, WordSize - ValueSize), 3); in createMaskInstrs() 629 Ret.Mask = Builder.CreateShl( in createMaskInstrs() 676 Value *NewVal_Shiftup = Builder.CreateShl( in performMaskedAtomicOp() 708 Builder.CreateShl(Builder.CreateZExt(AI->getValOperand(), PMV.WordType), in expandPartwordAtomicRMW() 790 Builder.CreateShl(Builder.CreateZExt(NewVal, PMV.WordType), PMV.ShiftAmt); in expandPartwordCmpXchg() 792 Builder.CreateShl(Builder.CreateZExt(Cmp, PMV.WordType), PMV.ShiftAmt); in expandPartwordCmpXchg()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | IntrinsicLowering.cpp | 176 Value *Tmp1 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8), in LowerBSWAP() 184 Value *Tmp4 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 24), in LowerBSWAP() 186 Value *Tmp3 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8), in LowerBSWAP() 204 Value *Tmp8 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 56), in LowerBSWAP() 206 Value *Tmp7 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 40), in LowerBSWAP() 208 Value *Tmp6 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 24), in LowerBSWAP() 210 Value *Tmp5 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8), in LowerBSWAP()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | IntrinsicLowering.cpp | 175 Value *Tmp1 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8), in LowerBSWAP() 183 Value *Tmp4 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 24), in LowerBSWAP() 185 Value *Tmp3 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8), in LowerBSWAP() 203 Value *Tmp8 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 56), in LowerBSWAP() 205 Value *Tmp7 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 40), in LowerBSWAP() 207 Value *Tmp6 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 24), in LowerBSWAP() 209 Value *Tmp5 = Builder.CreateShl(V, ConstantInt::get(V->getType(), 8), in LowerBSWAP()
|
D | AtomicExpandPass.cpp | 631 Ret.ShiftAmt = Builder.CreateShl(PtrLSB, 3); in createMaskInstrs() 635 Builder.CreateShl(Builder.CreateXor(PtrLSB, WordSize - ValueSize), 3); in createMaskInstrs() 639 Ret.Mask = Builder.CreateShl( in createMaskInstrs() 686 Value *NewVal_Shiftup = Builder.CreateShl( in performMaskedAtomicOp() 717 Builder.CreateShl(Builder.CreateZExt(AI->getValOperand(), PMV.WordType), in expandPartwordAtomicRMW() 799 Builder.CreateShl(Builder.CreateZExt(NewVal, PMV.WordType), PMV.ShiftAmt); in expandPartwordCmpXchg() 801 Builder.CreateShl(Builder.CreateZExt(Cmp, PMV.WordType), PMV.ShiftAmt); in expandPartwordCmpXchg()
|
/external/llvm/unittests/IR/ |
D | PatternMatch.cpp | 245 IRB.CreateShl(L, R, "", /* NUW */ false, /* NSW */ true))); in TEST_F() 265 IRB.CreateShl(L, R, "", /* NUW */ true, /* NSW */ false))); in TEST_F() 278 EXPECT_FALSE(m_NSWShl(m_Value(), m_Value()).match(IRB.CreateShl(L, R))); in TEST_F() 280 IRB.CreateShl(L, R, "", /* NUW */ true, /* NSW */ false))); in TEST_F() 292 EXPECT_FALSE(m_NUWShl(m_Value(), m_Value()).match(IRB.CreateShl(L, R))); in TEST_F() 294 IRB.CreateShl(L, R, "", /* NUW */ false, /* NSW */ true))); in TEST_F()
|
D | IRBuilderTest.cpp | 268 Builder.CreateShl(V, V, "", /* NUW */ false, /* NSW */ true)) in TEST_F() 278 Builder.CreateShl(V, V, "", /* NUW */ true, /* NSW */ false)) in TEST_F() 290 Builder.CreateShl(C, C, "", /* NUW */ false, /* NSW */ true)) in TEST_F() 300 Builder.CreateShl(C, C, "", /* NUW */ true, /* NSW */ false)) in TEST_F()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 188 V = IC.Builder->CreateShl(C, NumBits); in GetShiftedValue() 419 Builder->CreateShl(Op0BO->getOperand(0), Op1, Op0BO->getName()); in FoldShiftByConstant() 436 Builder->CreateShl(Op0BO->getOperand(0), Op1, in FoldShiftByConstant() 452 Builder->CreateShl(Op0BO->getOperand(1), Op1, Op0BO->getName()); in FoldShiftByConstant() 469 Builder->CreateShl(Op0BO->getOperand(1), Op1, Op0BO->getName()); in FoldShiftByConstant() 579 Value *Shift = Builder->CreateShl(X, ConstantInt::get(Ty, ShiftDiff)); in FoldShiftByConstant() 616 Value *Shift = Builder->CreateShl(X, ConstantInt::get(Ty, ShiftDiff)); in FoldShiftByConstant() 662 return BinaryOperator::CreateShl(ConstantExpr::getShl(C1, C2), A); in visitShl()
|
D | InstCombineMulDivRem.cpp | 42 return IC.Builder->CreateShl(PowerOf2, A); in simplifyValueKnownNonZero() 124 BinaryOperator *Shl = BinaryOperator::CreateShl(Op0, NewCst); in visitMul() 227 return BinaryOperator::CreateShl(Op1, Y); in visitMul() 229 return BinaryOperator::CreateShl(Op0, Y); in visitMul()
|
D | InstCombineAddSub.cpp | 136 Value *NewShl = Builder->CreateShl(XorLHS, ShAmt, "sext"); in visitAdd() 152 BinaryOperator::CreateShl(LHS, ConstantInt::get(I.getType(), 1)); in visitAdd() 629 return BinaryOperator::CreateShl(XNeg, Y); in visitSub()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 193 V = IC.Builder->CreateShl(C, NumBits); in GetShiftedValue() 431 Builder->CreateShl(Op0BO->getOperand(0), Op1, Op0BO->getName()); in FoldShiftByConstant() 451 Builder->CreateShl(Op0BO->getOperand(0), Op1, in FoldShiftByConstant() 467 Builder->CreateShl(Op0BO->getOperand(1), Op1, Op0BO->getName()); in FoldShiftByConstant() 486 Builder->CreateShl(Op0BO->getOperand(1), Op1, Op0BO->getName()); in FoldShiftByConstant() 671 Value *Shift = Builder->CreateShl(X, ShiftDiffCst); in FoldShiftByConstant() 733 return BinaryOperator::CreateShl(ConstantExpr::getShl(C1, C2), A); in visitShl()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/ |
D | PatternMatch.cpp | 340 IRB.CreateShl(L, R, "", /* NUW */ false, /* NSW */ true))); in TEST_F() 360 IRB.CreateShl(L, R, "", /* NUW */ true, /* NSW */ false))); in TEST_F() 373 EXPECT_FALSE(m_NSWShl(m_Value(), m_Value()).match(IRB.CreateShl(L, R))); in TEST_F() 375 IRB.CreateShl(L, R, "", /* NUW */ true, /* NSW */ false))); in TEST_F() 387 EXPECT_FALSE(m_NUWShl(m_Value(), m_Value()).match(IRB.CreateShl(L, R))); in TEST_F() 389 IRB.CreateShl(L, R, "", /* NUW */ false, /* NSW */ true))); in TEST_F()
|
D | IRBuilderTest.cpp | 352 Builder.CreateShl(V, V, "", /* NUW */ false, /* NSW */ true)) in TEST_F() 362 Builder.CreateShl(V, V, "", /* NUW */ true, /* NSW */ false)) in TEST_F() 374 Builder.CreateShl(C, C, "", /* NUW */ false, /* NSW */ true)) in TEST_F() 384 Builder.CreateShl(C, C, "", /* NUW */ true, /* NSW */ false)) in TEST_F()
|
/external/llvm/lib/Transforms/Utils/ |
D | IntegerDivision.cpp | 274 Value *Q = Builder.CreateShl(Dividend, Tmp2); in generateUnsignedDivisionCode() 310 Value *Tmp5 = Builder.CreateShl(R_1, One); in generateUnsignedDivisionCode() 313 Value *Tmp8 = Builder.CreateShl(Q_2, One); in generateUnsignedDivisionCode() 333 Value *Tmp13 = Builder.CreateShl(Q_3, One); in generateUnsignedDivisionCode()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | IntegerDivision.cpp | 274 Value *Q = Builder.CreateShl(Dividend, Tmp2); in generateUnsignedDivisionCode() 310 Value *Tmp5 = Builder.CreateShl(R_1, One); in generateUnsignedDivisionCode() 313 Value *Tmp8 = Builder.CreateShl(Q_2, One); in generateUnsignedDivisionCode() 333 Value *Tmp13 = Builder.CreateShl(Q_3, One); in generateUnsignedDivisionCode()
|
D | VNCoercion.cpp | 446 T *ShVal = Helper.CreateShl( in getMemInstValueForLoadHelper() 454 T *ShVal = Helper.CreateShl(Val, ConstantInt::get(Val->getType(), 1 * 8)); in getMemInstValueForLoadHelper()
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | NoFolder.h | 118 Instruction *CreateShl(Constant *LHS, Constant *RHS, bool HasNUW = false, 120 BinaryOperator *BO = BinaryOperator::CreateShl(LHS, RHS);
|
D | IRBuilder.h | 609 Value *CreateShl(Value *LHS, Value *RHS, const Twine &Name = "", 613 return Insert(Folder.CreateShl(LC, RC, HasNUW, HasNSW), Name); 617 Value *CreateShl(Value *LHS, const APInt &RHS, const Twine &Name = "", 619 return CreateShl(LHS, ConstantInt::get(LHS->getType(), RHS), Name, 622 Value *CreateShl(Value *LHS, uint64_t RHS, const Twine &Name = "", 624 return CreateShl(LHS, ConstantInt::get(LHS->getType(), RHS), Name,
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | NoFolder.h | 140 Instruction *CreateShl(Constant *LHS, Constant *RHS, bool HasNUW = false, 142 BinaryOperator *BO = BinaryOperator::CreateShl(LHS, RHS);
|
/external/llvm/include/llvm/IR/ |
D | NoFolder.h | 118 Instruction *CreateShl(Constant *LHS, Constant *RHS, bool HasNUW = false, 120 BinaryOperator *BO = BinaryOperator::CreateShl(LHS, RHS);
|
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/ |
D | sort_util.cc | 164 b->CreateShl(tiled_keys_index[dimension_to_sort], value_one); in EmitTiledCompareLoop() 173 auto cache_index = b->CreateShl(thread_id, value_one); in EmitTiledCompareLoop()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonGenExtract.cpp | 217 NewIn = IRB.CreateShl(NewIn, SL, CSL->getName()); in INITIALIZE_PASS_DEPENDENCY()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonGenExtract.cpp | 205 NewIn = IRB.CreateShl(NewIn, SL, CSL->getName()); in INITIALIZE_PASS_DEPENDENCY()
|
/external/llvm/lib/Transforms/Scalar/ |
D | StraightLineStrengthReduce.cpp | 576 return Builder.CreateShl(ExtendedStride, Exponent); in emitBump() 582 return Builder.CreateNeg(Builder.CreateShl(ExtendedStride, Exponent)); in emitBump()
|