Lines Matching refs:SimplifiedValues

117   DenseMap<Value *, Constant *> SimplifiedValues;  member in __anonb653f77d0111::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()
530 COp = SimplifiedValues.lookup(I.getOperand(0)); in visitCastInst()
533 SimplifiedValues[&I] = C; in visitCastInst()
547 COp = SimplifiedValues.lookup(Operand); in visitUnaryInstruction()
551 SimplifiedValues[&I] = C; in visitUnaryInstruction()
669 if (Constant *SimpleLHS = SimplifiedValues.lookup(LHS)) in visitCmpInst()
672 if (Constant *SimpleRHS = SimplifiedValues.lookup(RHS)) in visitCmpInst()
678 SimplifiedValues[&I] = C; in visitCmpInst()
699 SimplifiedValues[&I] = C; in visitCmpInst()
711 SimplifiedValues[&I] = IsNotEqual ? ConstantInt::getTrue(I.getType()) in visitCmpInst()
745 SimplifiedValues[&I] = C; in visitSub()
761 if (Constant *SimpleLHS = SimplifiedValues.lookup(LHS)) in visitBinaryOperator()
764 if (Constant *SimpleRHS = SimplifiedValues.lookup(RHS)) in visitBinaryOperator()
774 SimplifiedValues[&I] = C; in visitBinaryOperator()
819 C = SimplifiedValues.lookup(I.getAggregateOperand()); in visitExtractValue()
821 SimplifiedValues[&I] = ConstantExpr::getExtractValue(C, I.getIndices()); in visitExtractValue()
833 AggC = SimplifiedValues.lookup(I.getAggregateOperand()); in visitInsertValue()
836 InsertedC = SimplifiedValues.lookup(I.getInsertedValueOperand()); in visitInsertValue()
838 SimplifiedValues[&I] = in visitInsertValue()
868 C = dyn_cast_or_null<Constant>(SimplifiedValues.lookup(*I)); in simplifyCallSite()
875 SimplifiedValues[CS.getInstruction()] = C; in simplifyCallSite()
951 Function *F = dyn_cast_or_null<Function>(SimplifiedValues.lookup(Callee)); in visitCallSite()
985 SimplifiedValues.lookup(BI.getCondition())); in visitBranchInst()
993 if (Value *V = SimplifiedValues.lookup(SI.getCondition())) in visitSwitchInst()
1294 SimplifiedValues[&*FAI] = C; in analyzeCall()
1307 NumConstantArgs = SimplifiedValues.size(); in analyzeCall()
1363 dyn_cast_or_null<ConstantInt>(SimplifiedValues.lookup(Cond))) { in analyzeCall()
1371 dyn_cast_or_null<ConstantInt>(SimplifiedValues.lookup(Cond))) { in analyzeCall()