search for: isdoublety

Displaying 5 results from an estimated 5 matches for "isdoublety".

Did you mean: doublety
2010 May 28
2
[LLVMdev] Retrieving Underlying Type from AllocaInst
...symbol table. Later when I am generating instructions for an assignment operation, I want to check the type of the variable allocated with the CreateAlloca instruction so I can see if I need to do type conversion before the store instruction, However, I cannot simply use: alloca->getType()->isDoubleTy() etc. because this doesn't return true in the above case. The ID of the Ty member of the VTy member of the alloca is PointerTyID instead of DoubleTyID as the construction for AllocaInst::AllocaInst seems to create a PointerType pointing to the original type. I was hoping for a member functi...
2010 May 28
0
[LLVMdev] Retrieving Underlying Type from AllocaInst
...n I am generating instructions for an assignment operation, I > want to check the type of the variable allocated with the CreateAlloca > instruction so I can see if I need to do type conversion before the > store instruction, However, I cannot simply use: > > alloca->getType()->isDoubleTy() etc. > > because this doesn't return true in the above case. The ID of the Ty > member of the VTy member of the alloca is PointerTyID instead of > DoubleTyID as the construction for AllocaInst::AllocaInst seems to > create a PointerType pointing to the original type. > >...
2010 May 28
2
[LLVMdev] Retrieving Underlying Type from AllocaInst
...tructions for an assignment operation, I >> want to check the type of the variable allocated with the CreateAlloca >> instruction so I can see if I need to do type conversion before the >> store instruction, However, I cannot simply use: >> >> alloca->getType()->isDoubleTy() etc. >> >> because this doesn't return true in the above case. The ID of the Ty >> member of the VTy member of the alloca is PointerTyID instead of >> DoubleTyID as the construction for AllocaInst::AllocaInst seems to >> create a PointerType pointing to the orig...
2010 May 28
0
[LLVMdev] Retrieving Underlying Type from AllocaInst
...ng instructions for an assignment operation, I > > want to check the type of the variable allocated with the CreateAlloca > > instruction so I can see if I need to do type conversion before the > > store instruction, However, I cannot simply use: > > alloca->getType()->isDoubleTy() etc. > > because this doesn't return true in the above case. The ID of the Ty > > member of the VTy member of the alloca is PointerTyID instead of > > DoubleTyID as the construction for AllocaInst::AllocaInst seems to > > create a PointerType pointing to the original t...
2015 Jan 22
3
[LLVMdev] numeric limits of llvm Types?
Hi all, can I access the numeric limits of the llvm types, e.g. HalfTy, FloatTy, DoubleTy, etc. in a fashion like the std numeric_limits tool? std::numeric_limits<half>::min() std::numeric_limits<half>::max() In c++API, I want to initialize values and need to know the correct range for the llvm types.... Thx Alex