reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1852 Assert(MD->getNumOperands() >= 2, 1853 "!prof annotations should have no less than 2 operands", MD); 1856 Assert(MD->getOperand(0) != nullptr, "first operand should not be null", 1857 MD); 1858 Assert(isa<MDString>(MD->getOperand(0)), 1859 "expected string with name of the !prof annotation", MD); 1860 MDString *MDS = cast<MDString>(MD->getOperand(0)); 1866 MD); 1869 Assert(MD->getOperand(1) != nullptr, "second operand should not be null", 1870 MD); 1871 Assert(isa<ConstantAsMetadata>(MD->getOperand(1)), 1872 "expected integer argument to function_entry_count", MD);