Displaying 1 result from an estimated 1 matches for "parsevariable".
Did you mean:
parse_variables
2013 Aug 25
1
[LLVMdev] Puzzles on DenseMap
I wrote some program using DensMap like this:
===============================
SmallDenseMap<Value*, StringRef, 4> OpResult;
Value *VP = GEP->getPointerOperand();
OpResult[VP] = parseVariable(VP);
for(User::op_iterator sId = GEP->idx_begin(), eId = GEP->idx_end(); sId
!= eId; ++sId) {
Value *VI = *sId;
if(dyn_cast<ConstantInt>(*sId)) OpResult[VI] = parseConstant(VI);
else OpResult[VI] = parseVariable(VI);
}
....
===============================...