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

References

include/llvm/ADT/APSInt.h
  266     return APSInt(static_cast<const APInt&>(*this) ^ RHS, IsUnsigned);
lib/CodeGen/GlobalISel/Utils.cpp
  367       return C1 ^ C2;
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 4702   case ISD::XOR:  return std::make_pair(C1 ^ C2, true);
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
10072       APInt CommonBit = BigValue ^ SmallValue;
lib/CodeGen/SelectionDAG/TargetLowering.cpp
 3818                              DAG.getConstant(LHSR->getAPIntValue() ^
lib/ExecutionEngine/ExecutionEngine.cpp
  808           case Instruction::Xor: GV.IntVal = LHS.IntVal ^ RHS.IntVal; break;
lib/ExecutionEngine/Interpreter/Execution.cpp
  795     case Instruction::Xor:   INTEGER_VECTOR_OPERATION(^) break;
  837     case Instruction::Xor:   R.IntVal = Src1.IntVal ^ Src2.IntVal; break;
 2087   case Instruction::Xor:  Dest.IntVal = Op0.IntVal ^ Op1.IntVal; break;
lib/IR/ConstantFold.cpp
 1253         return ConstantInt::get(CI1->getContext(), C1V ^ C2V);
lib/Support/APInt.cpp
 3035   return A.getBitWidth() - ((A ^ B).countLeadingZeros() + 1);
lib/Support/KnownBits.cpp
   28   APInt CarryKnownZero = ~(PossibleSumZero ^ LHS.Zero ^ RHS.Zero);
   28   APInt CarryKnownZero = ~(PossibleSumZero ^ LHS.Zero ^ RHS.Zero);
   29   APInt CarryKnownOne = PossibleSumOne ^ LHS.One ^ RHS.One;
   29   APInt CarryKnownOne = PossibleSumOne ^ LHS.One ^ RHS.One;
lib/Target/AArch64/AArch64ISelLowering.cpp
 7124       UndefBits |= (SplatBits ^ SplatUndef).zextOrTrunc(VT.getSizeInBits());
lib/Target/Hexagon/HexagonConstPropagation.cpp
 1553   Result = A1 ^ A2;
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  507       (BCst->getValue() & (BCst->getValue() ^ DCst->getValue())).isPowerOf2()) {
  509     APInt BandBxorDorE = (BCst->getValue() & (BCst->getValue() ^ DCst->getValue())) |
  736          (CCst->getValue() ^ ECst->getValue())).getBoolValue())
  829   APInt Xor = *C1 ^ *C2;
 1781                                                          Together ^ *C));
 2227       APInt DiffC = LAddC->getValue() ^ RAddC->getValue();
 2239         APInt LowRangeDiff = RRangeLow ^ LRangeLow;
 2240         APInt HighRangeDiff = RRangeHigh ^ LRangeHigh;
 3116         Constant *NewC = ConstantInt::get(I.getType(), *C ^ *RHSC);
lib/Transforms/InstCombine/InstCombineCompares.cpp
 1598       return new ICmpInst(Pred, X, ConstantInt::get(X->getType(), C ^ *XorC));
 1606       return new ICmpInst(Pred, X, ConstantInt::get(X->getType(), C ^ *XorC));
 4139         Constant *NC = Builder.getInt(C1->getValue() ^ C2->getValue());
lib/Transforms/InstCombine/InstCombineSelect.cpp
  170     if (TC.getBitWidth() != AndMask.getBitWidth() || (TC ^ FC) != AndMask)
lib/Transforms/Scalar/Reassociate.cpp
 1262     APInt C3((~C1) ^ C2);
 1278     APInt C3 = C1 ^ C2;
 1294     APInt C3 = C1 ^ C2;
tools/clang/lib/Sema/SemaExpr.cpp
11244   const llvm::APInt XorValue = LeftSideValue ^ RightSideValue;
tools/lldb/source/Utility/Scalar.cpp
 2379       result.m_integer = a->m_integer ^ b->m_integer;
unittests/ADT/APIntTest.cpp
  276   EXPECT_EQ(zero, zero ^ zero);
  277   EXPECT_EQ(one, one ^ zero);
  278   EXPECT_EQ(one, zero ^ one);
  279   EXPECT_EQ(zero, one ^ one);
  280   EXPECT_EQ(zero, zero ^ zero);
  281   EXPECT_EQ(neg_one, neg_one ^ zero);
  282   EXPECT_EQ(neg_one, zero ^ neg_one);
  283   EXPECT_EQ(zero, neg_one ^ neg_one);
  851     APInt XorLL = Ten ^ Twelve;
  858     APInt XorRL = getRValue("A", RawDataL) ^ Twelve;