Lines Matching refs:SimplifiedValues

87   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()
484 COp = SimplifiedValues.lookup(I.getOperand(0)); in visitCastInst()
487 SimplifiedValues[&I] = C; in visitCastInst()
501 COp = SimplifiedValues.lookup(Operand); in visitUnaryInstruction()
506 SimplifiedValues[&I] = C; in visitUnaryInstruction()
548 if (Constant *SimpleLHS = SimplifiedValues.lookup(LHS)) in visitCmpInst()
551 if (Constant *SimpleRHS = SimplifiedValues.lookup(RHS)) in visitCmpInst()
556 SimplifiedValues[&I] = C; in visitCmpInst()
577 SimplifiedValues[&I] = C; in visitCmpInst()
589 SimplifiedValues[&I] = IsNotEqual ? ConstantInt::getTrue(I.getType()) in visitCmpInst()
623 SimplifiedValues[&I] = C; in visitSub()
639 if (Constant *SimpleLHS = SimplifiedValues.lookup(LHS)) in visitBinaryOperator()
642 if (Constant *SimpleRHS = SimplifiedValues.lookup(RHS)) in visitBinaryOperator()
652 SimplifiedValues[&I] = C; in visitBinaryOperator()
697 C = SimplifiedValues.lookup(I.getAggregateOperand()); in visitExtractValue()
699 SimplifiedValues[&I] = ConstantExpr::getExtractValue(C, I.getIndices()); in visitExtractValue()
711 AggC = SimplifiedValues.lookup(I.getAggregateOperand()); in visitInsertValue()
714 InsertedC = SimplifiedValues.lookup(I.getInsertedValueOperand()); in visitInsertValue()
716 SimplifiedValues[&I] = ConstantExpr::getInsertValue(AggC, InsertedC, in visitInsertValue()
746 C = dyn_cast_or_null<Constant>(SimplifiedValues.lookup(*I)); in simplifyCallSite()
753 SimplifiedValues[CS.getInstruction()] = C; in simplifyCallSite()
825 Function *F = dyn_cast_or_null<Function>(SimplifiedValues.lookup(Callee)); in visitCallSite()
858 SimplifiedValues.lookup(BI.getCondition())); in visitBranchInst()
866 if (Value *V = SimplifiedValues.lookup(SI.getCondition())) in visitSwitchInst()
1175 SimplifiedValues[&*FAI] = C; in analyzeCall()
1188 NumConstantArgs = SimplifiedValues.size(); in analyzeCall()
1254 = dyn_cast_or_null<ConstantInt>(SimplifiedValues.lookup(Cond))) { in analyzeCall()
1262 = dyn_cast_or_null<ConstantInt>(SimplifiedValues.lookup(Cond))) { in analyzeCall()