search for: getaddressesdistance

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

2018 May 17
0
[RFC] Adding 2 functions to the ALiasAnalysis interface (getAddressesDistance + ModRefSameBuffer)
Hi, RFC Im adding 2 new functions to the AliasAnalysis interface: 1) ModRefSameBufferCheck: this function will receive 2 memoryLocation as parameters, and returns true if the parameters are modifying or refering the same buffer or same memory block, false otherwise. 2) getAddressesDistance: the function will recieve 2 memoryLocation, if they are mod/ref-ing the same buffer/memory block, the function will return the distance between those locations at the memory. None otherwise (Optional<int64_t>) interface change: https://reviews.llvm.org/D46864 those 2 function can be imp...
2018 Jun 20
2
adding 2 new functions to the AliasAnalysis interface
Hi, RFC Im adding 2 new functions to the AliasAnalysis interface: 1) ModRefSameBufferCheck: this function will receive 2 memoryLocation as parameters, and returns true if the parameters are modifying or refering the same buffer or same memory block, false otherwise. 2) getAddressesDistance: the function will recieve 2 memoryLocation, if they are mod/ref-ing the same buffer/memory block, the function will return the distance between those locations at the memory. None otherwise (Optional<int64_t>) interface change:https://reviews.llvm.org/D46864 those 2 function can be impe...