Home
last modified time | relevance | path

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

/external/llvm/lib/Analysis/
DInlineCost.cpp87 DenseMap<Value *, Constant *> SimplifiedValues; member in __anonb653f77d0111::CallAnalyzer
252 if (!isa<Constant>(*I) && !SimplifiedValues.lookup(*I)) in isGEPOffsetConstant()
271 if (Constant *SimpleOp = SimplifiedValues.lookup(GTI.getOperand())) in accumulateGEPOffset()
295 if (Constant *Size = SimplifiedValues.lookup(I.getArraySize())) { in visitAlloca()
388 COp = SimplifiedValues.lookup(I.getOperand(0)); in visitBitCast()
391 SimplifiedValues[&I] = C; in visitBitCast()
416 COp = SimplifiedValues.lookup(I.getOperand(0)); in visitPtrToInt()
419 SimplifiedValues[&I] = C; in visitPtrToInt()
453 COp = SimplifiedValues.lookup(I.getOperand(0)); in visitIntToPtr()
456 SimplifiedValues[&I] = C; in visitIntToPtr()
[all …]
/external/llvm/lib/Transforms/Scalar/
DLoopUnrollPass.cpp285 DenseMap<Value *, Constant *> &SimplifiedValues, in UnrolledInstAnalyzer() argument
287 : SimplifiedValues(SimplifiedValues), SE(SE) { in UnrolledInstAnalyzer()
315 DenseMap<Value *, Constant *> &SimplifiedValues; member in __anon0cdda4420211::UnrolledInstAnalyzer
333 SimplifiedValues[I] = SC->getValue(); in simplifyInstWithSCEV()
344 SimplifiedValues[I] = SC->getValue(); in simplifyInstWithSCEV()
376 if (Constant *SimpleLHS = SimplifiedValues.lookup(LHS)) in visitBinaryOperator()
379 if (Constant *SimpleRHS = SimplifiedValues.lookup(RHS)) in visitBinaryOperator()
391 SimplifiedValues[&I] = C; in visitBinaryOperator()
436 SimplifiedValues[&I] = CV; in visitLoad()
445 COp = SimplifiedValues.lookup(I.getOperand(0)); in visitCastInst()
[all …]