Lines Matching defs:ConstantPool
3320 /// its constant value in ConstantPool, returning 0 if it's not there.
3322 const SmallDenseMap<Value*, Constant*>& ConstantPool) {
3325 return ConstantPool.lookup(V);
3330 /// constant or can be replaced by constants from the ConstantPool. Returns the
3334 const SmallDenseMap<Value *, Constant *> &ConstantPool,
3337 Constant *A = LookupConstant(Select->getCondition(), ConstantPool);
3341 return LookupConstant(Select->getTrueValue(), ConstantPool);
3343 return LookupConstant(Select->getFalseValue(), ConstantPool);
3349 if (Constant *A = LookupConstant(I->getOperand(N), ConstantPool))
3378 SmallDenseMap<Value*, Constant*> ConstantPool;
3379 ConstantPool.insert(std::make_pair(SI->getCondition(), CaseVal));
3391 } else if (Constant *C = ConstantFold(I, ConstantPool, DL)) {
3393 ConstantPool.insert(std::make_pair(I, C));
3414 ConstantPool);