reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/IR/Metadata.h
 1395   unsigned getNumOperands() const;

References

include/llvm/IR/Metadata.h
 1410   op_iterator op_end()   { return op_iterator(this, getNumOperands()); }
 1415   const_op_iterator op_end()   const { return const_op_iterator(this, getNumOperands()); }
include/llvm/IR/Module.h
  776     return debug_compile_units_iterator(CUs, CUs ? CUs->getNumOperands() : 0);
  786         debug_compile_units_iterator(CUs, CUs ? CUs->getNumOperands() : 0));
lib/Bitcode/Reader/MetadataLoader.cpp
  500       for (unsigned I = 0, E = CUNodes->getNumOperands(); I != E; ++I) {
lib/Bitcode/Writer/ValueEnumerator.cpp
  562   for (unsigned i = 0, e = MD->getNumOperands(); i != e; ++i)
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
 2054     for (unsigned i = 0, e = NMD->getNumOperands(); i != e; ++i) {
 2070   if (!NMD || !NMD->getNumOperands())
 2076   for (unsigned i = 0, e = NMD->getNumOperands(); i != e; ++i) {
lib/IR/AsmWriter.cpp
  954     for (unsigned i = 0, e = NMD.getNumOperands(); i != e; ++i)
 3163   for (unsigned i = 0, e = NMD->getNumOperands(); i != e; ++i) {
lib/IR/AutoUpgrade.cpp
 3986   for (unsigned I = 0, E = ModFlags->getNumOperands(); I != E; ++I) {
lib/IR/Core.cpp
 1193     return N->getNumOperands();
 1204   for (unsigned i=0;i<N->getNumOperands();i++)
lib/IR/Metadata.cpp
 1081   assert(i < getNumOperands() && "Invalid Operand number!");
 1089   assert(I < getNumOperands() && "Invalid operand number");
lib/IR/Module.cpp
  379   while (CUs && (Idx < CUs->getNumOperands()) &&
lib/LTO/LTOModule.cpp
  631     for (unsigned i = 0, e = LinkerOptions->getNumOperands(); i != e; ++i) {
lib/Linker/IRMover.cpp
 1119   for (unsigned I = 0, E = SrcCompileUnits->getNumOperands(); I != E; ++I) {
 1201   if (DstModFlags->getNumOperands() == 0) {
 1202     for (unsigned I = 0, E = SrcModFlags->getNumOperands(); I != E; ++I)
 1211   for (unsigned I = 0, E = DstModFlags->getNumOperands(); I != E; ++I) {
 1225   for (unsigned I = 0, E = SrcModFlags->getNumOperands(); I != E; ++I) {
 1247       Flags[ID] = std::make_pair(SrcOp, DstModFlags->getNumOperands());
lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
  270   if (!Node || !Node->getNumOperands())
  676   if (!Node || !Node->getNumOperands())
lib/Target/AMDGPU/AMDGPUUnifyMetadata.cpp
   60       if (!NamedMD || NamedMD->getNumOperands() <= 1)
   93     if (!NamedMD || NamedMD->getNumOperands() == 1)
lib/Target/AMDGPU/R600OpenCLImageTypeLoweringPass.cpp
  337     for (unsigned i = 0; i < KernelsMDNode->getNumOperands(); ++i) {
lib/Target/AMDGPU/Utils/AMDGPUPALMetadata.cpp
   35   if (NamedMD && NamedMD->getNumOperands()) {
   48   if (!NamedMD || !NamedMD->getNumOperands())
lib/Target/NVPTX/NVPTXUtilities.cpp
   78   for (unsigned i = 0, e = NMD->getNumOperands(); i != e; ++i) {
lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
  173     for (size_t I = 0, E = Debug->getNumOperands(); I < E; ++I) {
  185     for (size_t I = 0, E = Ident->getNumOperands(); I < E; ++I) {
lib/Target/X86/X86FrameLowering.cpp
 2538   for (int i = 0, e = HiPELiteralsMD->getNumOperands(); i != e; ++i) {
lib/Transforms/Instrumentation/GCOVProfiling.cpp
  524     for (int i = 0, e = GCov->getNumOperands(); i != e; ++i) {
  668   for (unsigned i = 0, e = CU_Nodes->getNumOperands(); i != e; ++i) {
  775   for (unsigned i = 0, e = CU_Nodes->getNumOperands(); i != e; ++i) {
  988   for (int i : llvm::seq<int>(0, CUNodes->getNumOperands())) {
lib/Transforms/Utils/CloneModule.cpp
  201       for (unsigned i = 0, e = NMD.getNumOperands(); i != e; ++i)
tools/bugpoint-passes/TestPasses.cpp
  114     if (CU_Nodes->getNumOperands() >= 2)
tools/bugpoint/CrashDebugger.cpp
  857         (!(NamedMD.getName() == "llvm.dbg.cu" && NamedMD.getNumOperands() > 0)))
tools/clang/lib/CodeGen/CGExpr.cpp
 2449   if (M->getNumOperands() == 0) {
tools/clang/lib/CodeGen/CodeGenModule.cpp
 5696   for (int i = 0, e = CUNode->getNumOperands(); i != e; ++i) {
tools/lldb/source/Plugins/ExpressionParser/Clang/IRForTarget.cpp
  124   unsigned num_nodes = named_metadata->getNumOperands();
tools/llvm-reduce/deltas/ReduceMetadata.cpp
   97     for (int I = 0, E = NN->getNumOperands(); I != E; ++I)
tools/opt/BreakpointPrinter.cpp
   47       for (unsigned i = 0, e = NMD->getNumOperands(); i != e; ++i) {
tools/opt/Debugify.cpp
  158   assert(NMD->getNumOperands() == 2 &&
  224   assert(NMD->getNumOperands() == 2 &&
unittests/Transforms/Utils/CloningTest.cpp
  657     return LLVM_DBG_CU->getNumOperands();
  835   EXPECT_EQ(NMD->getNumOperands(), 1U);