| /minix3/external/bsd/llvm/dist/llvm/unittests/IR/ |
| H A 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()
|
| H A D | IRBuilderTest.cpp | 219 Builder.CreateShl(V, V, "", /* NUW */ false, /* NSW */ true)) in TEST_F() 229 Builder.CreateShl(V, V, "", /* NUW */ true, /* NSW */ false)) in TEST_F() 241 Builder.CreateShl(C, C, "", /* NUW */ false, /* NSW */ true)) in TEST_F() 251 Builder.CreateShl(C, C, "", /* NUW */ true, /* NSW */ false)) in TEST_F()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/CodeGen/ |
| H A 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()
|
| H A D | ForwardControlFlowIntegrity.cpp | 302 Value *Shl = TempBuilder.CreateShl(Sub, LeftShift); in rewriteFunctionPointer()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/ |
| H A D | InstCombineShifts.cpp | 194 V = IC.Builder->CreateShl(C, NumBits); in GetShiftedValue() 427 Builder->CreateShl(Op0BO->getOperand(0), Op1, Op0BO->getName()); in FoldShiftByConstant() 447 Builder->CreateShl(Op0BO->getOperand(0), Op1, in FoldShiftByConstant() 463 Builder->CreateShl(Op0BO->getOperand(1), Op1, Op0BO->getName()); in FoldShiftByConstant() 482 Builder->CreateShl(Op0BO->getOperand(1), Op1, Op0BO->getName()); in FoldShiftByConstant() 667 Value *Shift = Builder->CreateShl(X, ShiftDiffCst); in FoldShiftByConstant() 729 return BinaryOperator::CreateShl(ConstantExpr::getShl(C1, C2), A); in visitShl()
|
| H A D | InstCombineMulDivRem.cpp | 43 return IC.Builder->CreateShl(One, A); in simplifyValueKnownNonZero() 220 BinaryOperator *Shl = BinaryOperator::CreateShl(NewOp, NewCst); in visitMul() 343 BO = BinaryOperator::CreateShl(Op1, Y); in visitMul() 346 BO = BinaryOperator::CreateShl(Op0, Y); in visitMul()
|
| H A D | InstCombineCasts.cpp | 967 In = Builder->CreateShl(In, in transformSExtICmp() 1089 return BinaryOperator::CreateAShr(Builder->CreateShl(Res, ShAmt, "sext"), in visitSExt() 1102 Value *Res = Builder->CreateShl(TI->getOperand(0), ShAmt, "sext"); in visitSExt() 1132 A = Builder->CreateShl(A, ShAmtV, CI.getName()); in visitSExt()
|
| H A D | InstCombineAddSub.cpp | 1101 Value *NewShl = Builder->CreateShl(XorLHS, ShAmt, "sext"); in visitAdd() 1134 BinaryOperator::CreateShl(LHS, ConstantInt::get(I.getType(), 1)); in visitAdd() 1645 return BinaryOperator::CreateShl(XNeg, Y); in visitSub()
|
| H A D | InstCombineSimplifyDemanded.cpp | 850 NewVal = BinaryOperator::CreateShl(II->getArgOperand(0), in SimplifyDemandedUseBits() 938 New = BinaryOperator::CreateShl(VarX, Amt); in SimplifyShrShlDemandedBits()
|
| H A D | InstCombineSelect.cpp | 425 V = Builder->CreateShl(V, C2Log - C1Log); in foldSelectICmpAndOr() 834 V = Builder->CreateShl(V, ValZeros - AndZeros); in foldSelectICmpAnd()
|
| H A D | InstCombineCalls.cpp | 680 return BinaryOperator::CreateShl(Vec, in visitCallInst()
|
| H A D | InstCombineCompares.cpp | 1371 NS = Builder->CreateShl(AndCst, Shift->getOperand(1)); in visitICmpInstWithInstAndIntCst() 1412 NewOr = Builder->CreateOr(Builder->CreateShl(One, Y, in visitICmpInstWithInstAndIntCst()
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Utils/ |
| H A 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()
|
| /minix3/external/bsd/llvm/dist/llvm/include/llvm/IR/ |
| H A D | NoFolder.h | 118 Instruction *CreateShl(Constant *LHS, Constant *RHS, bool HasNUW = false, 120 BinaryOperator *BO = BinaryOperator::CreateShl(LHS, RHS);
|
| H A D | ConstantFolder.h | 75 Constant *CreateShl(Constant *LHS, Constant *RHS,
|
| H A D | IRBuilder.h | 806 Value *CreateShl(Value *LHS, Value *RHS, const Twine &Name = "", 810 return Insert(Folder.CreateShl(LC, RC, HasNUW, HasNSW), Name); 814 Value *CreateShl(Value *LHS, const APInt &RHS, const Twine &Name = "", 816 return CreateShl(LHS, ConstantInt::get(LHS->getType(), RHS), Name, 819 Value *CreateShl(Value *LHS, uint64_t RHS, const Twine &Name = "", 821 return CreateShl(LHS, ConstantInt::get(LHS->getType(), RHS), Name,
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | SeparateConstOffsetFromGEP.cpp | 766 Idx = Builder.CreateShl( in lowerToSingleIndexGEPs() 813 Idx = Builder.CreateShl( in lowerToArithmetics()
|
| H A D | ScalarReplAggregates.cpp | 862 FromVal = Builder.CreateShl(FromVal, in ConvertScalar_ExtractValue() 1008 SV = Builder.CreateShl(SV, ConstantInt::get(SV->getType(), ShAmt)); in ConvertScalar_InsertValue() 2523 SrcField = BinaryOperator::CreateShl(SrcField, ShiftVal, "", LI); in RewriteLoadUserOfWholeAlloca()
|
| H A D | GVN.cpp | 1240 Value *ShVal = Builder.CreateShl(Val, NumBytesSet*8); in GetMemInstValueForLoad() 1247 Value *ShVal = Builder.CreateShl(Val, 1*8); in GetMemInstValueForLoad()
|
| /minix3/external/bsd/llvm/dist/llvm/include/llvm/Analysis/ |
| H A D | TargetFolder.h | 89 Constant *CreateShl(Constant *LHS, Constant *RHS,
|
| /minix3/external/bsd/llvm/dist/llvm/include/llvm/MC/ |
| H A D | MCExpr.h | 492 static const MCBinaryExpr *CreateShl(const MCExpr *LHS, const MCExpr *RHS, in CreateShl() function
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Transforms/Instrumentation/ |
| H A D | AddressSanitizer.cpp | 568 return ASan.DL->isLittleEndian() ? IRB.CreateShl(Val, Shift) in shiftAllocaMagic() 1921 PartialBits = IRB.CreateShl(PartialBits, IRB.getInt32(24)); in computePartialRzMagic()
|
| H A D | MemorySanitizer.cpp | 1559 Value *SaOtherBits = IRB.CreateLShr(IRB.CreateShl(Sa, 1), 1); in getLowestPossibleValue() 1576 Value *SaOtherBits = IRB.CreateLShr(IRB.CreateShl(Sa, 1), 1); in getHighestPossibleValue()
|
| /minix3/external/bsd/llvm/dist/clang/lib/CodeGen/ |
| H A D | CGExpr.cpp | 1344 Val = Builder.CreateShl(Val, HighBits, "bf.shl"); in EmitLoadOfBitfieldLValue() 1562 SrcVal = Builder.CreateShl(SrcVal, Info.Offset, "bf.shl"); in EmitStoreThroughBitfieldLValue() 1591 ResultVal = Builder.CreateShl(ResultVal, HighBits, "bf.result.shl"); in EmitStoreThroughBitfieldLValue()
|
| H A D | CGBuiltin.cpp | 2935 return Builder.CreateShl(Builder.CreateBitCast(Ops[0],Ty), Ops[1], in EmitCommonNeonBuiltinExpr() 2945 return Builder.CreateShl(Ops[0], Ops[1], "vshll_n"); in EmitCommonNeonBuiltinExpr() 3255 Val = Builder.CreateShl(Val0, ShiftCst, "shl", true /* nuw */); in EmitARMBuiltinExpr() 4030 Val = Builder.CreateShl(Val0, ShiftCst, "shl", true /* nuw */); in EmitAArch64BuiltinExpr() 4538 return Builder.CreateShl( in EmitAArch64BuiltinExpr()
|