Home
last modified time | relevance | path

Searched refs:ThisMBB (Results 1 – 15 of 15) sorted by relevance

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCReduceCRLogicals.cpp144 MachineBasicBlock *ThisMBB = BSI.OrigBranch->getParent(); in splitMBB() local
145 MachineFunction *MF = ThisMBB->getParent(); in splitMBB()
148 if (ThisMBB->succ_size() != 2) { in splitMBB()
165 MachineBasicBlock *OrigFallThrough = OrigTarget == *ThisMBB->succ_begin() in splitMBB()
166 ? *ThisMBB->succ_rbegin() in splitMBB()
167 : *ThisMBB->succ_begin(); in splitMBB()
186 ProbToNewTarget = BSI.MBPI->getEdgeProbability(ThisMBB, OrigFallThrough) / 2; in splitMBB()
191 ProbToNewTarget = BSI.MBPI->getEdgeProbability(ThisMBB, OrigTarget) / 2; in splitMBB()
200 const BasicBlock *LLVM_BB = ThisMBB->getBasicBlock(); in splitMBB()
201 MachineFunction::iterator It = ThisMBB->getIterator(); in splitMBB()
[all …]
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCReduceCRLogicals.cpp144 MachineBasicBlock *ThisMBB = BSI.OrigBranch->getParent(); in splitMBB() local
145 MachineFunction *MF = ThisMBB->getParent(); in splitMBB()
148 if (ThisMBB->succ_size() != 2) { in splitMBB()
165 MachineBasicBlock *OrigFallThrough = OrigTarget == *ThisMBB->succ_begin() in splitMBB()
166 ? *ThisMBB->succ_rbegin() in splitMBB()
167 : *ThisMBB->succ_begin(); in splitMBB()
186 ProbToNewTarget = BSI.MBPI->getEdgeProbability(ThisMBB, OrigFallThrough) / 2; in splitMBB()
191 ProbToNewTarget = BSI.MBPI->getEdgeProbability(ThisMBB, OrigTarget) / 2; in splitMBB()
200 const BasicBlock *LLVM_BB = ThisMBB->getBasicBlock(); in splitMBB()
201 MachineFunction::iterator It = ThisMBB->getIterator(); in splitMBB()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86CondBrFolding.cpp348 MachineBasicBlock *ThisMBB = I; in optimizeCondBr() local
349 if (!ThisMBB->hasSuccessorProbabilities() || in optimizeCondBr()
350 !ThisMBB->isSuccessor(NextMBB)) in optimizeCondBr()
352 Prob = MBPI->getEdgeProbability(ThisMBB, NextMBB); in optimizeCondBr()
357 setBranchProb(ThisMBB, NextMBB, Prob); in optimizeCondBr()
358 if (ThisMBB == RootMBB) { in optimizeCondBr()
359 setBranchProb(ThisMBB, TargetMBB, TargetProb); in optimizeCondBr()
361 ThisMBB->normalizeSuccProbs(); in optimizeCondBr()
362 if (ThisMBB == RootMBB) in optimizeCondBr()
364 NextMBB = ThisMBB; in optimizeCondBr()
DX86ISelLowering.cpp30776 MachineBasicBlock *ThisMBB) const { in EmitLoweredCascadedSelect()
30851 const BasicBlock *LLVM_BB = ThisMBB->getBasicBlock(); in EmitLoweredCascadedSelect()
30852 MachineFunction *F = ThisMBB->getParent(); in EmitLoweredCascadedSelect()
30857 MachineFunction::iterator It = ++ThisMBB->getIterator(); in EmitLoweredCascadedSelect()
30871 !checkAndUpdateEFLAGSKill(SecondCascadedCMOV, ThisMBB, TRI)) { in EmitLoweredCascadedSelect()
30877 SinkMBB->splice(SinkMBB->begin(), ThisMBB, in EmitLoweredCascadedSelect()
30879 ThisMBB->end()); in EmitLoweredCascadedSelect()
30880 SinkMBB->transferSuccessorsAndUpdatePHIs(ThisMBB); in EmitLoweredCascadedSelect()
30883 ThisMBB->addSuccessor(FirstInsertedMBB); in EmitLoweredCascadedSelect()
30885 ThisMBB->addSuccessor(SinkMBB); in EmitLoweredCascadedSelect()
[all …]
/external/llvm/lib/Target/Mips/
DMipsLongBranch.cpp197 int ThisMBB = Br->getParent()->getNumber(); in computeOffset() local
201 if (ThisMBB < TargetMBB) { in computeOffset()
202 for (int N = ThisMBB + 1; N < TargetMBB; ++N) in computeOffset()
209 for (int N = ThisMBB; N >= TargetMBB; --N) in computeOffset()
/external/llvm-project/llvm/lib/Target/Mips/
DMipsBranchExpansion.cpp306 int ThisMBB = Br->getParent()->getNumber(); in computeOffset() local
310 if (ThisMBB < TargetMBB) { in computeOffset()
311 for (int N = ThisMBB + 1; N < TargetMBB; ++N) in computeOffset()
318 for (int N = ThisMBB; N >= TargetMBB; --N) in computeOffset()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsBranchExpansion.cpp306 int ThisMBB = Br->getParent()->getNumber(); in computeOffset() local
310 if (ThisMBB < TargetMBB) { in computeOffset()
311 for (int N = ThisMBB + 1; N < TargetMBB; ++N) in computeOffset()
318 for (int N = ThisMBB; N >= TargetMBB; --N) in computeOffset()
/external/llvm-project/llvm/lib/Target/RISCV/
DRISCVExpandAtomicPseudoInsts.cpp217 DebugLoc DL, MachineBasicBlock *ThisMBB, in doAtomicBinOpExpansion() argument
280 MachineBasicBlock *ThisMBB, MachineBasicBlock *LoopMBB, in doMaskedAtomicBinOpExpansion() argument
/external/llvm/lib/Target/BPF/
DBPFISelLowering.cpp515 MachineBasicBlock *ThisMBB = BB; in EmitInstrWithCustomInserter() local
592 .addMBB(ThisMBB); in EmitInstrWithCustomInserter()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/
DRISCVExpandPseudoInsts.cpp234 DebugLoc DL, MachineBasicBlock *ThisMBB, in doAtomicBinOpExpansion() argument
297 MachineBasicBlock *ThisMBB, MachineBasicBlock *LoopMBB, in doMaskedAtomicBinOpExpansion() argument
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBPFISelLowering.cpp660 MachineBasicBlock *ThisMBB = BB; in EmitInstrWithCustomInserter() local
748 .addMBB(ThisMBB); in EmitInstrWithCustomInserter()
/external/llvm-project/llvm/lib/Target/BPF/
DBPFISelLowering.cpp699 MachineBasicBlock *ThisMBB = BB; in EmitInstrWithCustomInserter() local
787 .addMBB(ThisMBB); in EmitInstrWithCustomInserter()
/external/llvm-project/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp3143 MachineBasicBlock *ThisMBB = BB; in expandSelectCC() local
3151 SinkMBB->splice(SinkMBB->begin(), ThisMBB, in expandSelectCC()
3152 std::next(MachineBasicBlock::iterator(MI)), ThisMBB->end()); in expandSelectCC()
3153 SinkMBB->transferSuccessorsAndUpdatePHIs(ThisMBB); in expandSelectCC()
3156 ThisMBB->addSuccessor(IfFalseMBB); in expandSelectCC()
3157 ThisMBB->addSuccessor(SinkMBB); in expandSelectCC()
3159 BuildMI(ThisMBB, dl, TII.get(BROpcode)) in expandSelectCC()
3170 .addMBB(ThisMBB) in expandSelectCC()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/
DSparcISelLowering.cpp3137 MachineBasicBlock *ThisMBB = BB; in expandSelectCC() local
3145 SinkMBB->splice(SinkMBB->begin(), ThisMBB, in expandSelectCC()
3146 std::next(MachineBasicBlock::iterator(MI)), ThisMBB->end()); in expandSelectCC()
3147 SinkMBB->transferSuccessorsAndUpdatePHIs(ThisMBB); in expandSelectCC()
3150 ThisMBB->addSuccessor(IfFalseMBB); in expandSelectCC()
3151 ThisMBB->addSuccessor(SinkMBB); in expandSelectCC()
3153 BuildMI(ThisMBB, dl, TII.get(BROpcode)) in expandSelectCC()
3164 .addMBB(ThisMBB) in expandSelectCC()
/external/llvm-project/llvm/lib/Target/X86/
DX86ISelLowering.cpp31984 MachineBasicBlock *ThisMBB) const { in EmitLoweredCascadedSelect()
32059 const BasicBlock *LLVM_BB = ThisMBB->getBasicBlock(); in EmitLoweredCascadedSelect()
32060 MachineFunction *F = ThisMBB->getParent(); in EmitLoweredCascadedSelect()
32065 MachineFunction::iterator It = ++ThisMBB->getIterator(); in EmitLoweredCascadedSelect()
32079 !checkAndUpdateEFLAGSKill(SecondCascadedCMOV, ThisMBB, TRI)) { in EmitLoweredCascadedSelect()
32085 SinkMBB->splice(SinkMBB->begin(), ThisMBB, in EmitLoweredCascadedSelect()
32087 ThisMBB->end()); in EmitLoweredCascadedSelect()
32088 SinkMBB->transferSuccessorsAndUpdatePHIs(ThisMBB); in EmitLoweredCascadedSelect()
32091 ThisMBB->addSuccessor(FirstInsertedMBB); in EmitLoweredCascadedSelect()
32093 ThisMBB->addSuccessor(SinkMBB); in EmitLoweredCascadedSelect()
[all …]