Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Target/AArch64/GISel/
H A DAArch64InstructionSelector.cpp129 bool tryOptAndIntoCompareBranch(MachineInstr &AndInst, bool Invert,
1557 MachineInstr &AndInst, bool Invert, MachineBasicBlock *DstMBB, in tryOptAndIntoCompareBranch() argument
1559 assert(AndInst.getOpcode() == TargetOpcode::G_AND && "Expected G_AND only?"); in tryOptAndIntoCompareBranch()
1582 AndInst.getOperand(2).getReg(), *MIB.getMRI()); in tryOptAndIntoCompareBranch()
1590 Register TestReg = AndInst.getOperand(1).getReg(); in tryOptAndIntoCompareBranch()
1658 MachineInstr *AndInst = getOpcodeDef(TargetOpcode::G_AND, LHS, MRI); in tryOptCompareBranchFedByICmp() local
1665 if (VRegAndVal && !AndInst) { in tryOptCompareBranchFedByICmp()
1702 AndInst = getOpcodeDef(TargetOpcode::G_AND, LHS, MRI); in tryOptCompareBranchFedByICmp()
1712 if (AndInst && in tryOptCompareBranchFedByICmp()
1714 *AndInst, /*Invert = */ Pred == CmpInst::ICMP_NE, DestMBB, MIB)) { in tryOptCompareBranchFedByICmp()
/openbsd-src/gnu/llvm/llvm/lib/Target/X86/
H A DX86InstructionSelector.cpp864 MachineInstr &AndInst = in selectZext() local
869 constrainSelectedInstRegOperands(AndInst, TII, TRI, RBI); in selectZext()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp4323 const auto *AndInst = dyn_cast<const Instruction>(*ExtInst->user_begin()); in canGetThrough() local
4324 if (AndInst && AndInst->getOpcode() == Instruction::And) { in canGetThrough()
4325 const auto *Cst = dyn_cast<ConstantInt>(AndInst->getOperand(1)); in canGetThrough()