• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/RISCV/

Lines Matching refs:VC1

190 //  (OR (SHL RS1, VC2), VC1)
192 // and then we check that VC1, the mask used to fill with ones, is compatible
195 // VC1 == maskTrailingOnes<uint64_t>(VC2)
206 uint64_t VC1 = Or.getConstantOperandVal(1);
208 if (VC1 == maskTrailingOnes<uint64_t>(VC2)) {
216 uint32_t VC1 = Or.getConstantOperandVal(1);
218 if (VC1 == maskTrailingOnes<uint32_t>(VC2)) {
234 // (OR (SRL RS1, VC2), VC1)
236 // and then we check that VC1, the mask used to fill with ones, is compatible
239 // VC1 == maskLeadingOnes<uint64_t>(VC2)
250 uint64_t VC1 = Or.getConstantOperandVal(1);
252 if (VC1 == maskLeadingOnes<uint64_t>(VC2)) {
260 uint32_t VC1 = Or.getConstantOperandVal(1);
262 if (VC1 == maskLeadingOnes<uint32_t>(VC2)) {
319 // (AND (SHL RS1, VC2), VC1)
323 // Eventually we check that that VC1, the mask used to clear the upper 32 bits
326 // VC1 == (0xFFFFFFFF << VC2)
335 uint64_t VC1 = And.getConstantOperandVal(1);
337 if (VC2 < 32 && VC1 == ((uint64_t)0xFFFFFFFF << VC2)) {
352 // (SIGN_EXTEND_INREG (OR (SHL RS1, VC2), VC1))
354 // and then we check that VC1, the mask used to fill with ones, is compatible
357 // VC1 == maskTrailingOnes<uint32_t>(VC2)
369 uint32_t VC1 = Or.getConstantOperandVal(1);
371 if (VC1 == maskTrailingOnes<uint32_t>(VC2)) {
387 // (OR (SHL RS1, VC2), VC1)
389 // and then we check that VC1, the mask used to fill with ones, is compatible
392 // VC1 == maskLeadingOnes<uint32_t>(VC2)
401 uint32_t VC1 = Or.getConstantOperandVal(1);
403 if (VC1 == maskLeadingOnes<uint32_t>(VC2)) {
419 // (SRL (AND (AssertSext RS2, i32), VC3), VC1)))
423 // VC2 == 32 - VC1
426 // being VC1 the Shamt we need, VC2 the complementary of Shamt over 32
427 // and VC3 a 32 bit mask of (32 - VC1) leading ones.
444 uint32_t VC1 = Srl.getConstantOperandVal(1);
447 if (VC2 == (32 - VC1) &&
450 Shamt = CurDAG->getTargetConstant(VC1, SDLoc(N),
466 // (SRL (AND (AssertSext RS2, i32), VC3), VC1)))
470 // VC2 == 32 - VC1
473 // being VC1 the Shamt we need, VC2 the complementary of Shamt over 32
474 // and VC3 a 32 bit mask of (32 - VC1) leading ones.
492 uint32_t VC1 = Srl.getConstantOperandVal(1);
495 if (VC2 == (32 - VC1) &&
499 Shamt = CurDAG->getTargetConstant(VC1, SDLoc(N),