Home
last modified time | relevance | path

Searched refs:BaseAndOffset (Results 1 – 1 of 1) sorted by relevance

/external/llvm/lib/Analysis/
DInlineCost.cpp347 std::pair<Value *, APInt> BaseAndOffset = ConstantOffsetPtrs.lookup(Ptr); in visitGetElementPtr() local
348 if (BaseAndOffset.first) { in visitGetElementPtr()
351 if (!accumulateGEPOffset(cast<GEPOperator>(I), BaseAndOffset.second)) { in visitGetElementPtr()
359 ConstantOffsetPtrs[&I] = BaseAndOffset; in visitGetElementPtr()
396 std::pair<Value *, APInt> BaseAndOffset in visitBitCast() local
399 if (BaseAndOffset.first) in visitBitCast()
400 ConstantOffsetPtrs[&I] = BaseAndOffset; in visitBitCast()
428 std::pair<Value *, APInt> BaseAndOffset in visitPtrToInt() local
430 if (BaseAndOffset.first) in visitPtrToInt()
431 ConstantOffsetPtrs[&I] = BaseAndOffset; in visitPtrToInt()
[all …]