/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/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/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()
|
D | InstCombineCasts.cpp | 953 In = Builder->CreateShl(In, in transformSExtICmp() 1091 return BinaryOperator::CreateAShr(Builder->CreateShl(Res, ShAmt, "sext"), in visitSExt() 1104 Value *Res = Builder->CreateShl(TI->getOperand(0), ShAmt, "sext"); in visitSExt() 1134 A = Builder->CreateShl(A, ShAmtV, CI.getName()); in visitSExt()
|
/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()
|
D | InstCombineMulDivRem.cpp | 43 return IC.Builder->CreateShl(One, A); in simplifyValueKnownNonZero() 228 BinaryOperator *Shl = BinaryOperator::CreateShl(NewOp, NewCst); in visitMul() 354 BO = BinaryOperator::CreateShl(Op1, Y); in visitMul() 357 BO = BinaryOperator::CreateShl(Op0, Y); in visitMul()
|
D | InstCombineCasts.cpp | 1035 In = Builder->CreateShl(In, in transformSExtICmp() 1165 return BinaryOperator::CreateAShr(Builder->CreateShl(Res, ShAmt, "sext"), in visitSExt() 1178 Value *Res = Builder->CreateShl(TI->getOperand(0), ShAmt, "sext"); in visitSExt() 1208 A = Builder->CreateShl(A, ShAmtV, CI.getName()); in visitSExt()
|
/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/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,
|
D | ConstantFolder.h | 75 Constant *CreateShl(Constant *LHS, Constant *RHS,
|
D | TargetFolder.h | 89 Constant *CreateShl(Constant *LHS, Constant *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);
|
D | IRBuilder.h | 897 Value *CreateShl(Value *LHS, Value *RHS, const Twine &Name = "", 901 return Insert(Folder.CreateShl(LC, RC, HasNUW, HasNSW), Name); 905 Value *CreateShl(Value *LHS, const APInt &RHS, const Twine &Name = "", 907 return CreateShl(LHS, ConstantInt::get(LHS->getType(), RHS), Name, 910 Value *CreateShl(Value *LHS, uint64_t RHS, const Twine &Name = "", 912 return CreateShl(LHS, ConstantInt::get(LHS->getType(), RHS), Name,
|
D | ConstantFolder.h | 75 Constant *CreateShl(Constant *LHS, Constant *RHS,
|
/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()
|
D | SeparateConstOffsetFromGEP.cpp | 802 Idx = Builder.CreateShl( in lowerToSingleIndexGEPs() 863 Idx = Builder.CreateShl( in lowerToArithmetics()
|
/external/llvm/include/llvm/Analysis/ |
D | TargetFolder.h | 89 Constant *CreateShl(Constant *LHS, Constant *RHS,
|
/external/swiftshader/third_party/LLVM/include/llvm/MC/ |
D | MCExpr.h | 378 static const MCBinaryExpr *CreateShl(const MCExpr *LHS, const MCExpr *RHS, in CreateShl() function
|