Lines Matching refs:BO
219 Init *StringRecTy::convertValue(UnOpInit *BO) {
220 if (BO->getOpcode() == UnOpInit::CAST) {
221 Init *L = BO->getOperand()->convertInitializerTo(this);
223 if (L != BO->getOperand())
225 return BO;
228 return convertValue((TypedInit*)BO);
231 Init *StringRecTy::convertValue(BinOpInit *BO) {
232 if (BO->getOpcode() == BinOpInit::STRCONCAT) {
233 Init *L = BO->getLHS()->convertInitializerTo(this);
234 Init *R = BO->getRHS()->convertInitializerTo(this);
236 if (L != BO->getLHS() || R != BO->getRHS())
238 return BO;
241 return convertValue((TypedInit*)BO);
288 Init *DagRecTy::convertValue(UnOpInit *BO) {
289 if (BO->getOpcode() == UnOpInit::CAST) {
290 Init *L = BO->getOperand()->convertInitializerTo(this);
292 if (L != BO->getOperand())
294 return BO;
299 Init *DagRecTy::convertValue(BinOpInit *BO) {
300 if (BO->getOpcode() == BinOpInit::CONCAT) {
301 Init *L = BO->getLHS()->convertInitializerTo(this);
302 Init *R = BO->getRHS()->convertInitializerTo(this);
304 if (L != BO->getLHS() || R != BO->getRHS())
306 return BO;