Displaying 12 results from an estimated 12 matches for "mainblock".
2008 Jan 06
4
[LLVMdev] Another memory fun
...uot;hello, \00" ; <[8 x i8]*>
[#uses=1]
@.str7 = internal global [21 x i8] c"welcome to out hall!\00" ;
<[21 x i8]*> [#uses=1]
declare i32 @puts(i8*)
declare i8* @strcat(i8*, i8*)
declare void @llvm.memcpy.i32(i8*, i8*, i32, i32)
define i32 @main() {
mainBlock:
%.str3 = getelementptr [8 x i8]* @.str2, i64 0, i64 0 ;
<i8*> [#uses=1]
%.str4 = getelementptr [8 x i8]* @.str1, i64 0, i64 0 ;
<i8*> [#uses=1]
%tmp5 = call i8* @strcat( i8* %.str3, i8* %.str4 ) ;
<i8*> [#uses=1]
%t...
2008 Jan 06
0
[LLVMdev] Another memory fun
...r\00" ; <[7 x i8]*>
[#uses=1]
@.str8 = internal global [8 x i8] c"mother \00" ; <[8 x i8]*>
[#uses=1]
declare i32 @puts(i8*)
declare i8* @strcat(i8*, i8*)
declare i32 @strlen(i8*)
declare void @llvm.memcpy.i32(i8*, i8*, i32, i32)
define i32 @main() {
mainBlock:
%str3 = getelementptr [7 x i8]* @.str2, i64 0, i64 0 ;
<i8*> [#uses=2]
%str4 = getelementptr [6 x i8]* @.str1, i64 0, i64 0 ;
<i8*> [#uses=1]
call i8* @strcat( i8* %str3, i8* %str4 ) ; <i8*>:0
[#uses=0]
%tmp6 =...
2008 Jan 06
4
[LLVMdev] Another memory fun
Yes, I agree with you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080106/efb1c465/attachment.html>
2008 Jan 06
0
[LLVMdev] Another memory fun
...1]
> @.str7 = internal global [21 x i8] c"welcome to out hall!\00"
> ; <[21 x i8]*> [#uses=1]
>
> declare i32 @puts(i8*)
>
> declare i8* @strcat(i8*, i8*)
>
> declare void @llvm.memcpy.i32(i8*, i8*, i32, i32)
>
> define i32 @main() {
> mainBlock:
> %.str3 = getelementptr [8 x i8]* @.str2, i64 0, i64 0
> ; <i8*> [#uses=1]
> %.str4 = getelementptr [8 x i8]* @.str1, i64 0, i64 0
> ; <i8*> [#uses=1]
> %tmp5 = call i8* @strcat( i8* %.str3, i8* %.str4 )
> ;...
2008 Jan 06
2
[LLVMdev] trouble with getelementptr
...*> [#uses=1]
@.str4 = internal constant [9 x i8] c"\22hello, \22" ; <[9 x
i8]*> [#uses=1]
@.str7 = internal constant [7 x i8] c"\22heya!\22" ; <[7 x
i8]*> [#uses=1]
declare i32 @puts(i8*)
declare i8 @strcat(i8*, i8*)
define i32 @main() {
mainBlock:
%tmp2 = getelementptr [20 x i8]* @.str1, i64 0, i64 0 ;
<i8*> [#uses=1]
%tmp3 = call i32 @puts( i8* %tmp2 ) ; <i32> [#uses=0]
%tmp5 = getelementptr [9 x i8]* @.str4, i64 0, i64 0 ;
<i8*> [#uses=1]
%tmp6 = call i32 @...
2012 Apr 23
1
[LLVMdev] Problem about the type of Function's arguement in llvm
...rgslist.push_back(Type::getDoubleTy(Context));
FunctionType *funType = FunctionType::get(Type::getDoubleTy(Context),
argslist, false);
Function *fun= cast<Function> ( module->getOrInsertFunction("fun",
funType));
BasicBlock * block = BasicBlock::Create(Context, "mainBlock", fun);
IRBuilder<> builder(block);
Function::arg_iterator itr = fun->arg_begin();
builder.CreateLoad(itr);
Value *result = ConstantFP::get(Type::getDoubleTy(getGlobalContext()),
1.0);
builder.CreateRet(result);
vector<GenericValue> args;
ExecutionE...
2008 Jan 06
4
[LLVMdev] Another memory fun
...r\00" ; <[7 x i8]*>
[#uses=1]
@.str8 = internal global [8 x i8] c"mother \00" ; <[8 x i8]*>
[#uses=1]
declare i32 @puts(i8*)
declare i8* @strcat(i8*, i8*)
declare i32 @strlen(i8*)
declare void @llvm.memcpy.i32(i8*, i8*, i32, i32)
define i32 @main() {
mainBlock:
%str3 = getelementptr [7 x i8]* @.str2, i64 0, i64 0 ;
<i8*> [#uses=2]
%str4 = getelementptr [6 x i8]* @.str1, i64 0, i64 0 ;
<i8*> [#uses=1]
call i8* @strcat( i8* %str3, i8* %str4 ) ; <i8*>:0
[#uses=0]
%tmp6 =...
2008 Jan 06
0
[LLVMdev] Another memory fun
...es=1]
> @.str7 = internal global [21 x i8] c"welcome to out hall!
> \00" ; <[21 x i8]*> [#uses=1]
>
> declare i32 @puts(i8*)
>
> declare i8* @strcat(i8*, i8*)
>
> declare void @llvm.memcpy.i32(i8*, i8*, i32, i32)
>
> define i32 @main() {
> mainBlock:
> %.str3 = getelementptr [8 x i8]* @.str2, i64 0, i64
> 0 ; <i8*> [#uses=1]
> %.str4 = getelementptr [8 x i8]* @.str1, i64 0, i64
> 0 ; <i8*> [#uses=1]
> %tmp5 = call i8* @strcat( i8* %.str3, i8*
> %.str4 )...
2018 Dec 04
1
Required to Build Samba
...d Artful to Ubuntu 17.10 and up.
I think thats a bit better to understand.
>
> If you can tell me why you didn't understand them or missed them, I
> will try to change them, but, until Ubuntu 14.04 finally goes EOL (next
> year), the main block will have to stay as it is.
The mainblock is fine.
>
> Rowland
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>
Greetz,
Louis
2012 Apr 22
0
[LLVMdev] Problem about the type of Function's arguement in llvm
hi
On Sun, Apr 22, 2012 at 8:36 PM, Jianfei Hu <hujianfei258 at gmail.com> wrote:
> in the tutorial of official llvm doc, chapter 3, it deals with arguement of
> function as follow:
>
> for (Function::arg_iterator AI = F->arg_begin(); Idx != Args.size();
> ++AI, ++Idx) {
> AI->setName(Args[Idx]);
>
> // NamedValues is map<string, Value*>
2012 Apr 22
2
[LLVMdev] Problem about the type of Function's arguement in llvm
in the tutorial of official llvm doc, chapter 3, it deals with arguement
of function as follow:
for (Function::arg_iterator AI = F->arg_begin(); Idx != Args.size();
++AI, ++Idx) {
AI->setName(Args[Idx]);
// NamedValues is map<string, Value*>
NamedValues[Args[Idx]] = AI;
and when it try to get the value of arguement, it simply does:
Value
2018 Dec 04
3
Required to Build Samba
The wiki:
https://wiki.samba.org/index.php/Package_Dependencies_Required_to_Build_Samba
Debian / Ubuntu
These 2 packages are not available for 18.04 but are for 16.04
python-gpgme python3-gpgme
Does this mean you can't build on 18.04? I assume so.
I assume this is okay: Note, selecting 'perl-modules-5.26' instead of 'perl-modules'
-Barry Adkins