Home
last modified time | relevance | path

Searched refs:IfTrue (Results 1 – 13 of 13) sorted by relevance

/openbsd/src/gnu/llvm/llvm/lib/Target/Hexagon/
DHexagonEarlyIfConv.cpp195 unsigned getCondStoreOpcode(unsigned Opc, bool IfTrue) const;
197 MachineInstr *MI, unsigned PredR, bool IfTrue);
200 unsigned PredR, bool IfTrue);
705 bool IfTrue) const { in getCondStoreOpcode()
706 return HII->getCondOpcode(Opc, !IfTrue); in getCondStoreOpcode()
711 unsigned PredR, bool IfTrue) { in predicateInstr() argument
721 unsigned COpc = getCondStoreOpcode(Opc, IfTrue); in predicateInstr()
742 const MCInstrDesc &D = HII->get(IfTrue ? Hexagon::J2_jumpt in predicateInstr()
762 unsigned PredR, bool IfTrue) { in predicateBlockNB() argument
773 predicateInstr(ToB, At, &*I, PredR, IfTrue); in predicateBlockNB()
DHexagonGenMux.cpp246 bool IfTrue = HII->isPredicatedTrue(Opc); in genMuxInBlock() local
260 if (IfTrue) in genMuxInBlock()
DHexagonExpandCondsets.cpp602 bool IfTrue) { in getCondTfrOpcode() argument
617 return IfTrue ? Hexagon::A2_tfrt : Hexagon::A2_tfrf; in getCondTfrOpcode()
619 return IfTrue ? Hexagon::A2_tfrpt : Hexagon::A2_tfrpf; in getCondTfrOpcode()
632 return IfTrue ? Hexagon::C2_cmoveit : Hexagon::C2_cmoveif; in getCondTfrOpcode()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Scalar/
DLoopDeletion.cpp333 BasicBlock *IfTrue, *IfFalse; in canProveExitOnFirstIteration() local
336 m_BasicBlock(IfTrue), m_BasicBlock(IfFalse)))) { in canProveExitOnFirstIteration()
362 if (L->contains(IfTrue) && L->contains(IfFalse)) in canProveExitOnFirstIteration()
363 MarkLiveEdge(BB, IfTrue); in canProveExitOnFirstIteration()
373 MarkLiveEdge(BB, IfTrue); in canProveExitOnFirstIteration()
/openbsd/src/gnu/llvm/llvm/lib/FuzzMutate/
DIRMutator.cpp375 BasicBlock *IfTrue = BasicBlock::Create(C, "T", F); in mutate() local
380 BranchInst *Branch = BranchInst::Create(IfTrue, IfFalse, Cond); in mutate()
384 connectBlocksToSink({IfTrue, IfFalse}, Sink, IB); in mutate()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Vectorize/
DVPlan.h565 void setTwoSuccessors(VPBlockBase *IfTrue, VPBlockBase *IfFalse) { in setTwoSuccessors() argument
567 appendSuccessor(IfTrue); in setTwoSuccessors()
2501 static void insertTwoBlocksAfter(VPBlockBase *IfTrue, VPBlockBase *IfFalse, in insertTwoBlocksAfter() argument
2503 assert(IfTrue->getSuccessors().empty() && in insertTwoBlocksAfter()
2507 BlockPtr->setTwoSuccessors(IfTrue, IfFalse); in insertTwoBlocksAfter()
2508 IfTrue->setPredecessors({BlockPtr}); in insertTwoBlocksAfter()
2510 IfTrue->setParent(BlockPtr->getParent()); in insertTwoBlocksAfter()
/openbsd/src/gnu/llvm/llvm/lib/IR/
DInstructions.cpp1371 BranchInst::BranchInst(BasicBlock *IfTrue, Instruction *InsertBefore) in BranchInst() argument
1372 : Instruction(Type::getVoidTy(IfTrue->getContext()), Instruction::Br, in BranchInst()
1375 assert(IfTrue && "Branch destination may not be null!"); in BranchInst()
1376 Op<-1>() = IfTrue; in BranchInst()
1379 BranchInst::BranchInst(BasicBlock *IfTrue, BasicBlock *IfFalse, Value *Cond, in BranchInst() argument
1381 : Instruction(Type::getVoidTy(IfTrue->getContext()), Instruction::Br, in BranchInst()
1387 Op<-1>() = IfTrue; in BranchInst()
1393 BranchInst::BranchInst(BasicBlock *IfTrue, BasicBlock *InsertAtEnd) in BranchInst() argument
1394 : Instruction(Type::getVoidTy(IfTrue->getContext()), Instruction::Br, in BranchInst()
1396 assert(IfTrue && "Branch destination may not be null!"); in BranchInst()
[all …]
/openbsd/src/gnu/llvm/llvm/include/llvm/IR/
DInstructions.h3152 explicit BranchInst(BasicBlock *IfTrue, Instruction *InsertBefore = nullptr);
3153 BranchInst(BasicBlock *IfTrue, BasicBlock *IfFalse, Value *Cond,
3155 BranchInst(BasicBlock *IfTrue, BasicBlock *InsertAtEnd);
3156 BranchInst(BasicBlock *IfTrue, BasicBlock *IfFalse, Value *Cond,
3195 static BranchInst *Create(BasicBlock *IfTrue,
3197 return new(1) BranchInst(IfTrue, InsertBefore);
3200 static BranchInst *Create(BasicBlock *IfTrue, BasicBlock *IfFalse,
3202 return new(3) BranchInst(IfTrue, IfFalse, Cond, InsertBefore);
3205 static BranchInst *Create(BasicBlock *IfTrue, BasicBlock *InsertAtEnd) {
3206 return new(1) BranchInst(IfTrue, InsertAtEnd);
[all …]
/openbsd/src/gnu/llvm/llvm/include/llvm/Transforms/Utils/
DBasicBlockUtils.h485 BranchInst *GetIfCondition(BasicBlock *BB, BasicBlock *&IfTrue,
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp1602 BranchInst *llvm::GetIfCondition(BasicBlock *BB, BasicBlock *&IfTrue, in GetIfCondition() argument
1657 IfTrue = Pred1; in GetIfCondition()
1661 IfTrue = Pred2; in GetIfCondition()
1685 IfTrue = Pred1; in GetIfCondition()
1688 IfTrue = Pred2; in GetIfCondition()
DSimplifyCFG.cpp3311 BasicBlock *IfTrue, *IfFalse; in FoldTwoEntryPHINode() local
3312 BranchInst *DomBI = GetIfCondition(BB, IfTrue, IfFalse); in FoldTwoEntryPHINode()
3447 << " T: " << IfTrue->getName() in FoldTwoEntryPHINode()
3466 Value *TrueVal = PN->getIncomingValueForBlock(IfTrue); in FoldTwoEntryPHINode()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/InstCombine/
DInstCombineSelect.cpp2463 Value *IfTrue, *IfFalse; in foldSelectToPhiImpl() local
2468 IfTrue = Sel.getTrueValue(); in foldSelectToPhiImpl()
2473 IfTrue = Sel.getFalseValue(); in foldSelectToPhiImpl()
2494 Inputs[Pred] = IfTrue->DoPHITranslation(BB, Pred); in foldSelectToPhiImpl()
/openbsd/src/gnu/llvm/llvm/lib/Target/AArch64/
DAArch64ISelLowering.cpp20613 SDValue IfTrue = N->getOperand(1); in performVSelectCombine() local
20619 IfTrue, IfFalse); in performVSelectCombine()