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

References

include/llvm/CodeGen/BasicTTIImpl.h
 1301       return ConcreteTTI->getArithmeticReductionCost(Instruction::Xor, Tys[0],
include/llvm/IR/IRBuilder.h
 1336     if (Value *V = foldConstant(Instruction::Xor, LHS, RHS, Name)) return V;
include/llvm/IR/Instruction.h
  176     return Opcode == And || Opcode == Or || Opcode == Xor;
  487     return Opcode == And || Opcode == Or || Opcode == Xor ||
  503     case And: case Or: case Xor:
  532     return Opcode == Xor;
include/llvm/IR/PatternMatch.h
  886 inline BinaryOp_match<LHS, RHS, Instruction::Xor> m_Xor(const LHS &L,
  888   return BinaryOp_match<LHS, RHS, Instruction::Xor>(L, R);
 1842 inline BinaryOp_match<LHS, RHS, Instruction::Xor, true> m_c_Xor(const LHS &L,
 1844   return BinaryOp_match<LHS, RHS, Instruction::Xor, true>(L, R);
 1856 inline BinaryOp_match<ValTy, cst_pred_ty<is_all_ones>, Instruction::Xor, true>
lib/Analysis/CFLGraph.h
  575       case Instruction::Xor:
lib/Analysis/DemandedBits.cpp
  259   case Instruction::Xor:
lib/Analysis/IVDescriptors.cpp
  577   case Instruction::Xor:
  762     return Instruction::Xor;
lib/Analysis/InstructionSimplify.cpp
 1998   if (Value *V = ExpandBinOp(Instruction::And, Op0, Op1, Instruction::Xor,
 2205   if (Constant *C = foldOrCommuteConstant(Instruction::Xor, Op0, Op1, Q))
 2226   if (Value *V = SimplifyAssociativeBinOp(Instruction::Xor, Op0, Op1, Q,
 4796   case Instruction::Xor:
 5317   case Instruction::Xor:
lib/Analysis/LazyValueInfo.cpp
 1087   if (BO->getOpcode() == Instruction::Xor) {
lib/Analysis/ObjCARCInstKind.cpp
  269     case Instruction::Xor:
lib/Analysis/ScalarEvolution.cpp
 4519   case Instruction::Xor:
 6324     case Instruction::Xor:
lib/Analysis/TargetTransformInfo.cpp
 1171   case Instruction::Xor: {
lib/Analysis/ValueTracking.cpp
 1024   case Instruction::Xor: {
 2481     case Instruction::Xor: // NOT is handled here.
 4325   case Instruction::Xor:
lib/AsmParser/LLLexer.cpp
  847   INSTKEYWORD(and,   And);  INSTKEYWORD(or,    Or);   INSTKEYWORD(xor,   Xor);
lib/Bitcode/Reader/BitcodeReader.cpp
 1105     return IsFP ? -1 : Instruction::Xor;
lib/Bitcode/Writer/BitcodeWriter.cpp
  547   case Instruction::Xor:  return bitc::BINOP_XOR;
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
 2298   case Instruction::Xor: {
 2311     case Instruction::Xor: return MCBinaryExpr::createXor(LHS, RHS, Ctx);
lib/CodeGen/CodeGenPrepare.cpp
 3750   if (Inst->getOpcode() == Instruction::Xor) {
lib/CodeGen/ExpandReductions.cpp
   45     return Instruction::Xor;
lib/CodeGen/SelectionDAG/FastISel.cpp
 1832   case Instruction::Xor:
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 2989   case Instruction::Xor:
lib/CodeGen/TargetLoweringBase.cpp
 1609   case Xor:            return ISD::XOR;
lib/ExecutionEngine/ExecutionEngine.cpp
  790     case Instruction::Xor: {
  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/FuzzMutate/Operations.cpp
   31   Ops.push_back(binOpDescriptor(1, Instruction::Xor));
  109   case Instruction::Xor:
lib/IR/ConstantFold.cpp
  996     case Instruction::Xor:
 1189     case Instruction::Xor:
 1252       case Instruction::Xor:
lib/IR/Constants.cpp
 1899   case Instruction::Xor:
 2247   return get(Instruction::Xor, C, Constant::getAllOnesValue(C->getType()));
 2318   return get(Instruction::Xor, C1, C2);
 2347       case Instruction::Xor: // X ^ 0 = X
lib/IR/Instruction.cpp
  328   case Xor: return "xor";
lib/IR/Instructions.cpp
 2327   case Xor:
 2411   return new BinaryOperator(Instruction::Xor, Op, C,
 2418   return new BinaryOperator(Instruction::Xor, Op, AllOnes,
lib/IR/Verifier.cpp
 3198   case Instruction::Xor:
lib/Target/AArch64/AArch64FastISel.cpp
 1966   case Instruction::Xor:
 5174   case Instruction::Xor:
lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  114   case Instruction::Xor:
  904   case Instruction::Xor:
lib/Target/AMDGPU/AMDGPUAtomicOptimizer.cpp
  261     return B.CreateBinOp(Instruction::Xor, LHS, RHS);
lib/Target/ARM/ARMTargetTransformInfo.cpp
  142   if (Opcode == Instruction::Xor && Imm.isAllOnesValue())
 1087   case Instruction::Xor:
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
  985     case Instruction::Xor:
 1237     case Instruction::Xor:
 1272       case Instruction::Xor:
 1575     case Instruction::Xor:
 1597         case Instruction::Xor:
 1610       if (I->getOpcode() != Instruction::Xor)
 1693         case Instruction::Xor:
 1711           case Instruction::Xor:
 1742       if (Xor->getOpcode() != Instruction::Xor)
lib/Target/Mips/MipsFastISel.cpp
  880   case Instruction::Xor:
 2067   case Instruction::Xor:
lib/Target/PowerPC/PPCTargetTransformInfo.cpp
  150   case Instruction::Xor:
lib/Target/RISCV/RISCVTargetTransformInfo.cpp
   55   case Instruction::Xor:
lib/Target/SystemZ/SystemZTDC.cpp
  104            LI->getOpcode() == Instruction::Xor)) {
  302     case Instruction::Xor:
lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
  127   case Instruction::Xor:
  472       if (Opcode == Instruction::Xor) {
  478                  I->getOpcode() == Instruction::Xor))
  485             if (I->hasOneUse() && I->getOpcode() == Instruction::Xor)
  495     if (Opcode == Instruction::Xor && ScalarBits == 1) {
  966   case Instruction::Xor:
lib/Target/X86/X86TargetTransformInfo.cpp
 3022   case Instruction::Xor:
lib/Target/XCore/XCoreLowerThreadLocal.cpp
  102     case Instruction::Xor:
lib/Transforms/AggressiveInstCombine/TruncInstCombine.cpp
   55   case Instruction::Xor:
  117     case Instruction::Xor: {
  348     case Instruction::Xor: {
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
 1575   if (LogicOpc == Instruction::Xor)
 1819       case Instruction::Xor:
 2629                                B->getOpcode() == Instruction::Xor)) {
 2739   assert(I.getOpcode() == Instruction::Xor);
 2799   assert(I.getOpcode() == Instruction::Xor && I.getOperand(0) == LHS &&
 3135               E1->getOpcode() == Instruction::Xor &&
lib/Transforms/InstCombine/InstCombineCasts.cpp
  181   case Instruction::Xor:
  356   case Instruction::Xor:
  594   case Instruction::Xor:
  999   case Instruction::Xor:
 1328   case Instruction::Xor:
lib/Transforms/InstCombine/InstCombineCompares.cpp
 2826     case Instruction::Xor:
 2952   case Instruction::Xor:
 3933     case Instruction::Xor: {
 3947         if (BO0->getOpcode() == Instruction::Xor && C->isMaxSignedValue()) {
lib/Transforms/InstCombine/InstCombineInternal.h
  229     case Instruction::Xor: // Can invert 'xor' if it's a 'not', by ignoring it.
lib/Transforms/InstCombine/InstCombineSelect.cpp
  249   case Instruction::Xor:
  269   case Instruction::Xor:
lib/Transforms/InstCombine/InstCombineShifts.cpp
  437   case Instruction::Xor:
  554   case Instruction::Xor:
  596   case Instruction::Xor:
  688       case Instruction::Xor: {
lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
  233   case Instruction::Xor: {
  837   case Instruction::Xor: {
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
 1166     case Instruction::Xor:
 1234     case Instruction::Xor: {
 1332     case Instruction::Xor:
lib/Transforms/InstCombine/InstructionCombining.cpp
  478     return ROp == Instruction::Or || ROp == Instruction::Xor;
lib/Transforms/Scalar/GVN.cpp
  514     case Instruction::Xor:
lib/Transforms/Scalar/GVNSink.cpp
  462     case Instruction::Xor:
lib/Transforms/Scalar/IndVarSimplify.cpp
 1101   case Instruction::Xor:
lib/Transforms/Scalar/JumpThreading.cpp
  730     if (I->getOpcode() == Instruction::Xor &&
 1230   if (CondInst->getOpcode() == Instruction::Xor &&
lib/Transforms/Scalar/LowerExpectIntrinsic.cpp
  132     if (!BinOp || BinOp->getOpcode() != Instruction::Xor)
  148       case Instruction::Xor:
lib/Transforms/Scalar/NewGVN.cpp
 2017     case Instruction::Xor:
lib/Transforms/Scalar/Reassociate.cpp
 1163       assert(Opcode == Instruction::Xor);
 1313   if (Value *V = OptimizeAndOrXor(Instruction::Xor, Ops))
 1869   case Instruction::Xor:
lib/Transforms/Scalar/SCCP.cpp
 1560       case Instruction::Xor:
lib/Transforms/Scalar/SpeculativeExecution.cpp
  224     case Instruction::Xor:
lib/Transforms/Utils/BypassSlowDivision.cpp
  196   case Instruction::Xor:
lib/Transforms/Utils/Local.cpp
 1707     case Instruction::Xor:
lib/Transforms/Utils/LoopRotationUtils.cpp
  551     case Instruction::Xor:
lib/Transforms/Utils/LoopUtils.cpp
  885   case Instruction::Xor:
  963     return createSimpleTargetReduction(B, TTI, Instruction::Xor, Src, Flags);
lib/Transforms/Vectorize/LoopVectorize.cpp
 4154   case Instruction::Xor: {
 6199   case Instruction::Xor: {
 6881     case Instruction::Xor:
lib/Transforms/Vectorize/SLPVectorizer.cpp
 2584     case Instruction::Xor: {
 3098     case Instruction::Xor: {
 3982     case Instruction::Xor: {
 5018   case Instruction::Xor:
 5780                 Opcode == Instruction::Xor)) ||
tools/clang/lib/CodeGen/CGAtomic.cpp
  622     PostOp = llvm::Instruction::Xor;
 1106       PostOp = llvm::Instruction::Xor;
tools/clang/lib/CodeGen/CGBuiltin.cpp
  205     Result = CGF.Builder.CreateBinOp(llvm::Instruction::Xor, Result,
 2798                                 llvm::Instruction::Xor);
11571     return EmitX86MaskLogic(*this, Instruction::Xor, Ops, true);
11576     return EmitX86MaskLogic(*this, Instruction::Xor,  Ops);
tools/lldb/source/Expression/IRInterpreter.cpp
  592       case Instruction::Xor:
  709     case Instruction::Xor: {
  792       case Instruction::Xor:
tools/llvm-stress/llvm-stress.cpp
  407     case 12:{Op = Instruction::Xor;  break; }
tools/polly/lib/Analysis/ScopBuilder.cpp
 2664   case Instruction::Xor: