Displaying 9 results from an estimated 9 matches for "pfunction".
Did you mean:
function
2011 Jan 26
2
[LLVMdev] [LLVMDEV]How could I get function name in this situation?
Hi:
My llvm code is:
for( BasicBlock::iterator i = b->begin() , ie = b->end();
b != be ; b ++ ){
if( CallInst * pCall = dyn_cast<CallInst>(i)){
pCall->dump(); //
Function * pFunction = pCall->getCalledFunction();
if( !pFunction ){
}
std::string fname = pFunction->getName();
}
}
The dump result of the function call I want to find is :
call void %7(%struct.nsAString* %8, i32 0) nounwind, !dbg !1565
it returns null from pCall-...
2011 Jan 26
2
[LLVMdev] [LLVMDEV]How could I get function name in this situation?
...>> My llvm code is:
>>
>> for( BasicBlock::iterator i = b->begin() , ie = b->end();
>> b != be ; b ++ ){
>> if( CallInst * pCall = dyn_cast<CallInst>(i)){
>>
>> pCall->dump(); //
>> Function * pFunction = pCall->getCalledFunction();
>> if( !pFunction ){
>>
>> }
>> std::string fname = pFunction->getName();
>> }
>> }
>>
>> The dump result of the function call I want to find is :
>>
>>...
2011 Jan 26
2
[LLVMdev] [LLVMDEV]How could I get function name in this situation?
...; for( BasicBlock::iterator i = b->begin() , ie = b->end();
>>>> b != be ; b ++ ){
>>>> if( CallInst * pCall = dyn_cast<CallInst>(i)){
>>>>
>>>> pCall->dump(); //
>>>> Function * pFunction = pCall->getCalledFunction();
>>>> if( !pFunction ){
>>>>
>>>> }
>>>> std::string fname = pFunction->getName();
>>>> }
>>>> }
>>>>
>>>> The dump...
2011 Jan 26
0
[LLVMdev] [LLVMDEV]How could I get function name in this situation?
...s.wisc.edu wrote:
> Hi:
>
> My llvm code is:
>
> for( BasicBlock::iterator i = b->begin() , ie = b->end();
> b != be ; b ++ ){
> if( CallInst * pCall = dyn_cast<CallInst>(i)){
>
> pCall->dump(); //
> Function * pFunction = pCall->getCalledFunction();
> if( !pFunction ){
>
> }
> std::string fname = pFunction->getName();
> }
> }
>
> The dump result of the function call I want to find is :
>
> call void %7(%struct.nsAString* %8, i32...
2011 Jan 26
0
[LLVMdev] [LLVMDEV]How could I get function name in this situation?
...>>
>>> for( BasicBlock::iterator i = b->begin() , ie = b->end();
>>> b != be ; b ++ ){
>>> if( CallInst * pCall = dyn_cast<CallInst>(i)){
>>>
>>> pCall->dump(); //
>>> Function * pFunction = pCall->getCalledFunction();
>>> if( !pFunction ){
>>>
>>> }
>>> std::string fname = pFunction->getName();
>>> }
>>> }
>>>
>>> The dump result of the function call I w...
2011 Jan 26
0
[LLVMdev] [LLVMDEV]How could I get function name in this situation?
...terator i = b->begin() , ie = b->end();
>>>>> b != be ; b ++ ){
>>>>> if( CallInst * pCall = dyn_cast<CallInst>(i)){
>>>>>
>>>>> pCall->dump(); //
>>>>> Function * pFunction = pCall->getCalledFunction();
>>>>> if( !pFunction ){
>>>>>
>>>>> }
>>>>> std::string fname = pFunction->getName();
>>>>> }
>>>>> }
>>>>&...
2016 Sep 19
3
llvm interpreter does not find function defined by addGlobalMapping
...vm::EngineKind::Interpreter).create();
pModule->setDataLayout(pExecutionEngine->getDataLayout());
// declaration of the c function.
std::vector<llvm::Type *> noArgTypes;
llvm::FunctionType* ft = llvm::FunctionType::get(llvm::Type::getDoubleTy(context),noArgTypes, false);
auto pFunction = llvm::Function::Create(ft, llvm::Function::ExternalLinkage, "testFunction",pModule);
pExecutionEngine->addGlobalMapping(pFunction,reinterpret_cast<void*>(&testFunction));
// generation of llvm code
auto pBlock = llvm::BasicBlock::Create(context, "evaluation"...
2011 Jan 26
2
[LLVMdev] [LLVMDEV]How could I get function name in this situation?
...gin() , ie = b->end();
>>>>>> b != be ; b ++ ){
>>>>>> if( CallInst * pCall = dyn_cast<CallInst>(i)){
>>>>>>
>>>>>> pCall->dump(); //
>>>>>> Function * pFunction = pCall->getCalledFunction();
>>>>>> if( !pFunction ){
>>>>>>
>>>>>> }
>>>>>> std::string fname = pFunction->getName();
>>>>>> }
>>>>>>...
2008 Dec 20
0
Wine release 1.1.11
...uild: Make the cpu flag more generic to allow supporting a given entry point on multiple platforms.
include: Implemented inline asm functions for x86_64. Export Interlocked* only on i386.
include: Added some definitions for x86_64 exception handling.
ntdll: Added stubs for RtlLookupFunctionEntry and RtlVirtualUnwind.
kernel32/tests: Fixed the handle test for Win9x.
include: Added the msvcrt memory.h header.
wininet: Include ws2tcpip.h before anything else for the Windows build.
server: Get rid of the support for module snapshots, it is no longer needed.
s...