instructionssoa.cpp File Reference

Include dependency graph for instructionssoa.cpp:

Go to the source code of this file.

Functions

void checkFunction (Function *func)


Function Documentation

void checkFunction ( Function *  func  ) 

Definition at line 433 of file instructionssoa.cpp.

00434 {
00435    for (Function::const_iterator BI = func->begin(), BE = func->end();
00436         BI != BE; ++BI) {
00437       const BasicBlock &BB = *BI;
00438       for (BasicBlock::const_iterator II = BB.begin(), IE = BB.end();
00439            II != IE; ++II) {
00440          const Instruction &I = *II;
00441          std::cout<< "Instr = "<<I;
00442          for (unsigned op = 0, E = I.getNumOperands(); op != E; ++op) {
00443             const Value *Op = I.getOperand(op);
00444             std::cout<< "\top = "<<Op<<"("<<op<<")"<<std::endl;
00445             //I->setOperand(op, V);
00446   }
00447       }
00448    }
00449 }


Generated on Tue Sep 29 06:25:23 2009 for Gallium3D by  doxygen 1.5.4