Home | History | Annotate | Download | only in TableGen

Lines Matching refs:BO

238 Init *StringRecTy::convertValue(UnOpInit *BO) {
239 if (BO->getOpcode() == UnOpInit::CAST) {
240 Init *L = BO->getOperand()->convertInitializerTo(this);
242 if (L != BO->getOperand())
244 return BO;
247 return convertValue((TypedInit*)BO);
250 Init *StringRecTy::convertValue(BinOpInit *BO) {
251 if (BO->getOpcode() == BinOpInit::STRCONCAT) {
252 Init *L = BO->getLHS()->convertInitializerTo(this);
253 Init *R = BO->getRHS()->convertInitializerTo(this);
255 if (L != BO->getLHS() || R != BO->getRHS())
257 return BO;
260 return convertValue((TypedInit*)BO);
311 Init *DagRecTy::convertValue(UnOpInit *BO) {
312 if (BO->getOpcode() == UnOpInit::CAST) {
313 Init *L = BO->getOperand()->convertInitializerTo(this);
315 if (L != BO->getOperand())
317 return BO;
322 Init *DagRecTy::convertValue(BinOpInit *BO) {
323 if (BO->getOpcode() == BinOpInit::CONCAT) {
324 Init *L = BO->getLHS()->convertInitializerTo(this);
325 Init *R = BO->getRHS()->convertInitializerTo(this);
327 if (L != BO->getLHS() || R != BO->getRHS())
329 return BO;