Lines Matching refs:SimplifiedValues

82   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()
466 COp = SimplifiedValues.lookup(I.getOperand(0)); in visitCastInst()
469 SimplifiedValues[&I] = C; in visitCastInst()
483 COp = SimplifiedValues.lookup(Operand); in visitUnaryInstruction()
488 SimplifiedValues[&I] = C; in visitUnaryInstruction()
503 if (Constant *SimpleLHS = SimplifiedValues.lookup(LHS)) in visitCmpInst()
506 if (Constant *SimpleRHS = SimplifiedValues.lookup(RHS)) in visitCmpInst()
511 SimplifiedValues[&I] = C; in visitCmpInst()
532 SimplifiedValues[&I] = C; in visitCmpInst()
547 SimplifiedValues[&I] = IsNotEqual ? ConstantInt::getTrue(I.getType()) in visitCmpInst()
582 SimplifiedValues[&I] = C; in visitSub()
598 if (Constant *SimpleLHS = SimplifiedValues.lookup(LHS)) in visitBinaryOperator()
601 if (Constant *SimpleRHS = SimplifiedValues.lookup(RHS)) in visitBinaryOperator()
611 SimplifiedValues[&I] = C; in visitBinaryOperator()
656 C = SimplifiedValues.lookup(I.getAggregateOperand()); in visitExtractValue()
658 SimplifiedValues[&I] = ConstantExpr::getExtractValue(C, I.getIndices()); in visitExtractValue()
670 AggC = SimplifiedValues.lookup(I.getAggregateOperand()); in visitInsertValue()
673 InsertedC = SimplifiedValues.lookup(I.getInsertedValueOperand()); in visitInsertValue()
675 SimplifiedValues[&I] = ConstantExpr::getInsertValue(AggC, InsertedC, in visitInsertValue()
705 C = dyn_cast_or_null<Constant>(SimplifiedValues.lookup(*I)); in simplifyCallSite()
712 SimplifiedValues[CS.getInstruction()] = C; in simplifyCallSite()
784 Function *F = dyn_cast_or_null<Function>(SimplifiedValues.lookup(Callee)); in visitCallSite()
817 SimplifiedValues.lookup(BI.getCondition())); in visitBranchInst()
825 if (Value *V = SimplifiedValues.lookup(SI.getCondition())) in visitSwitchInst()
1120 SimplifiedValues[FAI] = C; in analyzeCall()
1133 NumConstantArgs = SimplifiedValues.size(); in analyzeCall()
1199 = dyn_cast_or_null<ConstantInt>(SimplifiedValues.lookup(Cond))) { in analyzeCall()
1207 = dyn_cast_or_null<ConstantInt>(SimplifiedValues.lookup(Cond))) { in analyzeCall()