search for: ldaddr1

Displaying 1 result from an estimated 1 matches for "ldaddr1".

2005 Feb 02
1
[LLVMdev] RE: Question about Global Variable
...[#uses=1] I am trying to construct all those IR instructions, for the first three, it is ok, as the following GetElementPtrInst *GEP = new GetElementPtrInst( pGVars, idxVec, "GetAryElement", InsertPos); Value *ldAddr = new LoadInst(GEP,"LdAryAddr",InsertPos); Value *ldAddr1 = new LoadInst(numidx, "idx_i", InsertPos); After this I need construct another getelementptr, and from the above IR code, the second getelementptr take the result of load as parameters. But there is no such prototype construction api for this case. The correct one should be as the foll...