Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DInlineCost.cpp168 DenseMap<Value *, std::pair<Value *, APInt>> ConstantOffsetPtrs; member in __anonf90232b50111::CallAnalyzer
491 BaseAndOffset = ConstantOffsetPtrs.lookup(V); in visitPHI()
535 ConstantOffsetPtrs[&I] = FirstBaseAndOffset; in visitPHI()
553 ConstantOffsetPtrs.lookup(I.getPointerOperand()); in canFoldInboundsGEP()
563 ConstantOffsetPtrs[&I] = BaseAndOffset; in canFoldInboundsGEP()
626 ConstantOffsetPtrs.lookup(I.getOperand(0)); in visitBitCast()
629 ConstantOffsetPtrs[&I] = BaseAndOffset; in visitBitCast()
654 ConstantOffsetPtrs.lookup(I.getOperand(0)); in visitPtrToInt()
656 ConstantOffsetPtrs[&I] = BaseAndOffset; in visitPtrToInt()
686 std::pair<Value *, APInt> BaseAndOffset = ConstantOffsetPtrs.lookup(Op); in visitIntToPtr()
[all …]
/external/llvm/lib/Analysis/
DInlineCost.cpp129 DenseMap<Value *, std::pair<Value *, APInt>> ConstantOffsetPtrs; member in __anonb653f77d0111::CallAnalyzer
393 std::pair<Value *, APInt> BaseAndOffset = ConstantOffsetPtrs.lookup(Ptr); in visitGetElementPtr()
405 ConstantOffsetPtrs[&I] = BaseAndOffset; in visitGetElementPtr()
443 ConstantOffsetPtrs.lookup(I.getOperand(0)); in visitBitCast()
446 ConstantOffsetPtrs[&I] = BaseAndOffset; in visitBitCast()
475 ConstantOffsetPtrs.lookup(I.getOperand(0)); in visitPtrToInt()
477 ConstantOffsetPtrs[&I] = BaseAndOffset; in visitPtrToInt()
512 std::pair<Value *, APInt> BaseAndOffset = ConstantOffsetPtrs.lookup(Op); in visitIntToPtr()
514 ConstantOffsetPtrs[&I] = BaseAndOffset; in visitIntToPtr()
690 std::tie(LHSBase, LHSOffset) = ConstantOffsetPtrs.lookup(LHS); in visitCmpInst()
[all …]