Lines Matching refs:BI
36 void expand(BinaryOperator *BI);
77 void AVRShiftExpand::expand(BinaryOperator *BI) { in expand() argument
78 auto &Ctx = BI->getContext(); in expand()
79 IRBuilder<> Builder(BI); in expand()
80 Type *InputTy = cast<Instruction>(BI)->getType(); in expand()
86 BasicBlock *BB = BI->getParent(); in expand()
88 BasicBlock *EndBB = BB->splitBasicBlock(BI, "shift.done"); in expand()
94 Value *ShiftAmount = Builder.CreateTrunc(BI->getOperand(1), Int8Ty); in expand()
107 ValuePHI->addIncoming(BI->getOperand(0), BB); in expand()
119 switch (BI->getOpcode()) { in expand()
141 Builder.SetInsertPoint(BI); in expand()
143 Result->addIncoming(BI->getOperand(0), BB); in expand()
147 BI->replaceAllUsesWith(Result); in expand()
148 BI->eraseFromParent(); in expand()