Home
last modified time | relevance | path

Searched refs:AndInst (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp135 bool tryOptAndIntoCompareBranch(MachineInstr &AndInst, bool Invert,
1629 MachineInstr &AndInst, bool Invert, MachineBasicBlock *DstMBB, in tryOptAndIntoCompareBranch() argument
1631 assert(AndInst.getOpcode() == TargetOpcode::G_AND && "Expected G_AND only?"); in tryOptAndIntoCompareBranch()
1654 AndInst.getOperand(2).getReg(), *MIB.getMRI()); in tryOptAndIntoCompareBranch()
1662 Register TestReg = AndInst.getOperand(1).getReg(); in tryOptAndIntoCompareBranch()
1730 MachineInstr *AndInst = getOpcodeDef(TargetOpcode::G_AND, LHS, MRI); in tryOptCompareBranchFedByICmp() local
1737 if (VRegAndVal && !AndInst) { in tryOptCompareBranchFedByICmp()
1774 AndInst = getOpcodeDef(TargetOpcode::G_AND, LHS, MRI); in tryOptCompareBranchFedByICmp()
1784 if (AndInst && in tryOptCompareBranchFedByICmp()
1786 *AndInst, /*Invert = */ Pred == CmpInst::ICMP_NE, DestMBB, MIB)) { in tryOptCompareBranchFedByICmp()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86InstructionSelector.cpp
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/GISel/
H A DX86InstructionSelector.cpp937 MachineInstr &AndInst = in selectZext() local
942 constrainSelectedInstRegOperands(AndInst, TII, TRI, RBI); in selectZext()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp4896 const auto *AndInst = dyn_cast<const Instruction>(*ExtInst->user_begin()); in canGetThrough() local
4897 if (AndInst && AndInst->getOpcode() == Instruction::And) { in canGetThrough()
4898 const auto *Cst = dyn_cast<ConstantInt>(AndInst->getOperand(1)); in canGetThrough()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp7924 Value *AndInst = Builder.CreateAnd(A, TruncC1); in visitICmpInst() local
7926 Pred, AndInst, in visitICmpInst()