Lines Matching refs:Constant

76     Constant *Init;
80 Constant *InitPrefix;
84 Constant *Target;
122 SmallVector<Constant *, 16> AppendingInits;
150 Constant *mapConstant(const Constant *C) { in mapConstant()
151 return cast_or_null<Constant>(mapValue(C)); in mapConstant()
160 void scheduleMapGlobalInitializer(GlobalVariable &GV, Constant &Init,
162 void scheduleMapAppendingVariable(GlobalVariable &GV, Constant *InitPrefix,
164 ArrayRef<Constant *> NewMembers,
166 void scheduleMapGlobalIndirectSymbol(GlobalIndirectSymbol &GIS, Constant &Target,
173 void mapAppendingVariable(GlobalVariable &GV, Constant *InitPrefix,
175 ArrayRef<Constant *> NewMembers);
431 Constant *C = const_cast<Constant*>(dyn_cast<Constant>(V)); in mapValue()
485 SmallVector<Constant*, 8> Ops; in mapValue()
488 Ops.push_back(cast<Constant>(C->getOperand(j))); in mapValue()
492 Ops.push_back(cast<Constant>(Mapped)); in mapValue()
499 Ops.push_back(cast<Constant>(Mapped)); in mapValue()
868 SmallVector<Constant *, 8> NewInits( in flush()
999 void Mapper::mapAppendingVariable(GlobalVariable &GV, Constant *InitPrefix, in mapAppendingVariable()
1001 ArrayRef<Constant *> NewMembers) { in mapAppendingVariable()
1002 SmallVector<Constant *, 16> Elements; in mapAppendingVariable()
1022 Constant *NewV; in mapAppendingVariable()
1025 auto *E1 = cast<Constant>(mapValue(S->getOperand(0))); in mapAppendingVariable()
1026 auto *E2 = cast<Constant>(mapValue(S->getOperand(1))); in mapAppendingVariable()
1027 Constant *Null = Constant::getNullValue(VoidPtrTy); in mapAppendingVariable()
1030 NewV = cast_or_null<Constant>(mapValue(V)); in mapAppendingVariable()
1039 void Mapper::scheduleMapGlobalInitializer(GlobalVariable &GV, Constant &Init, in scheduleMapGlobalInitializer()
1053 Constant *InitPrefix, in scheduleMapAppendingVariable()
1055 ArrayRef<Constant *> NewMembers, in scheduleMapAppendingVariable()
1072 Constant &Target, unsigned MCID) { in scheduleMapGlobalIndirectSymbol()
1142 Constant *ValueMapper::mapConstant(const Constant &C) { in mapConstant()
1143 return cast_or_null<Constant>(mapValue(C)); in mapConstant()
1163 Constant &Init, in scheduleMapGlobalInitializer()
1169 Constant *InitPrefix, in scheduleMapAppendingVariable()
1171 ArrayRef<Constant *> NewMembers, in scheduleMapAppendingVariable()
1178 Constant &Target, in scheduleMapGlobalIndirectSymbol()