Home
last modified time | relevance | path

Searched refs:CreateAShr (Results 1 – 25 of 31) sorted by relevance

12

/external/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp58 Value *DividendSign = Builder.CreateAShr(Dividend, Shift); in generateSignedRemainderCode()
59 Value *DivisorSign = Builder.CreateAShr(Divisor, Shift); in generateSignedRemainderCode()
131 Value *Tmp = Builder.CreateAShr(Dividend, Shift); in generateSignedDivisionCode()
132 Value *Tmp1 = Builder.CreateAShr(Divisor, Shift); in generateSignedDivisionCode()
316 Value *Tmp10 = Builder.CreateAShr(Tmp9, MSB); in generateUnsignedDivisionCode()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DNoFolder.h131 Instruction *CreateAShr(Constant *LHS, Constant *RHS,
134 return BinaryOperator::CreateAShr(LHS, RHS);
DIRBuilder.h646 Value *CreateAShr(Value *LHS, Value *RHS, const Twine &Name = "",
650 return Insert(Folder.CreateAShr(LC, RC, isExact), Name);
652 return Insert(BinaryOperator::CreateAShr(LHS, RHS), Name);
655 Value *CreateAShr(Value *LHS, const APInt &RHS, const Twine &Name = "",
657 return CreateAShr(LHS, ConstantInt::get(LHS->getType(), RHS), Name,isExact);
659 Value *CreateAShr(Value *LHS, uint64_t RHS, const Twine &Name = "",
661 return CreateAShr(LHS, ConstantInt::get(LHS->getType(), RHS), Name,isExact);
DConstantFolder.h83 Constant *CreateAShr(Constant *LHS, Constant *RHS,
DTargetFolder.h96 Constant *CreateAShr(Constant *LHS, Constant *RHS, bool isExact = false)const{
/external/llvm/include/llvm/IR/
DNoFolder.h131 Instruction *CreateAShr(Constant *LHS, Constant *RHS,
134 return BinaryOperator::CreateAShr(LHS, RHS);
DIRBuilder.h934 Value *CreateAShr(Value *LHS, Value *RHS, const Twine &Name = "",
938 return Insert(Folder.CreateAShr(LC, RC, isExact), Name);
940 return Insert(BinaryOperator::CreateAShr(LHS, RHS), Name);
943 Value *CreateAShr(Value *LHS, const APInt &RHS, const Twine &Name = "",
945 return CreateAShr(LHS, ConstantInt::get(LHS->getType(), RHS), Name,isExact);
947 Value *CreateAShr(Value *LHS, uint64_t RHS, const Twine &Name = "",
949 return CreateAShr(LHS, ConstantInt::get(LHS->getType(), RHS), Name,isExact);
DConstantFolder.h83 Constant *CreateAShr(Constant *LHS, Constant *RHS,
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineCasts.cpp902 Value *In = Builder->CreateAShr(Op0, Sh, Op0->getName()+".lobit"); in transformSExtICmp()
957 In = Builder->CreateAShr(In, ConstantInt::get(In->getType(), in transformSExtICmp()
976 Value *In = Builder->CreateAShr(Op0, VSh, Op0->getName()+".lobit"); in transformSExtICmp()
1091 return BinaryOperator::CreateAShr(Builder->CreateShl(Res, ShAmt, "sext"), in visitSExt()
1105 return BinaryOperator::CreateAShr(Res, ShAmt); in visitSExt()
1135 return BinaryOperator::CreateAShr(A, ShAmtV); in visitSExt()
DInstCombineAddSub.cpp137 return BinaryOperator::CreateAShr(NewShl, ShAmt); in visitAdd()
568 return BinaryOperator::CreateAShr(X, CI); in visitSub()
DInstCombineSelect.cpp465 Value *AShr = Builder->CreateAShr(CmpLHS, Ty->getBitWidth()-1); in visitSelectInstWithICmp()
DInstCombineAndOrXor.cpp2115 return BinaryOperator::CreateAShr(Op0NotVal, Op0I->getOperand(1)); in visitXor()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineCasts.cpp559 Value *Shift = Builder->CreateAShr(A, Cst->getZExtValue()); in visitTrunc()
983 Value *In = Builder->CreateAShr(Op0, Sh, Op0->getName()+".lobit"); in transformSExtICmp()
1039 In = Builder->CreateAShr(In, ConstantInt::get(In->getType(), in transformSExtICmp()
1165 return BinaryOperator::CreateAShr(Builder->CreateShl(Res, ShAmt, "sext"), in visitSExt()
1179 return BinaryOperator::CreateAShr(Res, ShAmt); in visitSExt()
1209 return BinaryOperator::CreateAShr(A, ShAmtV); in visitSExt()
DInstCombineAddSub.cpp1084 return BinaryOperator::CreateAShr(NewShl, ShAmt); in visitAdd()
1549 return BinaryOperator::CreateAShr(X, CI); in visitSub()
DInstCombineSimplifyDemanded.cpp887 BinaryOperator::CreateAShr(VarX, Amt); in SimplifyShrShlDemandedBits()
DInstCombineSelect.cpp529 Value *AShr = Builder->CreateAShr(CmpLHS, Ty->getBitWidth()-1); in visitSelectInstWithICmp()
DInstCombineCalls.cpp325 return Builder.CreateAShr(Vec, ShiftVec); in simplifyX86immShift()
436 return Builder.CreateAShr(Vec, ShiftVec); in simplifyX86varShift()
DInstCombineAndOrXor.cpp2533 return BinaryOperator::CreateAShr(Op0NotVal, Op0I->getOperand(1)); in visitXor()
/external/llvm/include/llvm/Analysis/
DTargetFolder.h96 Constant *CreateAShr(Constant *LHS, Constant *RHS, bool isExact = false)const{
/external/llvm/lib/CodeGen/
DCodeGenPrepare.cpp1024 InsertedShift = BinaryOperator::CreateAShr(ShiftI->getOperand(0), CI, in SinkShiftAndTruncate()
1123 InsertedShift = BinaryOperator::CreateAShr(ShiftI->getOperand(0), CI, in OptimizeExtractBits()
/external/clang/lib/CodeGen/
DCGExpr.cpp1501 Val = Builder.CreateAShr(Val, Info.Offset + HighBits, "bf.ashr"); in EmitLoadOfBitfieldLValue()
1739 ResultVal = Builder.CreateAShr(ResultVal, HighBits, "bf.result.ashr"); in EmitStoreThroughBitfieldLValue()
DCGBuiltin.cpp2621 return Builder.CreateAShr(Vec, Shift, name); in EmitNeonRShiftImm()
3640 Ops[0] = Builder.CreateAShr(Ops[0], Ops[1]); in EmitCommonNeonBuiltinExpr()
5430 return Builder.CreateAShr( in EmitAArch64BuiltinExpr()
5446 Ops[1] = Builder.CreateAShr( in EmitAArch64BuiltinExpr()
DItaniumCXXABI.cpp545 Adj = Builder.CreateAShr(Adj, ptrdiff_1, "memptr.adj.shifted"); in EmitLoadOfMemberFunctionPointer()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DCore.cpp1932 return wrap(unwrap(B)->CreateAShr(unwrap(LHS), unwrap(RHS), Name)); in LLVMBuildAShr()
/external/llvm/lib/IR/
DCore.cpp2641 return wrap(unwrap(B)->CreateAShr(unwrap(LHS), unwrap(RHS), Name)); in LLVMBuildAShr()

12