search for: _z13rsclearobjectp13rs_allocation

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

2013 Apr 07
1
[LLVMdev] How to get the Instruction where one function use the global variable.
...} } llvm::errs() << "\n"; } by this method ,I want to get the instruction in the function,but there will be retrun constantExp. for example: in the IR: @gNoise = common global %struct.rs_allocation.0 zeroinitializer, align 4 tail call void @_Z13rsClearObjectP13rs_allocation(%struct.rs_allocation.0* @gNoise) nounwind %7 = load [1 x i32]* bitcast (%struct.rs_allocation.0* @gNoise to [1 x i32]*), align 4 but the user will return the use as follows: 1.tail call void @_Z13rsClearObjectP13rs_allocation(%struct.rs_allocation.0* @gNoise) #0 2. [1 x i32]* bitcast (%stru...