Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVBuiltins.cpp344 MachineInstr *DefMI2 = MRI->getUniqueVRegDef(DefMI->getOperand(2).getReg()); in getConstFromIntrinsic() local
345 assert(DefMI2->getOpcode() == TargetOpcode::G_CONSTANT && in getConstFromIntrinsic()
346 DefMI2->getOperand(1).isCImm()); in getConstFromIntrinsic()
347 return DefMI2->getOperand(1).getCImm()->getValue().getZExtValue(); in getConstFromIntrinsic()