Lines Matching defs:SPIRVInstructionSelector

1 //===- SPIRVInstructionSelector.cpp ------------------------------*- C++ -*-==//
72 class SPIRVInstructionSelector : public InstructionSelector {
86 SPIRVInstructionSelector(const SPIRVTargetMachine &TM,
262 SPIRVInstructionSelector::SPIRVInstructionSelector(const SPIRVTargetMachine &TM,
276 void SPIRVInstructionSelector::setupMF(MachineFunction &MF, GISelKnownBits *KB,
291 bool SPIRVInstructionSelector::select(MachineInstr &I) {
341 bool SPIRVInstructionSelector::spvSelect(Register ResVReg,
617 bool SPIRVInstructionSelector::selectExtInst(Register ResVReg,
625 bool SPIRVInstructionSelector::selectExtInst(Register ResVReg,
635 bool SPIRVInstructionSelector::selectExtInst(Register ResVReg,
659 bool SPIRVInstructionSelector::selectUnOpWithSrc(Register ResVReg,
671 bool SPIRVInstructionSelector::selectUnOp(Register ResVReg,
710 bool SPIRVInstructionSelector::selectBitcast(Register ResVReg,
771 bool SPIRVInstructionSelector::selectLoad(Register ResVReg,
791 bool SPIRVInstructionSelector::selectStore(MachineInstr &I) const {
810 bool SPIRVInstructionSelector::selectStackSave(Register ResVReg,
825 bool SPIRVInstructionSelector::selectStackRestore(MachineInstr &I) const {
839 bool SPIRVInstructionSelector::selectMemOperation(Register ResVReg,
888 bool SPIRVInstructionSelector::selectAtomicRMW(Register ResVReg,
927 bool SPIRVInstructionSelector::selectUnmergeValues(MachineInstr &I) const {
962 bool SPIRVInstructionSelector::selectFence(MachineInstr &I) const {
976 bool SPIRVInstructionSelector::selectAtomicCmpXchg(Register ResVReg,
1073 bool SPIRVInstructionSelector::selectAddrSpaceCast(Register ResVReg,
1240 bool SPIRVInstructionSelector::selectAnyOrAll(Register ResVReg,
1300 bool SPIRVInstructionSelector::selectAll(Register ResVReg,
1306 bool SPIRVInstructionSelector::selectAny(Register ResVReg,
1312 bool SPIRVInstructionSelector::selectFmix(Register ResVReg,
1333 bool SPIRVInstructionSelector::selectRsqrt(Register ResVReg,
1350 bool SPIRVInstructionSelector::selectBitreverse(Register ResVReg,
1361 bool SPIRVInstructionSelector::selectFreeze(Register ResVReg,
1401 bool SPIRVInstructionSelector::selectConstVector(Register ResVReg,
1495 bool SPIRVInstructionSelector::selectSplatVector(Register ResVReg,
1528 bool SPIRVInstructionSelector::selectCmp(Register ResVReg,
1545 bool SPIRVInstructionSelector::selectICmp(Register ResVReg,
1561 void SPIRVInstructionSelector::renderFImm32(MachineInstrBuilder &MIB,
1570 void SPIRVInstructionSelector::renderImm32(MachineInstrBuilder &MIB,
1579 SPIRVInstructionSelector::buildI32Constant(uint32_t Val, MachineInstr &I,
1607 bool SPIRVInstructionSelector::selectFCmp(Register ResVReg,
1614 Register SPIRVInstructionSelector::buildZerosVal(const SPIRVType *ResType,
1637 Register SPIRVInstructionSelector::buildZerosValF(const SPIRVType *ResType,
1647 Register SPIRVInstructionSelector::buildOnesVal(bool AllOnes,
1658 bool SPIRVInstructionSelector::selectSelect(Register ResVReg,
1678 bool SPIRVInstructionSelector::selectIToF(Register ResVReg,
1698 bool SPIRVInstructionSelector::selectExt(Register ResVReg,
1717 bool SPIRVInstructionSelector::selectIntToBool(Register IntReg,
1743 bool SPIRVInstructionSelector::selectTrunc(Register ResVReg,
1761 bool SPIRVInstructionSelector::selectConst(Register ResVReg,
1793 bool SPIRVInstructionSelector::selectOpUndef(Register ResVReg,
1822 bool SPIRVInstructionSelector::selectInsertVal(Register ResVReg,
1838 bool SPIRVInstructionSelector::selectExtractVal(Register ResVReg,
1851 bool SPIRVInstructionSelector::selectInsertElt(Register ResVReg,
1866 bool SPIRVInstructionSelector::selectExtractElt(Register ResVReg,
1880 bool SPIRVInstructionSelector::selectGEP(Register ResVReg,
1910 bool SPIRVInstructionSelector::wrapIntoSpecConstantOp(
1953 bool SPIRVInstructionSelector::selectIntrinsic(Register ResVReg,
2087 bool SPIRVInstructionSelector::selectAllocaArray(Register ResVReg,
2101 bool SPIRVInstructionSelector::selectFrameIndex(Register ResVReg,
2128 bool SPIRVInstructionSelector::selectBranch(MachineInstr &I) const {
2147 bool SPIRVInstructionSelector::selectBranchCond(MachineInstr &I) const {
2174 bool SPIRVInstructionSelector::selectPhi(Register ResVReg,
2188 bool SPIRVInstructionSelector::selectGlobalValue(
2297 bool SPIRVInstructionSelector::selectLog10(Register ResVReg,
2348 bool SPIRVInstructionSelector::selectSpvThreadId(Register ResVReg,
2415 return new SPIRVInstructionSelector(TM, Subtarget, RBI);