Displaying 5 results from an estimated 5 matches for "pvectormodule".
2007 Jul 20
5
[LLVMdev] Seg faulting on vector ops
...("x");
Value* v1 = makeVector(x,4,basicBlock);
Value* s = new ExtractElementInst(v1,3,"s",basicBlock);
new ReturnInst(s,basicBlock);
return func;
}
// modified from the fibonacci example
int main(int argc, char **argv)
{
Module* pVectorModule = new Module("test vectors");
Function* pMain = generateVectorAndSelect(pVectorModule);
pVectorModule->print(std::cout);
GenericValue gv1, gv2, gvR;
gv1.FloatVal = 2.0f;
ExistingModuleProvider *pMP = new
ExistingModuleProvider(pVectorModule);...
2007 Jul 21
0
[LLVMdev] Seg faulting on vector ops
...alue* s = new ExtractElementInst(v1,3,"s",basicBlock);
>
>
>
> new ReturnInst(s,basicBlock);
>
>
>
> return func;
>
> }
>
>
>
> // modified from the fibonacci example
>
> int main(int argc, char **argv)
>
> {
>
> Module* pVectorModule = new Module("test vectors");
>
>
>
> Function* pMain = generateVectorAndSelect(pVectorModule);
>
>
>
> pVectorModule->print(std::cout);
>
>
>
> GenericValue gv1, gv2, gvR;
>
>
>
> gv1.FloatVal = 2.0f;
>
>
>
> E...
2007 Jul 24
2
[LLVMdev] Seg faulting on vector ops
...t;
>>
>> new ReturnInst(s,basicBlock);
>>
>>
>>
>> return func;
>>
>> }
>>
>>
>>
>> // modified from the fibonacci example
>>
>> int main(int argc, char **argv)
>>
>> {
>>
>> Module* pVectorModule = new Module("test vectors");
>>
>>
>>
>> Function* pMain = generateVectorAndSelect(pVectorModule);
>>
>>
>>
>> pVectorModule->print(std::cout);
>>
>>
>>
>> GenericValue gv1, gv2, gvR;
>>
>>
&g...
2007 Jul 20
0
[LLVMdev] Seg faulting on vector ops
...e* s = new ExtractElementInst(v1,3,"s",basicBlock);
>
>
>
> new ReturnInst(s,basicBlock);
>
>
>
> return func;
>
> }
>
>
>
> // modified from the fibonacci example
>
> int main(int argc, char **argv)
>
> {
>
> Module* pVectorModule = new Module("test vectors");
>
>
>
> Function* pMain = generateVectorAndSelect(pVectorModule);
>
>
>
> pVectorModule->print(std::cout);
>
>
>
> GenericValue gv1, gv2, gvR;
>
>
>
> gv1.FloatVal = 2.0f;
>
>
>
>...
2007 Jul 26
0
[LLVMdev] Seg faulting on vector ops
...t;
>>>
>>>
>>> return func;
>>>
>>> }
>>>
>>>
>>>
>>> // modified from the fibonacci example
>>>
>>> int main(int argc, char **argv)
>>>
>>> {
>>>
>>> Module* pVectorModule = new Module("test vectors");
>>>
>>>
>>>
>>> Function* pMain = generateVectorAndSelect(pVectorModule);
>>>
>>>
>>>
>>> pVectorModule->print(std::cout);
>>>
>>>
>>>
>>>...