Home
last modified time | relevance | path

Searched refs:Xor (Results 1 – 25 of 64) sorted by relevance

123

/freebsd-9-stable/contrib/llvm/lib/IR/
DInstruction.cpp214 case Xor: return "xor"; in getOpcodeName()
478 return Opcode == And || Opcode == Or || Opcode == Xor || in isAssociative()
511 case Xor: in isCommutative()
538 return Opcode == Xor; in isNilpotent()
/freebsd-9-stable/contrib/llvm/lib/Transforms/InstCombine/
DInstCombineShifts.cpp110 case Instruction::Xor: in CanEvaluateShifted()
205 case Instruction::Xor: in GetShiftedValue()
413 case Instruction::Xor: { in FoldShiftByConstant()
492 case Instruction::Xor: in FoldShiftByConstant()
DInstCombineSimplifyDemanded.cpp203 } else if (I->getOpcode() == Instruction::Xor) { in SimplifyDemandedUseBits()
303 case Instruction::Xor: { in SimplifyDemandedUseBits()
590 Instruction *Xor = BinaryOperator::CreateXor(I->getOperand(1), C0); in SimplifyDemandedUseBits() local
591 return InsertNewInstWith(Xor, *I); in SimplifyDemandedUseBits()
1188 case Instruction::Xor: in SimplifyDemandedVectorElts()
DInstCombineAndOrXor.cpp141 case Instruction::Xor: in OptAndOp()
372 case Instruction::Xor: in FoldLogicalPlusAnd()
1123 case Instruction::Xor: in visitAnd()
1715 APInt Xor = LHSCst->getValue() ^ RHSCst->getValue(); in FoldOrOfICmps() local
1716 if (Xor.isPowerOf2()) { in FoldOrOfICmps()
1717 Value *NegCst = Builder->getInt(~Xor); in FoldOrOfICmps()
1905 APInt Xor = CI1->getValue() ^ CI2->getValue(); in FoldOrWithConstants() local
1906 if (!Xor.isAllOnesValue()) return 0; in FoldOrWithConstants()
2156 B->getOpcode() == Instruction::Xor)) { in visitOr()
2373 E1->getOpcode() == Instruction::Xor && in visitXor()
DInstCombineCasts.cpp180 case Instruction::Xor: in EvaluateInDifferentType()
362 case Instruction::Xor: in CanEvaluateTruncated()
676 case Instruction::Xor: in CanEvaluateZExtd()
691 Opc == Instruction::Xor)) { in CanEvaluateZExtd()
873 if (SrcI && SrcI->getOpcode() == Instruction::Xor && SrcI->hasOneUse()) in visitZExt()
1027 case Instruction::Xor: in CanEvaluateSExtd()
DInstCombineCompares.cpp1081 case Instruction::Xor: // (icmp pred (xor X, XorCST), CI) in visitICmpInstWithInstAndIntCst()
1664 case Instruction::Xor: in visitICmpInstWithInstAndIntCst()
2135 Value *Xor = Builder->CreateXor(Op0, Op1, I.getName()+"tmp"); in visitICmpInst() local
2136 return BinaryOperator::CreateNot(Xor); in visitICmpInst()
2779 case Instruction::Xor: in visitICmpInst()
2899 Value *Xor = Builder->CreateXor(C, NC); in visitICmpInst() local
2900 return new ICmpInst(I.getPredicate(), A, Xor); in visitICmpInst()
2971 Value *Xor = Builder->CreateXor(A, B, I.getName() + ".unshifted"); in visitICmpInst() local
2973 return new ICmpInst(Pred, Xor, Builder->getInt(CmpVal)); in visitICmpInst()
DInstCombineVectorOps.cpp567 case Instruction::Xor: in CanEvaluateShuffled()
630 case Instruction::Xor: { in BuildNew()
727 case Instruction::Xor: in EvaluateInDifferentElementOrder()
DInstCombineSelect.cpp90 case Instruction::Xor: in GetSelectFoldableOperands()
110 case Instruction::Xor: in GetSelectFoldableConstant()
/freebsd-9-stable/contrib/llvm/include/llvm/MC/
DMCExpr.h380 Xor ///< Bitwise exclusive or. enumerator
466 return Create(Xor, LHS, RHS, Ctx); in CreateXor()
/freebsd-9-stable/contrib/llvm/lib/Transforms/Scalar/
DLowerAtomic.cpp67 case AtomicRMWInst::Xor: in LowerAtomicRMWInst()
DLoopRotation.cpp190 case Instruction::Xor: in shouldSpeculateInstrs()
DReassociate.cpp1109 assert(Opcode == Instruction::Xor); in OptimizeAndOrXor()
1262 if (Value *V = OptimizeAndOrXor(Instruction::Xor, Ops)) in OptimizeXor()
1761 case Instruction::Xor: in OptimizeExpression()
/freebsd-9-stable/contrib/dialog/samples/copifuncs/
Dcopi.ifmcfg230 # round brackets. Operators are: '!', '&', '|', 'Xor'.
/freebsd-9-stable/contrib/llvm/lib/Transforms/ObjCARC/
DObjCARCUtil.cpp222 case Instruction::And: case Instruction::Or: case Instruction::Xor: in GetInstructionClass()
/freebsd-9-stable/contrib/llvm/lib/MC/
DMCExpr.cpp117 case MCBinaryExpr::Xor: OS << '^'; break; in print()
732 case MCBinaryExpr::Xor: Result = LHS ^ RHS; break; in EvaluateAsRelocatableImpl()
/freebsd-9-stable/contrib/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp102 case Instruction::Xor: in createReplacementInstr()
/freebsd-9-stable/contrib/llvm/tools/clang/include/clang/AST/
DStmtVisitor.h128 BINOP_FALLBACK(And) BINOP_FALLBACK(Xor) BINOP_FALLBACK(Or) in BINOP_FALLBACK()
/freebsd-9-stable/contrib/llvm/include/llvm/Support/
DPatternMatch.h478 inline BinaryOp_match<LHS, RHS, Instruction::Xor>
480 return BinaryOp_match<LHS, RHS, Instruction::Xor>(L, R); in m_Xor()
723 if (O->getOpcode() == Instruction::Xor) in match()
/freebsd-9-stable/contrib/llvm/include/llvm/ADT/
DAPSInt.h232 APSInt LLVM_ATTRIBUTE_UNUSED_RESULT Xor(const APSInt& RHS) const { in Xor() function
DAPInt.h812 APInt LLVM_ATTRIBUTE_UNUSED_RESULT Xor(const APInt &RHS) const { in Xor() function
1850 inline APInt Xor(const APInt &LHS, const APInt &RHS) { return LHS ^ RHS; } in Xor() function
/freebsd-9-stable/contrib/llvm/include/llvm/IR/
DInstruction.def127 HANDLE_BINARY_INST(25, Xor , BinaryOperator)
/freebsd-9-stable/contrib/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp498 SDValue Xor(CurDAG->getMachineNode(PPC::XORIS, dl, MVT::i32, LHS, in SelectCC() local
500 return SDValue(CurDAG->getMachineNode(PPC::CMPLWI, dl, MVT::i32, Xor, in SelectCC()
540 SDValue Xor(CurDAG->getMachineNode(PPC::XORIS8, dl, MVT::i64, LHS, in SelectCC() local
542 return SDValue(CurDAG->getMachineNode(PPC::CMPLDI, dl, MVT::i64, Xor, in SelectCC()
/freebsd-9-stable/contrib/llvm/lib/Analysis/
DCostModel.cpp400 case Instruction::Xor: { in getInstructionCost()
DInstructionSimplify.cpp1495 if (Value *V = ExpandBinOp(Instruction::And, Op0, Op1, Instruction::Xor, in SimplifyAndInst()
1628 return ConstantFoldInstOperands(Instruction::Xor, CLHS->getType(), in SimplifyXorInst()
1654 if (Value *V = SimplifyAssociativeBinOp(Instruction::Xor, Op0, Op1, Q, in SimplifyXorInst()
1659 if (Value *V = FactorizeBinOp(Instruction::Xor, Op0, Op1, Instruction::And, in SimplifyXorInst()
2899 case Instruction::Xor: return SimplifyXorInst(LHS, RHS, Q, MaxRecurse); in SimplifyBinOp()
3112 case Instruction::Xor: in SimplifyInstruction()
/freebsd-9-stable/contrib/llvm/lib/Target/CppBackend/
DCPPBackend.cpp870 case Instruction::Xor: Out << "getXor("; break; in printConstant()
1211 case Instruction::Xor: in printInstruction()
1231 case Instruction::Xor: Out << "Instruction::Xor"; break; in printInstruction()
1573 case AtomicRMWInst::Xor: Operation = "AtomicRMWInst::Xor"; break; in printInstruction()

123