" transfers"),
cl::Hidden, cl::init(false));
-
STATISTIC(NumOpenMPRuntimeCallsDeduplicated,
"Number of OpenMP runtime calls deduplicated");
STATISTIC(NumOpenMPParallelRegionsDeleted,
/// instruction \p Before is reached.
bool getValues(AllocaInst &Array, Instruction &Before) {
// Initialize container.
- const uint64_t NumValues =
- Array.getAllocatedType()->getArrayNumElements();
+ const uint64_t NumValues = Array.getAllocatedType()->getArrayNumElements();
StoredValues.assign(NumValues, nullptr);
LastAccesses.assign(NumValues, nullptr);
auto *S = cast<StoreInst>(&I);
int64_t Offset = -1;
- auto *Dst = GetPointerBaseWithConstantOffset(S->getPointerOperand(),
- Offset, DL);
+ auto *Dst =
+ GetPointerBaseWithConstantOffset(S->getPointerOperand(), Offset, DL);
if (Dst == &Array) {
int64_t Idx = Offset / PointerSize;
StoredValues[Idx] = getUnderlyingObject(S->getValueOperand());