Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/IPA/
DInlineCost.cpp82 DenseMap<Value *, Constant *> SimplifiedValues; member in __anonf38a11c60111::CallAnalyzer
234 if (!isa<Constant>(*I) && !SimplifiedValues.lookup(*I)) in isGEPOffsetConstant()
253 if (Constant *SimpleOp = SimplifiedValues.lookup(GTI.getOperand())) in accumulateGEPOffset()
277 if (Constant *Size = SimplifiedValues.lookup(I.getArraySize())) { in visitAlloca()
370 COp = SimplifiedValues.lookup(I.getOperand(0)); in visitBitCast()
373 SimplifiedValues[&I] = C; in visitBitCast()
398 COp = SimplifiedValues.lookup(I.getOperand(0)); in visitPtrToInt()
401 SimplifiedValues[&I] = C; in visitPtrToInt()
435 COp = SimplifiedValues.lookup(I.getOperand(0)); in visitIntToPtr()
438 SimplifiedValues[&I] = C; in visitIntToPtr()
[all …]
/external/llvm/lib/Transforms/Scalar/
DLoopUnrollPass.cpp336 DenseMap<Value *, Constant *> SimplifiedValues; member in __anon0cdda4420211::UnrollAnalyzer
355 if (Constant *SimpleLHS = SimplifiedValues.lookup(LHS)) in visitBinaryOperator()
358 if (Constant *SimpleRHS = SimplifiedValues.lookup(RHS)) in visitBinaryOperator()
372 SimplifiedValues[&I] = C; in visitBinaryOperator()
469 SimplifiedValues.clear(); in estimateNumberOfOptimizedInstructions()
476 SimplifiedValues[LI] = computeLoadValue(LI, Iteration); in estimateNumberOfOptimizedInstructions()
516 for (auto &FoldedKeyValue : SimplifiedValues) in estimateNumberOfOptimizedInstructions()