Displaying 5 results from an estimated 5 matches for "thestack".
Did you mean:
thespark
2003 Nov 23
3
[LLVMdev] Linkage Types again!
The problem I'm experiencing with Stacker has to do with linkage types
(again!).
What I'm trying to do is create a "global appending" array. In
compilation units that don't include "main", I generate it with:
TheStack = new GlobalVariable(
/*type=*/ stack_type,
/*isConstant=*/ false,
/*Linkage=*/ GlobalValue::AppendingLinkage,
/*initializer=*/ 0,
/*name=*/ "_stack_",
/*parent=*/ TheModule
);...
2003 Nov 21
2
[LLVMdev] Need Help With Verifier
...tack
(used to form the "gep" in the above code):
> ArrayType* stack_type = ArrayType::get( Type::IntTy, stack_size );
>
> TheStack = new GlobalVariable(
> /*type=*/ stack_type,
> /*isConstant=*/ false,
> /*Linkage=*/ GlobalValue::AppendingLinkage,
> /*initializer=*/0,
> /*name=*/ "_stack_",
> /*parent=*/ TheModule
> );
Shouldn't that create just a single dimensi...
2003 Nov 21
0
[LLVMdev] Need Help With Verifier
...dex (GEP)
> 4. Store the value 1 at that address (StoreInst).
Yup, that sounds good.
> std::vector<Value*> indexVec; // Index vector
> indexVec.push_back(loadop); // Insert single index
> GetElementPtrInst* gep = new GetElementPtrInst(
> TheStack, indexVec );
> bb->getInstList().push_back( gep ); // Put GEP in Block
This is the problem. The deal here is that the 'getelementptr'
instruction actually takes one extra argument than you are giving it (this
is, by far, the most confusing aspect of the getelementptr ins...
2018 Nov 08
2
Building GC on statepoint-example
...However, after hours of searching, reading documentation and trying to
> find code examples online, I cannot figure out how to access the Stack
> Map.
>
> The documentation for statepoint-example says:
>
> /The stack map format generated by this GC strategy can be found in
> theStack Map Section
> <https://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fllvm.org%2Fdocs%2FStackMaps.html%23stackmap-section&data=02%7C01%7C%7Ce9642625652f4a29fc1f08d6403dfa73%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636767032264647521&sdata=2cqSbyrmgxWfRh95yvOnwU6v42J1HR...
2018 Nov 01
2
Building GC on statepoint-example
Hi,
I'm trying to build a gc using the statepoint-example strategy. However, after hours of searching, reading documentation and trying to find code examples online, I cannot figure out how to access the Stack Map.
The documentation for statepoint-example says:
The stack map format generated by this GC strategy can be found in the Stack Map