Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DLoopUnrollAnalyzer.cpp33 SimplifiedValues[I] = SC->getValue(); in simplifyInstWithSCEV()
44 SimplifiedValues[I] = SC->getValue(); in simplifyInstWithSCEV()
71 if (Constant *SimpleLHS = SimplifiedValues.lookup(LHS)) in visitBinaryOperator()
74 if (Constant *SimpleRHS = SimplifiedValues.lookup(RHS)) in visitBinaryOperator()
86 SimplifiedValues[&I] = C; in visitBinaryOperator()
137 SimplifiedValues[&I] = CV; in visitLoad()
147 COp = SimplifiedValues.lookup(I.getOperand(0)); in visitCastInst()
157 SimplifiedValues[&I] = C; in visitCastInst()
171 if (Constant *SimpleLHS = SimplifiedValues.lookup(LHS)) in visitCmpInst()
174 if (Constant *SimpleRHS = SimplifiedValues.lookup(RHS)) in visitCmpInst()
[all …]
DInlineCost.cpp232 DenseMap<Value *, Constant *> SimplifiedValues; member in __anonb860a6650111::CallAnalyzer
682 if (Constant *SimpleOp = SimplifiedValues.lookup(GTI.getOperand())) in accumulateGEPOffset()
710 if (Constant *SimpleOp = SimplifiedValues.lookup(*I)) in isGEPFree()
721 Constant *Size = SimplifiedValues.lookup(I.getArraySize()); in visitAlloca()
787 C = SimplifiedValues.lookup(V); in visitPHI()
829 SimplifiedValues[&I] = FirstC; in visitPHI()
872 if (!isa<Constant>(*I) && !SimplifiedValues.lookup(*I)) in visitGetElementPtr()
900 COp = SimplifiedValues.lookup(Op); in simplifyInstruction()
908 SimplifiedValues[&I] = C; in simplifyInstruction()
1281 SimplifiedValues[&I] = C; in visitCmpInst()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DLoopUnrollAnalyzer.h49 DenseMap<Value *, Constant *> &SimplifiedValues, in UnrolledInstAnalyzer() argument
51 : SimplifiedValues(SimplifiedValues), SE(SE), L(L) { in UnrolledInstAnalyzer()
79 DenseMap<Value *, Constant *> &SimplifiedValues; variable
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopUnrollPass.cpp358 DenseMap<Value *, Constant *> SimplifiedValues; in analyzeLoopUnrollCost() local
495 C = SimplifiedValues.lookup(V); in analyzeLoopUnrollCost()
501 SimplifiedValues.clear(); in analyzeLoopUnrollCost()
503 SimplifiedValues.insert(SimplifiedInputValues.pop_back_val()); in analyzeLoopUnrollCost()
505 UnrolledInstAnalyzer Analyzer(Iteration, SimplifiedValues, SE, L); in analyzeLoopUnrollCost()
572 SimplifiedValues.lookup(BI->getCondition())) { in analyzeLoopUnrollCost()
583 SimplifiedValues.lookup(SI->getCondition())) { in analyzeLoopUnrollCost()