/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | LoopUnrollAnalyzer.cpp | 34 SimplifiedValues[I] = SC->getValue(); in simplifyInstWithSCEV() 45 SimplifiedValues[I] = SC->getValue(); in simplifyInstWithSCEV() 72 if (Constant *SimpleLHS = SimplifiedValues.lookup(LHS)) in visitBinaryOperator() 75 if (Constant *SimpleRHS = SimplifiedValues.lookup(RHS)) in visitBinaryOperator() 87 SimplifiedValues[&I] = C; in visitBinaryOperator() 138 SimplifiedValues[&I] = CV; in visitLoad() 148 COp = SimplifiedValues.lookup(I.getOperand(0)); in visitCastInst() 158 SimplifiedValues[&I] = C; in visitCastInst() 172 if (Constant *SimpleLHS = SimplifiedValues.lookup(LHS)) in visitCmpInst() 175 if (Constant *SimpleRHS = SimplifiedValues.lookup(RHS)) in visitCmpInst() [all …]
|
D | InlineCost.cpp | 156 DenseMap<Value *, Constant *> SimplifiedValues; member in __anon5999813e0111::CallAnalyzer 384 if (Constant *SimpleOp = SimplifiedValues.lookup(GTI.getOperand())) in accumulateGEPOffset() 412 if (Constant *SimpleOp = SimplifiedValues.lookup(*I)) in isGEPFree() 423 Constant *Size = SimplifiedValues.lookup(I.getArraySize()); in visitAlloca() 487 C = SimplifiedValues.lookup(V); in visitPHI() 529 SimplifiedValues[&I] = FirstC; in visitPHI() 577 if (!isa<Constant>(*I) && !SimplifiedValues.lookup(*I)) in visitGetElementPtr() 605 COp = SimplifiedValues.lookup(Op); in simplifyInstruction() 613 SimplifiedValues[&I] = C; in simplifyInstruction() 1000 SimplifiedValues[&I] = C; in visitCmpInst() [all …]
|
/external/llvm/lib/Analysis/ |
D | LoopUnrollAnalyzer.cpp | 35 SimplifiedValues[I] = SC->getValue(); in simplifyInstWithSCEV() 46 SimplifiedValues[I] = SC->getValue(); in simplifyInstWithSCEV() 73 if (Constant *SimpleLHS = SimplifiedValues.lookup(LHS)) in visitBinaryOperator() 76 if (Constant *SimpleRHS = SimplifiedValues.lookup(RHS)) in visitBinaryOperator() 88 SimplifiedValues[&I] = C; in visitBinaryOperator() 133 SimplifiedValues[&I] = CV; in visitLoad() 143 COp = SimplifiedValues.lookup(I.getOperand(0)); in visitCastInst() 153 SimplifiedValues[&I] = C; in visitCastInst() 167 if (Constant *SimpleLHS = SimplifiedValues.lookup(LHS)) in visitCmpInst() 170 if (Constant *SimpleRHS = SimplifiedValues.lookup(RHS)) in visitCmpInst() [all …]
|
D | InlineCost.cpp | 117 DenseMap<Value *, Constant *> SimplifiedValues; member in __anond8f3b4e60111::CallAnalyzer 296 if (!isa<Constant>(*I) && !SimplifiedValues.lookup(*I)) in isGEPOffsetConstant() 315 if (Constant *SimpleOp = SimplifiedValues.lookup(GTI.getOperand())) in accumulateGEPOffset() 340 Constant *Size = SimplifiedValues.lookup(I.getArraySize()); in visitAlloca() 434 COp = SimplifiedValues.lookup(I.getOperand(0)); in visitBitCast() 437 SimplifiedValues[&I] = C; in visitBitCast() 462 COp = SimplifiedValues.lookup(I.getOperand(0)); in visitPtrToInt() 465 SimplifiedValues[&I] = C; in visitPtrToInt() 499 COp = SimplifiedValues.lookup(I.getOperand(0)); in visitIntToPtr() 502 SimplifiedValues[&I] = C; in visitIntToPtr() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | LoopUnrollAnalyzer.h | 50 DenseMap<Value *, Constant *> &SimplifiedValues, in UnrolledInstAnalyzer() argument 52 : SimplifiedValues(SimplifiedValues), SE(SE), L(L) { in UnrolledInstAnalyzer() 80 DenseMap<Value *, Constant *> &SimplifiedValues; variable
|
/external/llvm/include/llvm/Analysis/ |
D | LoopUnrollAnalyzer.h | 50 DenseMap<Value *, Constant *> &SimplifiedValues, in UnrolledInstAnalyzer() argument 52 : SimplifiedValues(SimplifiedValues), SE(SE), L(L) { in UnrolledInstAnalyzer() 80 DenseMap<Value *, Constant *> &SimplifiedValues; variable
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopUnrollPass.cpp | 256 DenseMap<Value *, Constant *> SimplifiedValues; in analyzeLoopUnrollCost() local 393 C = SimplifiedValues.lookup(V); in analyzeLoopUnrollCost() 399 SimplifiedValues.clear(); in analyzeLoopUnrollCost() 401 SimplifiedValues.insert(SimplifiedInputValues.pop_back_val()); in analyzeLoopUnrollCost() 403 UnrolledInstAnalyzer Analyzer(Iteration, SimplifiedValues, SE, L); in analyzeLoopUnrollCost() 460 SimplifiedValues.lookup(BI->getCondition())) { in analyzeLoopUnrollCost() 471 SimplifiedValues.lookup(SI->getCondition())) { in analyzeLoopUnrollCost()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/ |
D | UnrollAnalyzer.cpp | 40 DenseMap<Value *, Constant *> SimplifiedValues; in runOnFunction() local 41 UnrolledInstAnalyzer Analyzer(Iteration, SimplifiedValues, *SE, L); in runOnFunction() 45 SimplifiedValuesVector.push_back(SimplifiedValues); in runOnFunction()
|
/external/llvm/unittests/Analysis/ |
D | UnrollAnalyzer.cpp | 40 DenseMap<Value *, Constant *> SimplifiedValues; in runOnFunction() local 41 UnrolledInstAnalyzer Analyzer(Iteration, SimplifiedValues, *SE, L); in runOnFunction() 45 SimplifiedValuesVector.push_back(SimplifiedValues); in runOnFunction()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | LoopUnrollPass.cpp | 337 DenseMap<Value *, Constant *> SimplifiedValues; in analyzeLoopUnrollCost() local 474 C = SimplifiedValues.lookup(V); in analyzeLoopUnrollCost() 480 SimplifiedValues.clear(); in analyzeLoopUnrollCost() 482 SimplifiedValues.insert(SimplifiedInputValues.pop_back_val()); in analyzeLoopUnrollCost() 484 UnrolledInstAnalyzer Analyzer(Iteration, SimplifiedValues, SE, L); in analyzeLoopUnrollCost() 551 SimplifiedValues.lookup(BI->getCondition())) { in analyzeLoopUnrollCost() 562 SimplifiedValues.lookup(SI->getCondition())) { in analyzeLoopUnrollCost()
|