Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/unittests/ASTMatchers/Dynamic/
H A DVariantValueTest.cpp132 bool IfTrue = false; in TEST() local
134 IfTrue = true; in TEST()
136 EXPECT_FALSE(IfTrue); in TEST()
140 IfTrue = false; in TEST()
142 IfTrue = true; in TEST()
144 EXPECT_TRUE(IfTrue); in TEST()
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A 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()
H A DHexagonGenMux.cpp248 bool IfTrue = HII->isPredicatedTrue(Opc); in genMuxInBlock() local
262 if (IfTrue) in genMuxInBlock()
H A DHexagonExpandCondsets.cpp581 bool IfTrue) { in getCondTfrOpcode() argument
598 return IfTrue ? A2_tfrt : A2_tfrf; in getCondTfrOpcode()
600 return IfTrue ? A2_tfrpt : A2_tfrpf; in getCondTfrOpcode()
613 return IfTrue ? C2_cmoveit : C2_cmoveif; in getCondTfrOpcode()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLoopDeletion.cpp334 BasicBlock *IfTrue, *IfFalse; in canProveExitOnFirstIteration() local
337 m_BasicBlock(IfTrue), m_BasicBlock(IfFalse)))) { in canProveExitOnFirstIteration()
363 if (L->contains(IfTrue) && L->contains(IfFalse)) in canProveExitOnFirstIteration()
364 MarkLiveEdge(BB, IfTrue); in canProveExitOnFirstIteration()
374 MarkLiveEdge(BB, IfTrue); in canProveExitOnFirstIteration()
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/
H A Dregress-fp128-livein.ll3 ; Regression test for NZCV reg live-in not being added to fp128csel IfTrue BB,
/llvm-project-15.0.7/llvm/lib/Transforms/Vectorize/
H A DVPlan.h560 void setTwoSuccessors(VPBlockBase *IfTrue, VPBlockBase *IfFalse) { in setTwoSuccessors() argument
562 appendSuccessor(IfTrue); in setTwoSuccessors()
2842 static void insertTwoBlocksAfter(VPBlockBase *IfTrue, VPBlockBase *IfFalse,
2844 assert(IfTrue->getSuccessors().empty() &&
2848 BlockPtr->setTwoSuccessors(IfTrue, IfFalse);
2849 IfTrue->setPredecessors({BlockPtr});
2851 IfTrue->setParent(BlockPtr->getParent());
/llvm-project-15.0.7/llvm/lib/IR/
H A DInstructions.cpp1268 BranchInst::BranchInst(BasicBlock *IfTrue, Instruction *InsertBefore) in BranchInst() argument
1269 : Instruction(Type::getVoidTy(IfTrue->getContext()), Instruction::Br, in BranchInst()
1272 assert(IfTrue && "Branch destination may not be null!"); in BranchInst()
1273 Op<-1>() = IfTrue; in BranchInst()
1278 : Instruction(Type::getVoidTy(IfTrue->getContext()), Instruction::Br, in BranchInst()
1284 Op<-1>() = IfTrue; in BranchInst()
1290 BranchInst::BranchInst(BasicBlock *IfTrue, BasicBlock *InsertAtEnd) in BranchInst() argument
1291 : Instruction(Type::getVoidTy(IfTrue->getContext()), Instruction::Br, in BranchInst()
1293 assert(IfTrue && "Branch destination may not be null!"); in BranchInst()
1294 Op<-1>() = IfTrue; in BranchInst()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DInstructions.h3113 BranchInst(BasicBlock *IfTrue, BasicBlock *IfFalse, Value *Cond,
3115 BranchInst(BasicBlock *IfTrue, BasicBlock *InsertAtEnd);
3116 BranchInst(BasicBlock *IfTrue, BasicBlock *IfFalse, Value *Cond,
3155 static BranchInst *Create(BasicBlock *IfTrue,
3157 return new(1) BranchInst(IfTrue, InsertBefore);
3160 static BranchInst *Create(BasicBlock *IfTrue, BasicBlock *IfFalse,
3162 return new(3) BranchInst(IfTrue, IfFalse, Cond, InsertBefore);
3165 static BranchInst *Create(BasicBlock *IfTrue, BasicBlock *InsertAtEnd) {
3166 return new(1) BranchInst(IfTrue, InsertAtEnd);
3169 static BranchInst *Create(BasicBlock *IfTrue, BasicBlock *IfFalse,
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DBasicBlockUtils.cpp1485 BranchInst *llvm::GetIfCondition(BasicBlock *BB, BasicBlock *&IfTrue, in GetIfCondition() argument
1540 IfTrue = Pred1; in GetIfCondition()
1544 IfTrue = Pred2; in GetIfCondition()
1568 IfTrue = Pred1; in GetIfCondition()
1571 IfTrue = Pred2; in GetIfCondition()
H A DSimplifyCFG.cpp3152 BasicBlock *IfTrue, *IfFalse; in FoldTwoEntryPHINode() local
3153 BranchInst *DomBI = GetIfCondition(BB, IfTrue, IfFalse); in FoldTwoEntryPHINode()
3288 << " T: " << IfTrue->getName() in FoldTwoEntryPHINode()
3307 Value *TrueVal = PN->getIncomingValueForBlock(IfTrue); in FoldTwoEntryPHINode()
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/
H A DBasicBlockUtils.h480 BranchInst *GetIfCondition(BasicBlock *BB, BasicBlock *&IfTrue,
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombineSelect.cpp2374 Value *IfTrue, *IfFalse; in foldSelectToPhiImpl() local
2379 IfTrue = Sel.getTrueValue(); in foldSelectToPhiImpl()
2384 IfTrue = Sel.getFalseValue(); in foldSelectToPhiImpl()
2405 Inputs[Pred] = IfTrue->DoPHITranslation(BB, Pred); in foldSelectToPhiImpl()
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64ISelLowering.cpp18726 SDValue IfTrue = N->getOperand(1); in performVSelectCombine() local
18732 IfTrue, IfFalse); in performVSelectCombine()