Lines Matching refs:ConstantPool
3245 /// its constant value in ConstantPool, returning 0 if it's not there.
3247 const SmallDenseMap<Value*, Constant*>& ConstantPool) {
3250 return ConstantPool.lookup(V);
3255 /// constant or can be replaced by constants from the ConstantPool. Returns the
3258 const SmallDenseMap<Value*, Constant*>& ConstantPool) {
3260 Constant *A = LookupConstant(BO->getOperand(0), ConstantPool);
3263 Constant *B = LookupConstant(BO->getOperand(1), ConstantPool);
3270 Constant *A = LookupConstant(I->getOperand(0), ConstantPool);
3273 Constant *B = LookupConstant(I->getOperand(1), ConstantPool);
3280 Constant *A = LookupConstant(Select->getCondition(), ConstantPool);
3284 return LookupConstant(Select->getTrueValue(), ConstantPool);
3286 return LookupConstant(Select->getFalseValue(), ConstantPool);
3291 Constant *A = LookupConstant(I->getOperand(0), ConstantPool);
3314 SmallDenseMap<Value*, Constant*> ConstantPool;
3315 ConstantPool.insert(std::make_pair(SI->getCondition(), CaseVal));
3327 } else if (Constant *C = ConstantFold(I, ConstantPool)) {
3329 ConstantPool.insert(std::make_pair(I, C));
3350 ConstantPool);