Displaying 10 results from an estimated 10 matches for "typeidx".
Did you mean:
typeid
2018 Sep 14
2
[GlobalISel][MIPS] Legality and instruction combining
...ould you clarify what you mean here? The new legalizer info can
> define this with:
> getActionDefinitionsBuilder(G_SELECT).clampScalar(1, s32, s32)
> so I'm guessing you mean that code to mutate the G_SELECT is currently
> missing
Yes, LegalizerHelper::widenScalar widens only TypeIdx==0, it doesn't do
that for TypeIdx==1. Is it intentionally implemented this way?
>> b) Is the plan to sometimes let s1 as legal type and ignore it later?
> I'm not sure what you mean here
>
For example lets look at AArch64 G_SELECT:
getActionDefinitionsBuilder(G_SELECT)
...
2010 Aug 19
2
[LLVMdev] using external functions from llvm
.../www.gearleaf.com/blog/post/44,
and it doesn't seem to be working for me.
I have a function:
llvm::GenericValue lle_X_create_number_object(llvm::FunctionType* ft, const
std::vector<llvm::GenericValue>& args)
{
llvm_object_structure* result = new llvm_object_structure;
result->typeIdx = TypeSystem::number;
result->data = reinterpret_cast<unsigned char*>(new
double(args[0].DoubleVal));
llvm::GenericValue gv;
gv.PointerVal = reinterpret_cast<void*>(result);
return gv;
}
defined in an extern "C" block. I add it as a symbol with:
llvm::sys::Dynamic...
2010 Aug 19
3
[LLVMdev] using external functions from llvm
...n't seem to be working
> for me.
>
> I have a function:
>
> llvm::GenericValue lle_X_create_number_object(llvm::FunctionType* ft, const
> std::vector<llvm::GenericValue>& args)
> {
> llvm_object_structure* result = new llvm_object_structure;
> result->typeIdx = TypeSystem::number;
> result->data = reinterpret_cast<unsigned char*>(new
> double(args[0].DoubleVal));
> llvm::GenericValue gv;
> gv.PointerVal = reinterpret_cast<void*>(result);
> return gv;
> }
>
> defined in an extern "C" block. I add i...
2010 Aug 19
0
[LLVMdev] using external functions from llvm
...it doesn't seem to be working for me.
>
> I have a function:
>
> llvm::GenericValue lle_X_create_number_object(llvm::FunctionType* ft, const std::vector<llvm::GenericValue>& args)
> {
> llvm_object_structure* result = new llvm_object_structure;
> result->typeIdx = TypeSystem::number;
> result->data = reinterpret_cast<unsigned char*>(new double(args[0].DoubleVal));
> llvm::GenericValue gv;
> gv.PointerVal = reinterpret_cast<void*>(result);
> return gv;
> }
>
> defined in an extern "C" block. I add it as...
2011 Dec 16
3
[LLVMdev] llvm/clang test failures on powerpc-darwin8
...full bootstrap log, I see numerous compiler warnings. Could any of
them be related to potential PCH errors? For example, I see:
tools/clang/include/clang/Serialization/ASTBitCodes.h:100: warning: passing negative
value '-0x00000000000000001' for argument 1 to 'clang::serialization::TypeIdx::TypeIdx(uint32_t)'
Is the Serialization code involved PCH reading/writing?
Thanks for entertaining my questions. I know I'm just getting my feet wet
with llvm/clang.
Fang
(I'm fangism in IRC.)
--
David Fang
http://www.csl.cornell.edu/~fang/
2011 Dec 15
0
[LLVMdev] llvm/clang test failures on powerpc-darwin8
On Thu, Dec 15, 2011 at 1:17 PM, David Fang <fang at csl.cornell.edu> wrote:
> Hi,
>
> I've bootstrapped llvm/clang from svn-trunk on powerpc-darwin8 (g++-4.0.1), and
> have the following test results to share.
> Summary below, full log at:
> http://www.csl.cornell.edu/~fang/sw/llvm/r146586-powerpc-darwin8-results.txt
>
> The only edits required were those I
2011 Dec 16
0
[LLVMdev] llvm/clang test failures on powerpc-darwin8
...I see numerous compiler warnings. Could any
> of them be related to potential PCH errors? For example, I see:
> tools/clang/include/clang/Serialization/ASTBitCodes.h:100: warning:
> passing negative value '-0x00000000000000001' for argument 1 to
> 'clang::serialization::TypeIdx::TypeIdx(uint32_t)'
> Is the Serialization code involved PCH reading/writing?
>
> Thanks for entertaining my questions. I know I'm just getting my feet
> wet with llvm/clang.
>
> Fang
> (I'm fangism in IRC.)
>
> --
> David Fang
> http://www.csl.cornel...
2010 Aug 20
0
[LLVMdev] using external functions from llvm
...for me.
>>
>> I have a function:
>>
>> llvm::GenericValue lle_X_create_number_object(llvm::FunctionType* ft,
>> const std::vector<llvm::GenericValue>& args)
>> {
>> llvm_object_structure* result = new llvm_object_structure;
>> result->typeIdx = TypeSystem::number;
>> result->data = reinterpret_cast<unsigned char*>(new
>> double(args[0].DoubleVal));
>> llvm::GenericValue gv;
>> gv.PointerVal = reinterpret_cast<void*>(result);
>> return gv;
>> }
>>
>> defined in an ext...
2018 Sep 13
2
[GlobalISel][MIPS] Legality and instruction combining
Hello,
I am developing GlobalISel for MIPS. I have a few questions and observations about defining legality of generic instruction and also possible combining of instructions and artifacts in pre/post legalizer combiner or elsewhere (e.g. in some sort of instruction-select patterns).
I look at legality as "If generic instruction can be selected into machine instruction, it is legal".
2011 Dec 15
2
[LLVMdev] llvm/clang test failures on powerpc-darwin8
Hi,
I've bootstrapped llvm/clang from svn-trunk on powerpc-darwin8 (g++-4.0.1), and
have the following test results to share.
Summary below, full log at:
http://www.csl.cornell.edu/~fang/sw/llvm/r146586-powerpc-darwin8-results.txt
The only edits required were those I posted to llvm-commits yesterday (re:
"some missing clang libs"). And I also edited LitConfig.py to point to