Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/IPA/
DInlineCost.cpp329 std::pair<Value *, APInt> BaseAndOffset = ConstantOffsetPtrs.lookup(Ptr); in visitGetElementPtr() local
330 if (BaseAndOffset.first) { in visitGetElementPtr()
333 if (!accumulateGEPOffset(cast<GEPOperator>(I), BaseAndOffset.second)) { in visitGetElementPtr()
341 ConstantOffsetPtrs[&I] = BaseAndOffset; in visitGetElementPtr()
378 std::pair<Value *, APInt> BaseAndOffset in visitBitCast() local
381 if (BaseAndOffset.first) in visitBitCast()
382 ConstantOffsetPtrs[&I] = BaseAndOffset; in visitBitCast()
410 std::pair<Value *, APInt> BaseAndOffset in visitPtrToInt() local
412 if (BaseAndOffset.first) in visitPtrToInt()
413 ConstantOffsetPtrs[&I] = BaseAndOffset; in visitPtrToInt()
[all …]