Lines Matching defs:ConstantPool
5865 /// its constant value in ConstantPool, returning 0 if it's not there.
5868 const SmallDenseMap<Value *, Constant *> &ConstantPool) {
5871 return ConstantPool.lookup(V);
5876 /// constant or can be replaced by constants from the ConstantPool. Returns the
5880 const SmallDenseMap<Value *, Constant *> &ConstantPool) {
5882 Constant *A = LookupConstant(Select->getCondition(), ConstantPool);
5886 return LookupConstant(Select->getTrueValue(), ConstantPool);
5888 return LookupConstant(Select->getFalseValue(), ConstantPool);
5894 if (Constant *A = LookupConstant(I->getOperand(N), ConstantPool))
5917 SmallDenseMap<Value *, Constant *> ConstantPool;
5918 ConstantPool.insert(std::make_pair(SI->getCondition(), CaseVal));
5926 } else if (Constant *C = ConstantFold(&I, DL, ConstantPool)) {
5943 ConstantPool.insert(std::make_pair(&I, C));
5963 LookupConstant(PHI.getIncomingValue(Idx), ConstantPool);