reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/IR/IRBuilder.h
 1341     return CreateXor(LHS, ConstantInt::get(LHS->getType(), RHS), Name);
 1345     return CreateXor(LHS, ConstantInt::get(LHS->getType(), RHS), Name);
lib/CodeGen/AtomicExpandPass.cpp
  542     return Builder.CreateXor(Loaded, Inc, "new");
lib/CodeGen/ExpandMemCmp.cpp
  368       Diff = Builder.CreateXor(LoadSrc1, LoadSrc2);
lib/IR/AutoUpgrade.cpp
 1879       Rep = Builder.CreateXor(LHS, RHS);
 1885       Rep = Builder.CreateXor(LHS, RHS);
 2712       Rep = Builder.CreateXor(Builder.CreateBitCast(CI->getArgOperand(0), ITy),
lib/IR/Core.cpp
 3386   return wrap(unwrap(B)->CreateXor(unwrap(LHS), unwrap(RHS), Name));
lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp
  664     JQ = Builder.CreateXor(Num, Den);
  785     Sign = IsDiv ? Builder.CreateXor(LHSign, RHSign) : LHSign;
  790     Num = Builder.CreateXor(Num, LHSign);
  791     Den = Builder.CreateXor(Den, RHSign);
  876     Res = Builder.CreateXor(Res, Sign);
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
 1532     P0 = P = B.CreateXor(P, PV.M);
 1558     R = B.CreateXor(R, B.CreateIntCast(P0, R->getType(), false));
 1622       return B.CreateAnd(B.CreateXor(And0->getOperand(0), And1->getOperand(0)),
 1680       return IRBuilder<>(Ctx).CreateXor(I->getOperand(0), Msb);
 1757       return B.CreateAnd(B.CreateXor(And0->getOperand(0), And1), C0);
lib/Target/X86/X86WinEHState.cpp
  334       LSDA = Builder.CreateXor(LSDA, Val);
  348       FrameAddrI32 = Builder.CreateXor(FrameAddrI32, Val);
lib/Transforms/InstCombine/InstCombineAddSub.cpp
 1856       return BinaryOperator::CreateNeg(Builder.CreateXor(A, B));
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
 1622       return BinaryOperator::CreateNot(Builder.CreateXor(A, B));
 1640       return BinaryOperator::CreateNot(Builder.CreateXor(A, B));
 2159     return Builder.CreateXor(Cond, AConst);
 2792     return BinaryOperator::CreateNot(Builder.CreateXor(A, B));
 2832       return Builder.CreateICmpSLT(Builder.CreateXor(LHS0, RHS0), Zero);
 2841       return Builder.CreateICmpSGT(Builder.CreateXor(LHS0, RHS0), MinusOne);
lib/Transforms/InstCombine/InstCombineCasts.cpp
  869         In = Builder.CreateXor(In, One, In->getName() + ".not");
  912           In = Builder.CreateXor(In, One);
  941           Value *Result = Builder.CreateXor(LHS, RHS);
  953             Result = Builder.CreateXor(Result, ConstantInt::get(ITy, 1));
lib/Transforms/InstCombine/InstCombineCompares.cpp
 4140         Value *Xor = Builder.CreateXor(C, NC);
 4186       Op1 = Builder.CreateXor(X, Y);
 4218       Value *Xor = Builder.CreateXor(A, B, I.getName() + ".unshifted");
 4230       Value *Xor = Builder.CreateXor(A, B, I.getName() + ".unshifted");
 5260     return BinaryOperator::CreateNot(Builder.CreateXor(A, B));
lib/Transforms/InstCombine/InstCombineSelect.cpp
  185       return ExtraBitInTC ? Builder.CreateXor(V, C) : Builder.CreateOr(V, C);
  192       return ExtraBitInTC ? Builder.CreateOr(V, C) : Builder.CreateXor(V, C);
lib/Transforms/Instrumentation/ControlHeightReduction.cpp
 1969       Value *Negate = IRB.CreateXor(
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
  849       IRB.CreateXor(StackPointerLong, IRB.CreateLShr(StackPointerLong, 20),
  858   return IRB.CreateXor(StackTag,
  867   return IRB.CreateXor(StackTag, ConstantInt::get(IntptrTy, 0xFFU));
 1001     Value *WrapMask = IRB.CreateXor(
lib/Transforms/Instrumentation/MemorySanitizer.cpp
 1397           IRB.CreateXor(OffsetLong, ConstantInt::get(MS.IntptrTy, XorMask));
 2226     Value *C = IRB.CreateXor(A, B);
 2238                       IRB.CreateAnd(IRB.CreateXor(Sc, MinusOne), C), Zero));
 2251       Value *SaSignBit = IRB.CreateXor(Sa, SaOtherBits);
 2268       Value *SaSignBit = IRB.CreateXor(Sa, SaOtherBits);
 2306     Value *Si = IRB.CreateXor(S1, S2);
 3534       Sa1 = IRB.CreateOr({IRB.CreateXor(C, D), Sc, Sd});
lib/Transforms/Scalar/LowerAtomic.cpp
   71     Res = Builder.CreateXor(Orig, Val);
lib/Transforms/Utils/IntegerDivision.cpp
   59   Value *DvdXor       = Builder.CreateXor(Dividend, DividendSign);
   60   Value *DvsXor       = Builder.CreateXor(Divisor, DivisorSign);
   64   Value *Xored        = Builder.CreateXor(URem, DividendSign);
  132   Value *Tmp2   = Builder.CreateXor(Tmp, Dividend);
  134   Value *Tmp3   = Builder.CreateXor(Tmp1, Divisor);
  136   Value *Q_Sgn  = Builder.CreateXor(Tmp1, Tmp);
  138   Value *Tmp4   = Builder.CreateXor(Q_Mag, Q_Sgn);
tools/clang/lib/CodeGen/CGBuiltin.cpp
  800       NewByte = CGF.Builder.CreateXor(OldByte, Mask);
tools/clang/lib/CodeGen/CGExpr.cpp
  626   llvm::Value *A0 = Builder.CreateMul(Builder.CreateXor(Low, High), KMul);
  627   llvm::Value *A1 = Builder.CreateXor(Builder.CreateLShr(A0, K47), A0);
  628   llvm::Value *B0 = Builder.CreateMul(Builder.CreateXor(High, A1), KMul);
  629   llvm::Value *B1 = Builder.CreateXor(Builder.CreateLShr(B0, K47), B0);
tools/clang/lib/CodeGen/CGExprScalar.cpp
  758     return Builder.CreateXor(Ops.LHS, Ops.RHS, "xor");