Home
last modified time | relevance | path

Searched refs:VLOp (Results 1 – 4 of 4) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVVLOptimizer.cpp1300 const MachineOperand &VLOp = UserMI.getOperand(VLOpNum); in getMinimumVLForUser() local
1302 assert((!VLOp.isReg() || VLOp.getReg() != RISCV::X0) && in getMinimumVLForUser()
1311 if (!DemandedVL || !RISCV::isVLKnownLE(*DemandedVL, VLOp)) { in getMinimumVLForUser()
1329 if (RISCV::isVLKnownLE(*DemandedVL, VLOp)) in getMinimumVLForUser()
1333 return VLOp; in getMinimumVLForUser()
1366 auto VLOp = getMinimumVLForUser(UserOp); in checkUsers() local
1367 if (!VLOp) in checkUsers()
1372 if (!CommonVL || RISCV::isVLKnownLE(*CommonVL, *VLOp)) { in checkUsers()
1373 CommonVL = *VLOp; in checkUsers()
1374 LLVM_DEBUG(dbgs() << " User VL is: " << VLOp << "\n"); in checkUsers()
[all …]
H A DRISCVInsertVSETVLI.cpp351 if (const MachineOperand &VLOp = MI.getOperand(getVLOpNum(MI)); in getDemanded() local
352 !VLOp.isReg() || !VLOp.isUndef()) in getDemanded()
417 const MachineOperand &VLOp = MI.getOperand(getVLOpNum(MI)); in getDemanded() local
427 if (RISCVInstrInfo::isVSlideInstr(MI) && VLOp.isImm() && in getDemanded()
428 VLOp.getImm() == 1 && hasUndefinedPassthru(MI) && in getDemanded()
442 if (RISCVInstrInfo::isScalarSplatInstr(MI) && VLOp.isImm() && in getDemanded()
443 VLOp.getImm() == 1 && hasUndefinedPassthru(MI) && in getDemanded()
1010 const MachineOperand &VLOp = MI.getOperand(getVLOpNum(MI)); in computeInfoForInstr() local
1011 if (VLOp.isImm()) { in computeInfoForInstr()
1012 int64_t Imm = VLOp.getImm(); in computeInfoForInstr()
[all …]
H A DRISCVVectorPeephole.cpp329 MachineOperand &VLOp = MI.getOperand(RISCVII::getVLOpNum(MI.getDesc())); in convertToWholeRegister() local
330 if (!VLOp.isImm() || VLOp.getImm() != RISCV::VLMaxSentinel) in convertToWholeRegister()
H A DRISCVInstrInfoVPseudos.td113 def VLOp : ComplexPattern<XLenVT, 1, "selectVLOp">;
120 GIComplexPatternEquiv<VLOp>;
261 def VLOpFrag : PatFrag<(ops), (XLenVT (VLOp (XLenVT AVL:$vl)))>;