Lines Matching refs:IRBuilder
44 #include "llvm/IR/IRBuilder.h"
195 IRBuilder<> &Builder);
197 IRBuilder<> &Builder);
199 bool simplifyReturn(ReturnInst *RI, IRBuilder<> &Builder);
200 bool simplifyResume(ResumeInst *RI, IRBuilder<> &Builder);
205 bool simplifySwitch(SwitchInst *SI, IRBuilder<> &Builder);
207 bool simplifyBranch(BranchInst *Branch, IRBuilder<> &Builder);
208 bool simplifyUncondBranch(BranchInst *BI, IRBuilder<> &Builder);
209 bool simplifyCondBranch(BranchInst *BI, IRBuilder<> &Builder);
210 bool SimplifyCondBranchToTwoReturns(BranchInst *BI, IRBuilder<> &Builder);
213 IRBuilder<> &Builder);
221 bool SimplifyBranchOnICmpChain(BranchInst *BI, IRBuilder<> &Builder,
225 bool TurnSwitchRangeIntoICmp(SwitchInst *SI, IRBuilder<> &Builder);
836 Instruction *TI, BasicBlock *Pred, IRBuilder<> &Builder) {
1022 IRBuilder<> &Builder) {
1416 IRBuilder<NoFolder> Builder(NT);
1435 IRBuilder<>::FastMathFlagGuard FMFGuard(Builder);
2136 IRBuilder<NoFolder> Builder(BI);
2163 IRBuilder<NoFolder> Builder(BI);
2459 IRBuilder<NoFolder> Builder(InsertPt);
2469 IRBuilder<>::FastMathFlagGuard FMFGuard(Builder);
2498 IRBuilder<> &Builder) {
2763 IRBuilder<> Builder(PBI);
3131 IRBuilder<> QB(&*PostBB->getFirstInsertionPt());
3470 IRBuilder<NoFolder> Builder(PBI);
3584 IRBuilder<> Builder(OldTerm);
3696 ICmpInst *ICI, IRBuilder<> &Builder) {
3798 IRBuilder<> &Builder,
3913 bool SimplifyCFGOpt::simplifyResume(ResumeInst *RI, IRBuilder<> &Builder) {
4220 bool SimplifyCFGOpt::simplifyReturn(ReturnInst *RI, IRBuilder<> &Builder) {
4336 IRBuilder<> Builder(TI);
4450 IRBuilder<> &Builder) {
4946 IRBuilder<> &Builder) {
4977 IRBuilder<> &Builder) {
4999 static bool switchToSelect(SwitchInst *SI, IRBuilder<> &Builder,
5041 Value *BuildLookup(Value *Index, IRBuilder<> &Builder);
5205 Value *SwitchLookupTable::BuildLookup(Value *Index, IRBuilder<> &Builder) {
5404 static bool SwitchToLookupTable(SwitchInst *SI, IRBuilder<> &Builder,
5663 static bool ReduceSwitchRange(SwitchInst *SI, IRBuilder<> &Builder,
5746 bool SimplifyCFGOpt::simplifySwitch(SwitchInst *SI, IRBuilder<> &Builder) {
5904 IRBuilder<> Builder(BI);
5912 bool SimplifyCFGOpt::simplifyBranch(BranchInst *Branch, IRBuilder<> &Builder) {
5918 IRBuilder<> &Builder) {
5978 bool SimplifyCFGOpt::simplifyCondBranch(BranchInst *BI, IRBuilder<> &Builder) {
6139 IRBuilder<> Builder(T);
6192 IRBuilder<> Builder(BB);