Home
last modified time | relevance | path

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

12

/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/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()
DInstCombineSelect.cpp353 V = Builder->CreateXor(V, *C2); in foldSelectICmpAndOr()
832 V = Builder->CreateXor(V, ValC); in foldSelectICmpAnd()
DInstCombineCompares.cpp3197 Value *Xor = Builder->CreateXor(Op0, Op1, I.getName() + "tmp"); in visitICmpInst()
3201 return BinaryOperator::CreateXor(Op0, Op1); in visitICmpInst()
4148 Value *Xor = Builder->CreateXor(C, NC); in visitICmpInst()
4184 Op1 = Builder->CreateXor(X, Y); in visitICmpInst()
4220 Value *Xor = Builder->CreateXor(A, B, I.getName() + ".unshifted"); in visitICmpInst()
4232 Value *Xor = Builder->CreateXor(A, B, I.getName() + ".unshifted"); in visitICmpInst()
/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()
DInstCombineCompares.cpp1797 Value *Xor = Builder->CreateXor(Op0, Op1, I.getName()+"tmp"); in visitICmpInst()
1801 return BinaryOperator::CreateXor(Op0, Op1); in visitICmpInst()
2487 Value *Xor = Builder->CreateXor(C, NC); in visitICmpInst()
2523 Op1 = Builder->CreateXor(X, Y); in visitICmpInst()
/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
DTargetFolder.h105 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/lib/Transforms/Scalar/
DLowerAtomic.cpp68 Res = Builder.CreateXor(Orig, Val); in LowerAtomicRMWInst()
/external/llvm/lib/Transforms/Scalar/
DLowerAtomic.cpp73 Res = Builder.CreateXor(Orig, Val); in LowerAtomicRMWInst()
/external/llvm/lib/Target/X86/
DX86WinEHState.cpp335 LSDA = Builder.CreateXor(LSDA, Val); in emitExceptionRegistrationRecord()
346 FrameAddrI32 = Builder.CreateXor(FrameAddrI32, Val); in emitExceptionRegistrationRecord()
/external/llvm/include/llvm/Analysis/
DTargetFolder.h105 Constant *CreateXor(Constant *LHS, Constant *RHS) const { in CreateXor() function
/external/swiftshader/third_party/LLVM/include/llvm/MC/
DMCExpr.h390 static const MCBinaryExpr *CreateXor(const MCExpr *LHS, const MCExpr *RHS, in CreateXor() function
/external/llvm/lib/Transforms/Instrumentation/
DMemorySanitizer.cpp951 IRB.CreateXor(OffsetLong, ConstantInt::get(MS.IntptrTy, XorMask)); in getShadowPtrOffset()
1704 Value *C = IRB.CreateXor(A, B); in handleEqualityComparison()
1716 IRB.CreateAnd(IRB.CreateXor(Sc, MinusOne), C), Zero)); in handleEqualityComparison()
1729 Value *SaSignBit = IRB.CreateXor(Sa, SaOtherBits); in getLowestPossibleValue()
1746 Value *SaSignBit = IRB.CreateXor(Sa, SaOtherBits); in getHighestPossibleValue()
1784 Value *Si = IRB.CreateXor(S1, S2); in handleRelationalComparisonExact()
2748 Sa1 = IRB.CreateOr(IRB.CreateXor(C, D), IRB.CreateOr(Sc, Sd)); in visitSelectInst()
/external/llvm/lib/CodeGen/
DAtomicExpandPass.cpp507 return Builder.CreateXor(Loaded, Inc, "new"); in performAtomicOp()
625 Builder.CreateShl(Builder.CreateXor(PtrLSB, WordSize - ValueSize), 3); in createMaskInstrs()
/external/llvm/lib/IR/
DAutoUpgrade.cpp887 Value *NotSel = Builder.CreateXor(Sel, MinusOne); in UpgradeIntrinsicCall()
1202 Rep = Builder.CreateXor(CI->getArgOperand(0), CI->getArgOperand(1)); in UpgradeIntrinsicCall()

12