Hi, Once the DAG is built, is there any way to find out what the real type of a certain SDValue is (Type, not just EVT)? And as an example, in the XYZTargetLowering::lowerCall method for my target, is there any way for me to get what Type the SDValue Callee really corrensponds to? Regards, Patrik Hägglund
Hello Patrik,> And as an example, in the XYZTargetLowering::lowerCall method for my target, is there any way for me to get what Type the SDValue Callee really corrensponds to?Why do you need this information there? -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University
Anton Korobeynikov skrev 2011-10-14 10:30:> Hello Patrik, > >> And as an example, in the XYZTargetLowering::lowerCall method for my target, is there any way for me to get what Type the SDValue Callee really corrensponds to? > Why do you need this information there?The calling convention of my target pass pointers, integers and other values in different ways so I think I need the Type of each formal parameter to be able to correctly determine how to pass each argument. In case the call is done through a function pointer I thought I could pick up those Type:s through the Type of the Callee. Regards, Patrik Hägglund
Apparently Analagous Threads
- [LLVMdev] get Type of SDValue?
- [LLVMdev] [llvm-commits] [cfe-commits] [PATCH] [llvm+clang] memset for non-8-bit bytes
- [LLVMdev] Lost commit mails
- [LLVMdev] [cfe-commits] [PATCH] [llvm+clang] memset for non-8-bit bytes
- [LLVMdev] [llvm-commits] [cfe-commits] [PATCH] [llvm+clang] memset for non-8-bit bytes