Lines Matching refs:IRBuilder
61 insertRMWLLSCLoop(IRBuilder<> &Builder, Type *ResultTy, Value *Addr,
63 function_ref<Value *(IRBuilder<> &, Value *)> PerformOp);
66 function_ref<Value *(IRBuilder<> &, Value *)> PerformOp);
74 IRBuilder<> &Builder, Type *ResultType, Value *Addr,
76 function_ref<Value *(IRBuilder<> &, Value *)> PerformOp,
325 IRBuilder<> Builder(I); in bracketInstWithFences()
361 IRBuilder<> Builder(LI); in convertAtomicLoadToIntegerType()
387 [](IRBuilder<> &Builder, Value *Loaded) { return Loaded; }); in tryExpandAtomicLoad()
398 IRBuilder<> Builder(LI); in expandAtomicLoadToLL()
414 IRBuilder<> Builder(LI); in expandAtomicLoadToCmpXchg()
440 IRBuilder<> Builder(SI); in convertAtomicStoreToIntegerType()
467 IRBuilder<> Builder(SI); in expandAtomicStore()
477 static void createCmpXchgInstFun(IRBuilder<> &Builder, Value *Addr, in createCmpXchgInstFun()
490 static Value *performAtomicOp(AtomicRMWInst::BinOp Op, IRBuilder<> &Builder, in performAtomicOp()
536 auto PerformOp = [&](IRBuilder<> &Builder, Value *Loaded) { in tryExpandAtomicRMW()
591 static PartwordMaskValues createMaskInstrs(IRBuilder<> &Builder, Instruction *I, in createMaskInstrs()
641 IRBuilder<> &Builder, Value *Loaded, in performMaskedAtomicOp()
701 IRBuilder<> Builder(AI); in expandPartwordAtomicRMW()
711 auto PerformPartwordOp = [&](IRBuilder<> &Builder, Value *Loaded) { in expandPartwordAtomicRMW()
769 IRBuilder<> Builder(CI); in expandPartwordCmpXchg()
855 function_ref<Value *(IRBuilder<> &, Value *)> PerformOp) { in expandAtomicOpToLLSC() argument
856 IRBuilder<> Builder(I); in expandAtomicOpToLLSC()
865 IRBuilder<> &Builder, Type *ResultTy, Value *Addr, in insertRMWLLSCLoop()
867 function_ref<Value *(IRBuilder<> &, Value *)> PerformOp) { in insertRMWLLSCLoop() argument
920 IRBuilder<> Builder(CI); in convertCmpXchgToIntegerType()
1043 IRBuilder<> Builder(CI); in expandAtomicCmpXchg()
1212 IRBuilder<> &Builder, Type *ResultTy, Value *Addr, in insertRMWCmpXchgLoop()
1214 function_ref<Value *(IRBuilder<> &, Value *)> PerformOp, in insertRMWCmpXchgLoop() argument
1277 IRBuilder<> Builder(AI); in expandAtomicRMWToCmpXchg()
1280 [&](IRBuilder<> &Builder, Value *Loaded) { in expandAtomicRMWToCmpXchg()
1429 expandAtomicRMWToCmpXchg(I, [this](IRBuilder<> &Builder, Value *Addr, in expandAtomicRMWToLibcall()
1461 IRBuilder<> Builder(I); in expandAtomicOpToLibcall()
1462 IRBuilder<> AllocaBuilder(&I->getFunction()->getEntryBlock().front()); in expandAtomicOpToLibcall()