search for: ispointer

Displaying 2 results from an estimated 2 matches for "ispointer".

Did you mean: is_pointer
2011 Jan 31
0
[LLVMdev] Pointer argument type in SparcISelLowering.cpp
...lues. That's a pity because there is more than one case where you really need to know if a value is a pointer or a regular integer. For example, some CPU architectures such as the Infineon TriCore have disjoint sets of registers for addresses and data. It would be possible to add a flag "isPointer" to the EVT class and modify SelectionDAGBuilder and a few other classes to generate and propagate this flag during the DAG creation process. In practice, this unfortunately requires some not-so-clean hacks in select places. It works for me, but it's probably not the way to go if you want...
2011 Jan 29
2
[LLVMdev] Pointer argument type in SparcISelLowering.cpp
Hi all, I am working with the "LowerCall" function, and trying to figure out the types of all the "Outs" arguments. Specifically, I want to find out if a particular "Out[i]" argument is a pointer (of any type), or a regular data type. So far, all pointers show up as the "MVT::i32" datatype, which is not helping my cause. Is there a way to distinguish