Home
last modified time | relevance | path

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

/external/llvm/include/llvm/
DInstructions.h2354 explicit BranchInst(BasicBlock *IfTrue, Instruction *InsertBefore = 0);
2355 BranchInst(BasicBlock *IfTrue, BasicBlock *IfFalse, Value *Cond,
2357 BranchInst(BasicBlock *IfTrue, BasicBlock *InsertAtEnd);
2358 BranchInst(BasicBlock *IfTrue, BasicBlock *IfFalse, Value *Cond,
2363 static BranchInst *Create(BasicBlock *IfTrue, Instruction *InsertBefore = 0) {
2364 return new(1) BranchInst(IfTrue, InsertBefore);
2366 static BranchInst *Create(BasicBlock *IfTrue, BasicBlock *IfFalse,
2368 return new(3) BranchInst(IfTrue, IfFalse, Cond, InsertBefore);
2370 static BranchInst *Create(BasicBlock *IfTrue, BasicBlock *InsertAtEnd) {
2371 return new(1) BranchInst(IfTrue, InsertAtEnd);
[all …]
/external/llvm/lib/VMCore/
DInstructions.cpp703 BranchInst::BranchInst(BasicBlock *IfTrue, Instruction *InsertBefore) in BranchInst() argument
704 : TerminatorInst(Type::getVoidTy(IfTrue->getContext()), Instruction::Br, in BranchInst()
707 assert(IfTrue != 0 && "Branch destination may not be null!"); in BranchInst()
708 Op<-1>() = IfTrue; in BranchInst()
710 BranchInst::BranchInst(BasicBlock *IfTrue, BasicBlock *IfFalse, Value *Cond, in BranchInst() argument
712 : TerminatorInst(Type::getVoidTy(IfTrue->getContext()), Instruction::Br, in BranchInst()
715 Op<-1>() = IfTrue; in BranchInst()
723 BranchInst::BranchInst(BasicBlock *IfTrue, BasicBlock *InsertAtEnd) in BranchInst() argument
724 : TerminatorInst(Type::getVoidTy(IfTrue->getContext()), Instruction::Br, in BranchInst()
727 assert(IfTrue != 0 && "Branch destination may not be null!"); in BranchInst()
[all …]
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp134 static Value *GetIfCondition(BasicBlock *BB, BasicBlock *&IfTrue, in GetIfCondition() argument
174 IfTrue = Pred1; in GetIfCondition()
178 IfTrue = Pred2; in GetIfCondition()
202 IfTrue = Pred1; in GetIfCondition()
205 IfTrue = Pred2; in GetIfCondition()
1237 BasicBlock *IfTrue, *IfFalse; in FoldTwoEntryPHINode() local
1238 Value *IfCond = GetIfCondition(BB, IfTrue, IfFalse); in FoldTwoEntryPHINode()
1323 << IfTrue->getName() << " F: " << IfFalse->getName() << "\n"); in FoldTwoEntryPHINode()
1344 Value *FalseVal = PN->getIncomingValue(PN->getIncomingBlock(0) == IfTrue); in FoldTwoEntryPHINode()