Displaying 4 results from an estimated 4 matches for "ar_arg".
Did you mean:
ar_args
2012 Nov 02
4
[LLVMdev] Instruction does not dominate all uses! <badref> ??
...* func = module->getFunction( "add" );
std::vector<llvm::Value*> args;
args.push_back( llvm::ConstantInt::get( llvm::Type::getInt32Ty(
*context ), 2 ) );
args.push_back( llvm::ConstantInt::get( llvm::Type::getInt32Ty(
*context ), 3 ) );
llvm::ArrayRef<llvm::Value*> ar_args( args );
return llvm::CallInst::Create( func, ar_args );
--
edA-qa mort-ora-y
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Sign: Please digitally sign your emails.
Encrypt: I'm also happy to receive encrypted mail.
-------------- next part --------------
A non...
2012 Nov 02
0
[LLVMdev] Instruction does not dominate all uses! <badref> ??
...d" );
>
> std::vector<llvm::Value*> args;
> args.push_back( llvm::ConstantInt::get( llvm::Type::getInt32Ty(
> *context ), 2 ) );
> args.push_back( llvm::ConstantInt::get( llvm::Type::getInt32Ty(
> *context ), 3 ) );
>
> llvm::ArrayRef<llvm::Value*> ar_args( args );
> return llvm::CallInst::Create( func, ar_args );
This creates a CallInst but doesn't insert it into any basic block.
Nick
2012 Nov 02
0
[LLVMdev] Instruction does not dominate all uses! <badref> ??
...add" );
>
> std::vector<llvm::Value*> args;
> args.push_back( llvm::ConstantInt::get( llvm::Type::getInt32Ty(
> *context ), 2 ) );
> args.push_back( llvm::ConstantInt::get( llvm::Type::getInt32Ty(
> *context ), 3 ) );
>
> llvm::ArrayRef<llvm::Value*> ar_args( args );
> return llvm::CallInst::Create( func, ar_args );
^ Didn't add it to a basic block.
Ciao, Duncan.
>
>
>
>
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
>...
2012 Nov 02
2
[LLVMdev] Instruction does not dominate all uses! <badref> ??
...lt;llvm::Value*> args;
>> args.push_back( llvm::ConstantInt::get( llvm::Type::getInt32Ty(
>> *context ), 2 ) );
>> args.push_back( llvm::ConstantInt::get( llvm::Type::getInt32Ty(
>> *context ), 3 ) );
>>
>> llvm::ArrayRef<llvm::Value*> ar_args( args );
>> return llvm::CallInst::Create( func, ar_args );
>
> This creates a CallInst but doesn't insert it into any basic block.
>
> Nick
>
>
--
edA-qa mort-ora-y
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Sign: Please digitall...