Lines Matching defs:ConstantPool
6119 /// its constant value in ConstantPool, returning 0 if it's not there.
6122 const SmallDenseMap<Value *, Constant *> &ConstantPool) {
6125 return ConstantPool.lookup(V);
6130 /// constant or can be replaced by constants from the ConstantPool. Returns the
6134 const SmallDenseMap<Value *, Constant *> &ConstantPool) {
6136 Constant *A = lookupConstant(Select->getCondition(), ConstantPool);
6140 return lookupConstant(Select->getTrueValue(), ConstantPool);
6142 return lookupConstant(Select->getFalseValue(), ConstantPool);
6148 if (Constant *A = lookupConstant(I->getOperand(N), ConstantPool))
6171 SmallDenseMap<Value *, Constant *> ConstantPool;
6172 ConstantPool.insert(std::make_pair(SI->getCondition(), CaseVal));
6180 } else if (Constant *C = constantFold(&I, DL, ConstantPool)) {
6197 ConstantPool.insert(std::make_pair(&I, C));
6217 lookupConstant(PHI.getIncomingValue(Idx), ConstantPool);