search for: external_call

Displaying 2 results from an estimated 2 matches for "external_call".

Did you mean: external_acl
2008 Feb 25
0
[LLVMdev] Calling functions
...ms; | params.push_back( Type::FloatTy ); | FunctionType *FT = FunctionType::get( Type::FloatTy, params, false); | Function *F = new Function( FT, Function::ExternalLinkage, "sin", M ); | CallInst *CallExternal = new CallInst( F, SomeValue, "external_call", BB ); | | | I can make some calls to functions like glclear() as I'm using opengl: | ... | Function *F = new Function( FT, Function::ExternalLinkage, "glclear", M ); | ... | | But if I want to call any function inside a C++ nam...
2008 Feb 22
2
[LLVMdev] Calling functions
...std: std::vector<const Type*> params; params.push_back( Type::FloatTy ); FunctionType *FT = FunctionType::get( Type::FloatTy, params, false); Function *F = new Function( FT, Function::ExternalLinkage, "sin", M ); CallInst *CallExternal = new CallInst( F, SomeValue, "external_call", BB ); I can make some calls to functions like glclear() as I'm using opengl: ... Function *F = new Function( FT, Function::ExternalLinkage, "glclear", M ); ... But if I want to call any function inside a C++ namespace I don't find the way to do it. Imagine you want to...