search for: typelh

Displaying 4 results from an estimated 4 matches for "typelh".

Did you mean: typelhs
2011 Sep 22
2
[LLVMdev] Need help in converting int to double
...ointer casted it to int64 type > first)... Below is the code snippet.... > > > lhs = mBuilder.CreateStructGEP(firstArg, 0); > lhs = mBuilder.CreateLoad(lhs); > lhs = mBuilder.CreatePointerCast(lhs, PointerType::get( > mBuilder.getInt64Ty(), 0)); > int typelhs = getValueType(lhs); > rhs = mBuilder.CreateStructGEP(secondArg, 0); > rhs = mBuilder.CreateLoad(rhs); > rhs = mBuilder.CreatePointerCast(rhs, PointerType::get( > mBuilder.getInt64Ty(), 0)); > > lhs = mBuilder.CreateLoad(lhs); > rhs = mBuilder.C...
2011 Sep 22
0
[LLVMdev] Need help in converting int to double
...CreateShl only accepts integers... i pointer casted it to int64 type first)... Below is the code snippet.... lhs = mBuilder.CreateStructGEP(firstArg, 0); lhs = mBuilder.CreateLoad(lhs); lhs = mBuilder.CreatePointerCast(lhs, PointerType::get( mBuilder.getInt64Ty(), 0)); int typelhs = getValueType(lhs); rhs = mBuilder.CreateStructGEP(secondArg, 0); rhs = mBuilder.CreateLoad(rhs); rhs = mBuilder.CreatePointerCast(rhs, PointerType::get( mBuilder.getInt64Ty(), 0)); lhs = mBuilder.CreateLoad(lhs); rhs = mBuilder.CreateLoad(rhs); lhs = convert...
2011 Sep 22
3
[LLVMdev] Need help in converting int to double
Hi, I'm pursuing M.Tech course. As a part of the project work i'm using LLVM as back-end. My project area is "Enhancing the performance of V8 javascript engine using LLVM as a back-end". Now i'm writing code for shift left(SHL) operator. I had my own Value Structure .. it's like this Struct Value { void *val ; char type; } The "char type" holds
2011 Sep 22
1
[LLVMdev] Need help in converting int to double
...ointer casted it to int64 type > first)... Below is the code snippet.... > > > lhs = mBuilder.CreateStructGEP(firstArg, 0); > lhs = mBuilder.CreateLoad(lhs); > lhs = mBuilder.CreatePointerCast(lhs, PointerType::get( > mBuilder.getInt64Ty(), 0)); > int typelhs = getValueType(lhs); > rhs = mBuilder.CreateStructGEP(secondArg, 0); > rhs = mBuilder.CreateLoad(rhs); > rhs = mBuilder.CreatePointerCast(rhs, PointerType::get( > mBuilder.getInt64Ty(), 0)); > > lhs = mBuilder.CreateLoad(lhs); > rhs = mBuilder.C...