search for: _z12printcondresb

Displaying 3 results from an estimated 3 matches for "_z12printcondresb".

2010 Jun 04
5
[LLVMdev] Inserting a function call into bitcode
...lue *condRes = brInst->getCondition(); errs()<<"Type:"<<condRes->getType()->getDescription()<<"\n"; // Looking for a function in Module Symbol table Constant *PrintFn = M.getOrInsertFunction("_Z12PrintCondResb", Type::getInt32Ty(context), condRes->getType(), (Type *)0); if(!PrintFn) { errs()<<"GetOrInsertFailed\n"; continue; } std::vector<Value...
2010 Jun 04
0
[LLVMdev] Inserting a function call into bitcode
...()) continue; > > Value *condRes = brInst->getCondition(); > > errs()<<"Type:"<<condRes->getType()->getDescription()<<"\n"; > > // Looking for a function in Module Symbol table > > Constant *PrintFn = M.getOrInsertFunction("_Z12PrintCondResb", > Type::getInt32Ty(context), condRes->getType(), (Type *)0); > > if(!PrintFn) { > > errs()<<"GetOrInsertFailed\n"; > > continue; > > } > > std::vector<Value *> args(1); > > args[0] = condRes; > > // Creating a call instruc...
2010 Jun 04
0
[LLVMdev] Inserting a function call into bitcode
...> > errs()<<"Type:"<<condRes->getType()->getDescription()<<"\n"; > > > >                        // Looking for a function in Module Symbol > table > >                         Constant *PrintFn = > M.getOrInsertFunction("_Z12PrintCondResb", Type::getInt32Ty(context), > condRes->getType(), (Type *)0); > >                         if(!PrintFn) { > >                             errs()<<"GetOrInsertFailed\n"; > >                             continue; > >                         } > &g...