search for: botvastinst

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

Did you mean: bitcastinst
2011 Mar 14
2
[LLVMdev] How to load a data from the address of unsiged long type
...CONST(0xc0008000) But I do not know how to read the data from the above addr varaible. I tried the following three kind of code: 1. Code: Value* addr = CONST(0xc0008000); Value* data = new LoadInst(addr, "", false, bb); Error: Segmentation fault 2. Code( use BotVastInst to vern): Value* addr = CONST(0xc0008000); a = new BitCastInst(a, PointerType::get(XgetType(Int32Ty), 0), "", bb); Value* data = new LoadInst(addr, "", false, bb); Error: Bitcast requires types of same width 3. Code: Type const *intptr_...
2011 Mar 14
0
[LLVMdev] How to load a data from the address of unsiged long type
...w to read the data from the above addr varaible. I > tried the following three kind of code: > 1. Code: > Value* addr = CONST(0xc0008000); > Value* data = new LoadInst(addr, "", false, bb); > Error: > Segmentation fault > 2. Code( use BotVastInst to vern): > Value* addr = CONST(0xc0008000); > a = new BitCastInst(a, PointerType::get(XgetType(Int32Ty), 0), "", bb); > Value* data = new LoadInst(addr, "", false, bb); > Error: > Bitcast requires types of same width >...