Home
last modified time | relevance | path

Searched refs:SelectOpcode (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86ISelDAGToDAG.cpp3675 auto SelectOpcode = [&](unsigned Opc64, unsigned Opc32, unsigned Opc16, in foldLoadStoreIntoMemOperand() local
3696 unsigned NewOpc = SelectOpcode(X86::NEG64m, X86::NEG32m, X86::NEG16m, in foldLoadStoreIntoMemOperand()
3713 ? SelectOpcode(X86::INC64m, X86::INC32m, X86::INC16m, X86::INC8m) in foldLoadStoreIntoMemOperand()
3714 : SelectOpcode(X86::DEC64m, X86::DEC32m, X86::DEC16m, X86::DEC8m); in foldLoadStoreIntoMemOperand()
3727 auto SelectRegOpcode = [SelectOpcode](unsigned Opc) { in foldLoadStoreIntoMemOperand()
3730 return SelectOpcode(X86::ADD64mr, X86::ADD32mr, X86::ADD16mr, in foldLoadStoreIntoMemOperand()
3733 return SelectOpcode(X86::ADC64mr, X86::ADC32mr, X86::ADC16mr, in foldLoadStoreIntoMemOperand()
3736 return SelectOpcode(X86::SUB64mr, X86::SUB32mr, X86::SUB16mr, in foldLoadStoreIntoMemOperand()
3739 return SelectOpcode(X86::SBB64mr, X86::SBB32mr, X86::SBB16mr, in foldLoadStoreIntoMemOperand()
3742 return SelectOpcode(X86::AND64mr, X86::AND32mr, X86::AND16mr, in foldLoadStoreIntoMemOperand()
[all …]
H A DX86ISelLowering.h1473 unsigned SelectOpcode, SDValue X,
H A DX86ISelLowering.cpp35620 unsigned BinOpcode, EVT VT, unsigned SelectOpcode, SDValue X, in shouldFoldSelectWithIdentityConstant() argument
35622 if (SelectOpcode == ISD::SELECT) { in shouldFoldSelectWithIdentityConstant()
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMInstructionSelector.cpp461 CmpConstants(unsigned CmpOpcode, unsigned FlagsOpcode, unsigned SelectOpcode, in CmpConstants()
464 SelectResultOpcode(SelectOpcode), OperandRegBankID(OpRegBank), in CmpConstants()
H A DARMISelLowering.h775 unsigned SelectOpcode, SDValue X,
H A DARMISelLowering.cpp13956 unsigned BinOpcode, EVT VT, unsigned SelectOpcode, SDValue X, in shouldFoldSelectWithIdentityConstant() argument
13959 SelectOpcode == ISD::VSELECT; in shouldFoldSelectWithIdentityConstant()
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.h99 unsigned SelectOpcode, SDValue X,
H A DRISCVISelLowering.cpp2179 unsigned BinOpcode, EVT VT, unsigned SelectOpcode, SDValue X, in shouldFoldSelectWithIdentityConstant() argument
2181 if (SelectOpcode != ISD::VSELECT) in shouldFoldSelectWithIdentityConstant()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.h285 unsigned SelectOpcode, SDValue X,
H A DAArch64ISelLowering.cpp18012 unsigned BinOpcode, EVT VT, unsigned SelectOpcode, SDValue X, in shouldFoldSelectWithIdentityConstant() argument
18015 SelectOpcode == ISD::VSELECT; in shouldFoldSelectWithIdentityConstant()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstructionSelector.cpp265 unsigned SelectOpcode = in selectCOPY_VCC_SCC() local
267 MachineInstr *Select = BuildMI(*BB, &I, DL, TII.get(SelectOpcode), DstReg) in selectCOPY_VCC_SCC()
2387 unsigned SelectOpcode = Size == 64 ? AMDGPU::S_CSELECT_B64 : in selectG_SELECT() local
2397 MachineInstr *Select = BuildMI(*BB, &I, DL, TII.get(SelectOpcode), DstReg) in selectG_SELECT()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVInstructionSelector.cpp2656 unsigned SelectOpcode = in selectSUCmp() local
2658 Result &= BuildMI(BB, I, I.getDebugLoc(), TII.get(SelectOpcode)) in selectSUCmp()
2665 return Result & BuildMI(BB, I, I.getDebugLoc(), TII.get(SelectOpcode)) in selectSUCmp()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h3402 unsigned SelectOpcode, in shouldFoldSelectWithIdentityConstant() argument
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp8560 auto SelectOpcode = [&](unsigned NeededShift, unsigned MulOrDivVariant) { in extractShiftForRotate() local
8569 if ((OppShift.getOpcode() != ISD::SRL || !SelectOpcode(ISD::SHL, ISD::MUL)) && in extractShiftForRotate()
8570 (OppShift.getOpcode() != ISD::SHL || !SelectOpcode(ISD::SRL, ISD::UDIV))) in extractShiftForRotate()