/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | ConstraintElimination.cpp | 239 auto *AndI = cast<Instruction>(Br->getCondition()); in eliminateConstraints() local 241 cast<CmpInst>(AndI->getOperand(0)), false); in eliminateConstraints() 243 cast<CmpInst>(AndI->getOperand(1)), false); in eliminateConstraints()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 1529 static bool sinkAndCmp0Expression(Instruction *AndI, in sinkAndCmp0Expression() argument 1534 assert(!InsertedInsts.count(AndI) && in sinkAndCmp0Expression() 1539 if (AndI->hasOneUse() && in sinkAndCmp0Expression() 1540 AndI->getParent() == cast<Instruction>(*AndI->user_begin())->getParent()) in sinkAndCmp0Expression() 1545 if (!isa<ConstantInt>(AndI->getOperand(0)) && in sinkAndCmp0Expression() 1546 !isa<ConstantInt>(AndI->getOperand(1)) && in sinkAndCmp0Expression() 1547 AndI->getOperand(0)->hasOneUse() && AndI->getOperand(1)->hasOneUse()) in sinkAndCmp0Expression() 1550 for (auto *U : AndI->users()) { in sinkAndCmp0Expression() 1562 if (!TLI.isMaskAndCmp0FoldingBeneficial(*AndI)) in sinkAndCmp0Expression() 1566 LLVM_DEBUG(AndI->getParent()->dump()); in sinkAndCmp0Expression() [all …]
|
/external/llvm-project/llvm/lib/CodeGen/ |
D | CodeGenPrepare.cpp | 1628 static bool sinkAndCmp0Expression(Instruction *AndI, in sinkAndCmp0Expression() argument 1633 assert(!InsertedInsts.count(AndI) && in sinkAndCmp0Expression() 1638 if (AndI->hasOneUse() && in sinkAndCmp0Expression() 1639 AndI->getParent() == cast<Instruction>(*AndI->user_begin())->getParent()) in sinkAndCmp0Expression() 1644 if (!isa<ConstantInt>(AndI->getOperand(0)) && in sinkAndCmp0Expression() 1645 !isa<ConstantInt>(AndI->getOperand(1)) && in sinkAndCmp0Expression() 1646 AndI->getOperand(0)->hasOneUse() && AndI->getOperand(1)->hasOneUse()) in sinkAndCmp0Expression() 1649 for (auto *U : AndI->users()) { in sinkAndCmp0Expression() 1661 if (!TLI.isMaskAndCmp0FoldingBeneficial(*AndI)) in sinkAndCmp0Expression() 1665 LLVM_DEBUG(AndI->getParent()->dump()); in sinkAndCmp0Expression() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 592 if (auto *AndI = dyn_cast<Instruction>(And)) { in foldShiftedShift() local 593 AndI->moveBefore(InnerShift); in foldShiftedShift() 594 AndI->takeName(InnerShift); in foldShiftedShift()
|
/external/llvm-project/llvm/lib/Transforms/InstCombine/ |
D | InstCombineShifts.cpp | 569 if (auto *AndI = dyn_cast<Instruction>(And)) { in foldShiftedShift() local 570 AndI->moveBefore(InnerShift); in foldShiftedShift() 571 AndI->takeName(InnerShift); in foldShiftedShift()
|
/external/llvm-project/llvm/lib/Target/ARM/ |
D | ARMInstructionSelector.cpp | 1107 auto AndI = BuildMI(MBB, InsertBefore, I.getDebugLoc(), TII.get(Opcodes.AND)) in select() local 1113 if (!constrainSelectedInstRegOperands(*AndI, TII, TRI, RBI)) in select()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMInstructionSelector.cpp | 1109 auto AndI = BuildMI(MBB, InsertBefore, I.getDebugLoc(), TII.get(Opcodes.AND)) in select() local 1115 if (!constrainSelectedInstRegOperands(*AndI, TII, TRI, RBI)) in select()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.h | 541 bool isMaskAndCmp0FoldingBeneficial(const Instruction &AndI) const override;
|
D | AArch64ISelLowering.cpp | 13268 const Instruction &AndI) const { in isMaskAndCmp0FoldingBeneficial() 13274 ConstantInt* Mask = dyn_cast<ConstantInt>(AndI.getOperand(1)); in isMaskAndCmp0FoldingBeneficial()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.h | 1248 bool isMaskAndCmp0FoldingBeneficial(const Instruction &AndI) const override;
|
D | PPCISelDAGToDAG.cpp | 4849 SDValue AndI(CurDAG->getMachineNode(Opcode, dl, InVT, MVT::Glue, in Select() local 4859 SRIdxVal, SDValue(AndI.getNode(), 1) /* glue */); in Select()
|
D | PPCISelLowering.cpp | 15777 isMaskAndCmp0FoldingBeneficial(const Instruction &AndI) const { in isMaskAndCmp0FoldingBeneficial() 15778 const Value *Mask = AndI.getOperand(1); in isMaskAndCmp0FoldingBeneficial()
|
/external/llvm-project/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.h | 682 bool isMaskAndCmp0FoldingBeneficial(const Instruction &AndI) const override;
|
D | AArch64ISelLowering.cpp | 16202 const Instruction &AndI) const { in isMaskAndCmp0FoldingBeneficial() 16208 ConstantInt* Mask = dyn_cast<ConstantInt>(AndI.getOperand(1)); in isMaskAndCmp0FoldingBeneficial()
|
/external/llvm-project/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.h | 1321 bool isMaskAndCmp0FoldingBeneficial(const Instruction &AndI) const override;
|
D | PPCISelDAGToDAG.cpp | 5010 SDValue AndI(CurDAG->getMachineNode(Opcode, dl, InVT, MVT::Glue, in Select() local 5020 SRIdxVal, SDValue(AndI.getNode(), 1) /* glue */); in Select()
|
D | PPCISelLowering.cpp | 16932 isMaskAndCmp0FoldingBeneficial(const Instruction &AndI) const { in isMaskAndCmp0FoldingBeneficial() 16933 const Value *Mask = AndI.getOperand(1); in isMaskAndCmp0FoldingBeneficial()
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | X86ISelLowering.h | 998 bool isMaskAndCmp0FoldingBeneficial(const Instruction &AndI) const override;
|
D | X86ISelLowering.cpp | 5347 const Instruction &AndI) const { in isMaskAndCmp0FoldingBeneficial()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.h | 886 bool isMaskAndCmp0FoldingBeneficial(const Instruction &AndI) const override;
|
D | X86ISelLowering.cpp | 5207 const Instruction &AndI) const { in isMaskAndCmp0FoldingBeneficial()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCISelDAGToDAG.cpp | 2750 SDValue AndI(CurDAG->getMachineNode(Opcode, dl, InVT, MVT::Glue, in Select() local 2760 SRIdxVal, SDValue(AndI.getNode(), 1) /* glue */); in Select()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | TargetLowering.h | 507 virtual bool isMaskAndCmp0FoldingBeneficial(const Instruction &AndI) const { in isMaskAndCmp0FoldingBeneficial() argument
|
/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | TargetLowering.h | 642 virtual bool isMaskAndCmp0FoldingBeneficial(const Instruction &AndI) const { in isMaskAndCmp0FoldingBeneficial() argument
|