Home
last modified time | relevance | path

Searched refs:CreateXor (Results 1 – 25 of 67) sorted by relevance

123

/external/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp60 Value *DvdXor = Builder.CreateXor(Dividend, DividendSign); in generateSignedRemainderCode()
61 Value *DvsXor = Builder.CreateXor(Divisor, DivisorSign); in generateSignedRemainderCode()
65 Value *Xored = Builder.CreateXor(URem, DividendSign); in generateSignedRemainderCode()
133 Value *Tmp2 = Builder.CreateXor(Tmp, Dividend); in generateSignedDivisionCode()
135 Value *Tmp3 = Builder.CreateXor(Tmp1, Divisor); in generateSignedDivisionCode()
137 Value *Q_Sgn = Builder.CreateXor(Tmp1, Tmp); in generateSignedDivisionCode()
139 Value *Tmp4 = Builder.CreateXor(Q_Mag, Q_Sgn); in generateSignedDivisionCode()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp60 Value *DvdXor = Builder.CreateXor(Dividend, DividendSign); in generateSignedRemainderCode()
61 Value *DvsXor = Builder.CreateXor(Divisor, DivisorSign); in generateSignedRemainderCode()
65 Value *Xored = Builder.CreateXor(URem, DividendSign); in generateSignedRemainderCode()
133 Value *Tmp2 = Builder.CreateXor(Tmp, Dividend); in generateSignedDivisionCode()
135 Value *Tmp3 = Builder.CreateXor(Tmp1, Divisor); in generateSignedDivisionCode()
137 Value *Q_Sgn = Builder.CreateXor(Tmp1, Tmp); in generateSignedDivisionCode()
139 Value *Tmp4 = Builder.CreateXor(Q_Mag, Q_Sgn); in generateSignedDivisionCode()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp141 BinOp = Builder->CreateXor(NewLHS, NewRHS); in SimplifyBSwap()
165 return BinaryOperator::CreateXor(And, Together); in OptAndOp()
217 return BinaryOperator::CreateXor(NewAnd, AndRHS); in OptAndOp()
1447 return BinaryOperator::CreateXor(A, B); in visitAnd()
1453 return BinaryOperator::CreateXor(A, B); in visitAnd()
1646 return Builder.CreateXor(Cond, AC); in getSelectCondition()
2116 return BinaryOperator::CreateXor(NewOp, V1); in FoldXorWithConstants()
2162 return BinaryOperator::CreateXor(Or, in visitOr()
2189 return BinaryOperator::CreateXor(NOr, C1); in visitOr()
2198 return BinaryOperator::CreateXor(NOr, C1); in visitOr()
[all …]
DInstCombineCasts.cpp606 In = Builder->CreateXor(In, One, In->getName() + ".not"); in transformZExtICmp()
653 In = Builder->CreateXor(In, One); in transformZExtICmp()
683 Value *Result = Builder->CreateXor(LHS, RHS); in transformZExtICmp()
695 Result = Builder->CreateXor(Result, ConstantInt::get(ITy, 1)); in transformZExtICmp()
952 return BinaryOperator::CreateXor(Builder->CreateAnd(X, ZC), ZC); in visitZExt()
960 return BinaryOperator::CreateXor(New, ConstantInt::get(CI.getType(), 1)); in visitZExt()
DInstCombineAddSub.cpp1049 return BinaryOperator::CreateXor(LHS, RHS); in visitAdd()
1111 return BinaryOperator::CreateXor(LHS, RHS); in visitAdd()
1504 return BinaryOperator::CreateXor(Op0, Op1); in visitSub()
1566 return BinaryOperator::CreateXor(Op1, C); in visitSub()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp153 return BinaryOperator::CreateXor(NewAnd, AndRHS); in OptAndOp()
1293 return BinaryOperator::CreateXor(A, B); in foldAndToXor()
1302 return BinaryOperator::CreateNot(Builder.CreateXor(A, B)); in foldAndToXor()
1320 return BinaryOperator::CreateNot(Builder.CreateXor(A, B)); in foldOrToXor()
1328 return BinaryOperator::CreateXor(A, B); in foldOrToXor()
1448 return BinaryOperator::CreateXor(And, NewC); in visitAnd()
1744 return Builder.CreateXor(Cond, AC); in getSelectCondition()
2045 return BinaryOperator::CreateXor(NOr, in visitOr()
2054 return BinaryOperator::CreateXor(NOr, in visitOr()
2113 return BinaryOperator::CreateXor(Builder.CreateAnd(X, C1), B); in visitOr()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineAndOrXor.cpp209 return BinaryOperator::CreateXor(And, Together); in OptAndOp()
261 return BinaryOperator::CreateXor(NewAnd, AndRHS); in OptAndOp()
1169 return BinaryOperator::CreateXor(A, B); in visitAnd()
1175 return BinaryOperator::CreateXor(A, B); in visitAnd()
1788 return BinaryOperator::CreateXor(Or, in visitOr()
1822 return BinaryOperator::CreateXor(NOr, C1); in visitOr()
1831 return BinaryOperator::CreateXor(NOr, C1); in visitOr()
1914 return BinaryOperator::CreateXor(A, D); in visitOr()
1918 return BinaryOperator::CreateXor(C, D); in visitOr()
1922 return BinaryOperator::CreateXor(A, B); in visitOr()
[all …]
DInstCombineAddSub.cpp102 return BinaryOperator::CreateXor(LHS, RHS); in visitAdd()
147 return BinaryOperator::CreateXor(LHS, RHS); in visitAdd()
549 return BinaryOperator::CreateXor(Op0, Op1); in visitSub()
DInstCombineCasts.cpp526 In = Builder->CreateXor(In, One, In->getName()+".not"); in transformZExtICmp()
576 In = Builder->CreateXor(In, One); in transformZExtICmp()
607 Value *Result = Builder->CreateXor(LHS, RHS); in transformZExtICmp()
619 Result = Builder->CreateXor(Result, ConstantInt::get(ITy, 1)); in transformZExtICmp()
872 return BinaryOperator::CreateXor(NewAnd, ZC); in visitZExt()
882 return BinaryOperator::CreateXor(New, ConstantInt::get(CI.getType(), 1)); in visitZExt()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUCodeGenPrepare.cpp535 JQ = Builder.CreateXor(Num, Den); in expandDivRem24()
656 Sign = IsDiv ? Builder.CreateXor(LHSign, RHSign) : LHSign; in expandDivRem32()
661 Num = Builder.CreateXor(Num, LHSign); in expandDivRem32()
662 Den = Builder.CreateXor(Den, RHSign); in expandDivRem32()
747 Res = Builder.CreateXor(Res, Sign); in expandDivRem32()
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DNoFolder.h143 Instruction *CreateXor(Constant *LHS, Constant *RHS) const { in CreateXor() function
144 return BinaryOperator::CreateXor(LHS, RHS); in CreateXor()
DIRBuilder.h696 Value *CreateXor(Value *LHS, Value *RHS, const Twine &Name = "") {
699 return Insert(Folder.CreateXor(LC, RC), Name);
700 return Insert(BinaryOperator::CreateXor(LHS, RHS), Name);
702 Value *CreateXor(Value *LHS, const APInt &RHS, const Twine &Name = "") {
703 return CreateXor(LHS, ConstantInt::get(LHS->getType(), RHS), Name);
705 Value *CreateXor(Value *LHS, uint64_t RHS, const Twine &Name = "") {
706 return CreateXor(LHS, ConstantInt::get(LHS->getType(), RHS), Name);
DConstantFolder.h93 Constant *CreateXor(Constant *LHS, Constant *RHS) const { in CreateXor() function
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DNoFolder.h170 Instruction *CreateXor(Constant *LHS, Constant *RHS) const { in CreateXor() function
171 return BinaryOperator::CreateXor(LHS, RHS); in CreateXor()
DConstantFolder.h112 Constant *CreateXor(Constant *LHS, Constant *RHS) const { in CreateXor() function
/external/llvm/include/llvm/IR/
DNoFolder.h143 Instruction *CreateXor(Constant *LHS, Constant *RHS) const { in CreateXor() function
144 return BinaryOperator::CreateXor(LHS, RHS); in CreateXor()
DIRBuilder.h984 Value *CreateXor(Value *LHS, Value *RHS, const Twine &Name = "") {
987 return Insert(Folder.CreateXor(LC, RC), Name);
988 return Insert(BinaryOperator::CreateXor(LHS, RHS), Name);
990 Value *CreateXor(Value *LHS, const APInt &RHS, const Twine &Name = "") {
991 return CreateXor(LHS, ConstantInt::get(LHS->getType(), RHS), Name);
993 Value *CreateXor(Value *LHS, uint64_t RHS, const Twine &Name = "") {
994 return CreateXor(LHS, ConstantInt::get(LHS->getType(), RHS), Name);
DConstantFolder.h93 Constant *CreateXor(Constant *LHS, Constant *RHS) const { in CreateXor() function
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DHWAddressSanitizer.cpp574 IRB.CreateXor(StackPointerLong, IRB.CreateLShr(StackPointerLong, 20), in getStackBaseTag()
583 return IRB.CreateXor(StackTag, in getAllocaTag()
592 return IRB.CreateXor(StackTag, ConstantInt::get(IntptrTy, 0xFFU)); in getUARTag()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLowerAtomic.cpp68 Res = Builder.CreateXor(Orig, Val); in LowerAtomicRMWInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLowerAtomic.cpp72 Res = Builder.CreateXor(Orig, Val); in LowerAtomicRMWInst()
/external/llvm/lib/Transforms/Scalar/
DLowerAtomic.cpp73 Res = Builder.CreateXor(Orig, Val); in LowerAtomicRMWInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86WinEHState.cpp341 LSDA = Builder.CreateXor(LSDA, Val); in emitExceptionRegistrationRecord()
352 FrameAddrI32 = Builder.CreateXor(FrameAddrI32, Val); in emitExceptionRegistrationRecord()
/external/llvm/lib/Target/X86/
DX86WinEHState.cpp335 LSDA = Builder.CreateXor(LSDA, Val); in emitExceptionRegistrationRecord()
346 FrameAddrI32 = Builder.CreateXor(FrameAddrI32, Val); in emitExceptionRegistrationRecord()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DTargetFolder.h104 Constant *CreateXor(Constant *LHS, Constant *RHS) const { in CreateXor() function

123