Home
last modified time | relevance | path

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

123

/minix/external/bsd/llvm/dist/llvm/test/Transforms/Reassociate/
H A Dxor_reassoc.ll5 ; Xor reassociation general cases
65 ; Xor reassociation special cases
118 ; Xor reassociation curtail code size
156 ; Xor reassociation bugs
H A Dotherops.ll1 ; Reassociation should apply to Add, Mul, And, Or, & Xor
/minix/external/bsd/llvm/dist/llvm/lib/IR/
H A DInstruction.cpp212 case Xor: return "xor"; in getOpcodeName()
469 return Opcode == And || Opcode == Or || Opcode == Xor || in isAssociative()
502 case Xor: in isCommutative()
529 return Opcode == Xor; in isNilpotent()
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLowerAtomic.cpp71 case AtomicRMWInst::Xor: in LowerAtomicRMWInst()
H A DLoopRotation.cpp225 case Instruction::Xor: in shouldSpeculateInstrs()
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineShifts.cpp112 case Instruction::Xor: in CanEvaluateShifted()
211 case Instruction::Xor: in GetShiftedValue()
420 case Instruction::Xor: { in FoldShiftByConstant()
507 case Instruction::Xor: in FoldShiftByConstant()
H A DInstCombineSimplifyDemanded.cpp224 } else if (I->getOpcode() == Instruction::Xor) { in SimplifyDemandedUseBits()
338 case Instruction::Xor: { in SimplifyDemandedUseBits()
637 Instruction *Xor = BinaryOperator::CreateXor(I->getOperand(1), C0); in SimplifyDemandedUseBits() local
638 return InsertNewInstWith(Xor, *I); in SimplifyDemandedUseBits()
1236 case Instruction::Xor: in SimplifyDemandedVectorElts()
H A DInstCombineAndOrXor.cpp133 Op != Instruction::Xor) in SimplifyBSwap()
188 case Instruction::Xor: in OptAndOp()
419 case Instruction::Xor: in FoldLogicalPlusAnd()
1254 case Instruction::Xor: in visitAnd()
1927 if (Xor.isPowerOf2()) { in FoldOrOfICmps()
1928 Value *NegCst = Builder->getInt(~Xor); in FoldOrOfICmps()
2116 APInt Xor = CI1->getValue() ^ CI2->getValue(); in FoldOrWithConstants() local
2117 if (!Xor.isAllOnesValue()) return nullptr; in FoldOrWithConstants()
2147 APInt Xor = CI1->getValue() ^ CI2->getValue(); in FoldXorWithConstants() local
2148 if (!Xor.isAllOnesValue()) in FoldXorWithConstants()
[all …]
H A DInstCombineVectorOps.cpp626 case Instruction::Xor: in CanEvaluateShuffled()
689 case Instruction::Xor: { in BuildNew()
788 case Instruction::Xor: in EvaluateInDifferentElementOrder()
H A DInstCombineCasts.cpp183 case Instruction::Xor: in EvaluateInDifferentType()
366 case Instruction::Xor: in CanEvaluateTruncated()
681 case Instruction::Xor: in CanEvaluateZExtd()
696 Opc == Instruction::Xor)) { in CanEvaluateZExtd()
1018 case Instruction::Xor: in CanEvaluateSExtd()
H A DInstCombineCompares.cpp1176 case Instruction::Xor: // (icmp pred (xor X, XorCst), CI) in visitICmpInstWithInstAndIntCst()
1800 case Instruction::Xor: in visitICmpInstWithInstAndIntCst()
2620 Value *Xor = Builder->CreateXor(Op0, Op1, I.getName()+"tmp"); in visitICmpInst() local
2621 return BinaryOperator::CreateNot(Xor); in visitICmpInst()
3354 case Instruction::Xor: in visitICmpInst()
3485 Value *Xor = Builder->CreateXor(C, NC); in visitICmpInst() local
3486 return new ICmpInst(I.getPredicate(), A, Xor); in visitICmpInst()
3557 Value *Xor = Builder->CreateXor(A, B, I.getName() + ".unshifted"); in visitICmpInst() local
3559 return new ICmpInst(Pred, Xor, Builder->getInt(CmpVal)); in visitICmpInst()
/minix/external/bsd/llvm/dist/llvm/include/llvm/MC/
H A DMCExpr.h420 Xor ///< Bitwise exclusive or. enumerator
506 return Create(Xor, LHS, RHS, Ctx); in CreateXor()
/minix/external/bsd/llvm/dist/llvm/lib/Transforms/ObjCARC/
H A DObjCARCUtil.cpp222 case Instruction::And: case Instruction::Or: case Instruction::Xor: in GetInstructionClass()
/minix/external/bsd/llvm/dist/llvm/lib/CodeGen/
H A DAtomicExpandPass.cpp260 case AtomicRMWInst::Xor: in performAtomicOp()
543 case AtomicRMWInst::Xor: in isIdempotentRMW()
/minix/external/bsd/llvm/dist/llvm/test/CodeGen/CPP/
H A Datomic.ll35 …; CHECK: AtomicRMWInst* [[INST:[a-zA-Z0-9_]+]] = new AtomicRMWInst(AtomicRMWInst::Xor, {{.*}}, Rel…
/minix/external/bsd/llvm/dist/llvm/lib/Target/XCore/
H A DXCoreLowerThreadLocal.cpp102 case Instruction::Xor: in createReplacementInstr()
/minix/external/bsd/llvm/dist/clang/include/clang/AST/
H A DStmtVisitor.h128 BINOP_FALLBACK(And) BINOP_FALLBACK(Xor) BINOP_FALLBACK(Or) in BINOP_FALLBACK()
/minix/external/bsd/llvm/dist/llvm/lib/MC/
H A DMCExpr.cpp108 case MCBinaryExpr::Xor: OS << '^'; break; in print()
741 case MCBinaryExpr::Xor: Result = LHS ^ RHS; break; in EvaluateAsRelocatableImpl()
/minix/external/bsd/llvm/dist/llvm/include/llvm/ADT/
H A DAPSInt.h226 APSInt LLVM_ATTRIBUTE_UNUSED_RESULT Xor(const APSInt& RHS) const { in Xor() function
H A DAPInt.h820 APInt LLVM_ATTRIBUTE_UNUSED_RESULT Xor(const APInt &RHS) const { in Xor() function
1888 inline APInt Xor(const APInt &LHS, const APInt &RHS) { return LHS ^ RHS; } in Xor() function
/minix/external/bsd/llvm/dist/llvm/include/llvm/IR/
H A DInstruction.def127 HANDLE_BINARY_INST(25, Xor , BinaryOperator)
H A DPatternMatch.h515 inline BinaryOp_match<LHS, RHS, Instruction::Xor> m_Xor(const LHS &L, in m_Xor()
517 return BinaryOp_match<LHS, RHS, Instruction::Xor>(L, R); in m_Xor()
837 if (O->getOpcode() == Instruction::Xor) in match()
/minix/external/bsd/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCTargetTransformInfo.cpp227 case Instruction::Xor: in getIntImmCost()
/minix/external/bsd/llvm/dist/llvm/lib/Analysis/
H A DCostModel.cpp412 case Instruction::Xor: { in getInstructionCost()
/minix/external/bsd/llvm/dist/llvm/lib/Target/CppBackend/
H A DCPPBackend.cpp880 case Instruction::Xor: Out << "getXor("; break; in printConstant()
1228 case Instruction::Xor: in printInstruction()
1248 case Instruction::Xor: Out << "Instruction::Xor"; break; in printInstruction()
1598 case AtomicRMWInst::Xor: Operation = "AtomicRMWInst::Xor"; break; in printInstruction()

123