Home
last modified time | relevance | path

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

12

/external/llvm/lib/Target/Hexagon/
DHexagonEarlyIfConv.cpp172 unsigned getCondStoreOpcode(unsigned Opc, bool IfTrue) const;
174 MachineInstr *MI, unsigned PredR, bool IfTrue);
177 unsigned PredR, bool IfTrue);
655 bool IfTrue) const { in getCondStoreOpcode()
660 return IfTrue ? S2_pstorerbt_io : S2_pstorerbf_io; in getCondStoreOpcode()
662 return IfTrue ? S4_pstorerbt_rr : S4_pstorerbf_rr; in getCondStoreOpcode()
665 return IfTrue ? S4_pstorerbt_abs : S4_pstorerbf_abs; in getCondStoreOpcode()
667 return IfTrue ? S4_storeirbt_io : S4_storeirbf_io; in getCondStoreOpcode()
669 return IfTrue ? S2_pstorerht_io : S2_pstorerhf_io; in getCondStoreOpcode()
671 return IfTrue ? S4_pstorerht_rr : S4_pstorerhf_rr; in getCondStoreOpcode()
[all …]
DHexagonInstrInfoV3.td43 class T_CallPred<bit CSR, bit IfTrue, string ExtStr>
45 CondStr<"$Pu", IfTrue, 0>.S # "call " # ExtStr # "$dst",
48 let isPredicatedFalse = !if(IfTrue,0,1);
56 let Inst{21} = !if(IfTrue,0,1);
DHexagonGenMux.cpp216 bool IfTrue = HII->isPredicatedTrue(Opc); in genMuxInBlock() local
230 if (IfTrue) in genMuxInBlock()
DHexagonExpandCondsets.cpp578 bool IfTrue) { in getCondTfrOpcode() argument
595 return IfTrue ? A2_tfrt : A2_tfrf; in getCondTfrOpcode()
597 return IfTrue ? A2_tfrpt : A2_tfrpf; in getCondTfrOpcode()
602 return IfTrue ? C2_cmoveit : C2_cmoveif; in getCondTfrOpcode()
/external/clang/unittests/ASTMatchers/Dynamic/
DVariantValueTest.cpp108 bool IfTrue = false; in TEST() local
110 IfTrue = true; in TEST()
112 EXPECT_FALSE(IfTrue); in TEST()
116 IfTrue = false; in TEST()
118 IfTrue = true; in TEST()
120 EXPECT_TRUE(IfTrue); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonEarlyIfConv.cpp196 unsigned getCondStoreOpcode(unsigned Opc, bool IfTrue) const;
198 MachineInstr *MI, unsigned PredR, bool IfTrue);
201 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()
744 const MCInstrDesc &D = HII->get(IfTrue ? Hexagon::J2_jumpt in predicateInstr()
764 unsigned PredR, bool IfTrue) { in predicateBlockNB() argument
775 predicateInstr(ToB, At, &*I, PredR, IfTrue); in predicateBlockNB()
DHexagonGenMux.cpp253 bool IfTrue = HII->isPredicatedTrue(Opc); in genMuxInBlock() local
267 if (IfTrue) in genMuxInBlock()
DHexagonExpandCondsets.cpp579 bool IfTrue) { in getCondTfrOpcode() argument
597 return IfTrue ? A2_tfrt : A2_tfrf; in getCondTfrOpcode()
599 return IfTrue ? A2_tfrpt : A2_tfrpf; in getCondTfrOpcode()
612 return IfTrue ? C2_cmoveit : C2_cmoveif; in getCondTfrOpcode()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/
DVPlan.h496 void setTwoSuccessors(VPBlockBase *IfTrue, VPBlockBase *IfFalse, in setTwoSuccessors() argument
501 appendSuccessor(IfTrue); in setTwoSuccessors()
1397 static void insertTwoBlocksAfter(VPBlockBase *IfTrue, VPBlockBase *IfFalse,
1399 assert(IfTrue->getSuccessors().empty() &&
1403 BlockPtr->setTwoSuccessors(IfTrue, IfFalse, Condition);
1404 IfTrue->setPredecessors({BlockPtr});
1406 IfTrue->setParent(BlockPtr->getParent());
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp747 Value *llvm::GetIfCondition(BasicBlock *BB, BasicBlock *&IfTrue, in GetIfCondition() argument
802 IfTrue = Pred1; in GetIfCondition()
806 IfTrue = Pred2; in GetIfCondition()
830 IfTrue = Pred1; in GetIfCondition()
833 IfTrue = Pred2; in GetIfCondition()
/external/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp678 Value *llvm::GetIfCondition(BasicBlock *BB, BasicBlock *&IfTrue, in GetIfCondition() argument
733 IfTrue = Pred1; in GetIfCondition()
737 IfTrue = Pred2; in GetIfCondition()
761 IfTrue = Pred1; in GetIfCondition()
764 IfTrue = Pred2; in GetIfCondition()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/AArch64/
Dregress-fp128-livein.ll3 ; Regression test for NZCV reg live-in not being added to fp128csel IfTrue BB,
/external/llvm/test/CodeGen/AArch64/
Dregress-fp128-livein.ll3 ; Regression test for NZCV reg live-in not being added to fp128csel IfTrue BB,
/external/v8/src/compiler/
Djs-call-reducer.cc317 Node* if_null = graph()->NewNode(common()->IfTrue(), control); in ReduceFunctionPrototypeApply()
326 Node* if_undefined = graph()->NewNode(common()->IfTrue(), control); in ReduceFunctionPrototypeApply()
861 Node* if_true = graph()->NewNode(common()->IfTrue(), branch); in ReduceReflectGet()
937 Node* if_true = graph()->NewNode(common()->IfTrue(), branch); in ReduceReflectHas()
1097 Node* if_true = graph()->NewNode(common()->IfTrue(), continue_branch); in ReduceArrayForEach()
1138 hole_true = graph()->NewNode(common()->IfTrue(), branch); in ReduceArrayForEach()
1326 Node* is_hole = graph()->NewNode(common()->IfTrue(), hole_branch); in ReduceArrayReduce()
1358 Node* if_true = graph()->NewNode(common()->IfTrue(), continue_branch); in ReduceArrayReduce()
1396 hole_true = graph()->NewNode(common()->IfTrue(), branch); in ReduceArrayReduce()
1572 Node* if_true = graph()->NewNode(common()->IfTrue(), continue_branch); in ReduceArrayMap()
[all …]
Ddiamond.h30 if_true = graph->NewNode(common->IfTrue(), branch);
Djs-typed-lowering.cc734 control = graph()->NewNode(common()->IfTrue(), branch); in ReduceCreateConsString()
1118 Node* if_true = graph()->NewNode(common()->IfTrue(), branch); in ReduceJSToObject()
1200 Node* if_true0 = graph()->NewNode(common()->IfTrue(), branch0); in ReduceJSHasInPrototypeChain()
1234 Node* if_true1 = graph()->NewNode(common()->IfTrue(), branch1); in ReduceJSHasInPrototypeChain()
1246 if_true1 = graph()->NewNode(common()->IfTrue(), branch10); in ReduceJSHasInPrototypeChain()
1279 Node* if_true2 = graph()->NewNode(common()->IfTrue(), branch2); in ReduceJSHasInPrototypeChain()
1290 Node* if_true3 = graph()->NewNode(common()->IfTrue(), branch3); in ReduceJSHasInPrototypeChain()
1833 Node* if_true = graph()->NewNode(common()->IfTrue(), branch); in ReduceJSForInNext()
1935 Node* if_true = graph()->NewNode(common()->IfTrue(), branch); in ReduceJSForInPrepare()
2183 controls[count] = graph()->NewNode(common()->IfTrue(), control); in ReduceObjectIsArray()
[all …]
Dcontrol-flow-optimizer.cc91 if_true = matcher.IfTrue(); in TryBuildSwitch()
Dsimplified-lowering.cc3313 Node* if_true0 = graph()->NewNode(common()->IfTrue(), branch0); in DoJSToNumberOrNumericTruncatesToFloat64()
3351 Node* if_true1 = graph()->NewNode(common()->IfTrue(), branch1); in DoJSToNumberOrNumericTruncatesToFloat64()
3415 Node* if_true0 = graph()->NewNode(common()->IfTrue(), branch0); in DoJSToNumberOrNumericTruncatesToWord32()
3450 Node* if_true1 = graph()->NewNode(common()->IfTrue(), branch1); in DoJSToNumberOrNumericTruncatesToWord32()
3579 Node* if_true0 = graph()->NewNode(common()->IfTrue(), branch0); in Int32Div()
3588 Node* if_true1 = graph()->NewNode(common()->IfTrue(), branch1); in Int32Div()
3597 Node* if_true2 = graph()->NewNode(common()->IfTrue(), branch2); in Int32Div()
3656 Node* if_true0 = graph()->NewNode(common()->IfTrue(), branch0); in Int32Mod()
3664 Node* if_true1 = graph()->NewNode(common()->IfTrue(), branch1); in Int32Mod()
3674 Node* if_true2 = graph()->NewNode(common()->IfTrue(), branch2); in Int32Mod()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/
DInstructions.h2318 explicit BranchInst(BasicBlock *IfTrue, Instruction *InsertBefore = 0);
2319 BranchInst(BasicBlock *IfTrue, BasicBlock *IfFalse, Value *Cond,
2321 BranchInst(BasicBlock *IfTrue, BasicBlock *InsertAtEnd);
2322 BranchInst(BasicBlock *IfTrue, BasicBlock *IfFalse, Value *Cond,
2327 static BranchInst *Create(BasicBlock *IfTrue, Instruction *InsertBefore = 0) {
2328 return new(1) BranchInst(IfTrue, InsertBefore);
2330 static BranchInst *Create(BasicBlock *IfTrue, BasicBlock *IfFalse,
2332 return new(3) BranchInst(IfTrue, IfFalse, Cond, InsertBefore);
2334 static BranchInst *Create(BasicBlock *IfTrue, BasicBlock *InsertAtEnd) {
2335 return new(1) BranchInst(IfTrue, InsertAtEnd);
[all …]
/external/swiftshader/third_party/LLVM/lib/VMCore/
DInstructions.cpp733 BranchInst::BranchInst(BasicBlock *IfTrue, Instruction *InsertBefore) in BranchInst() argument
734 : TerminatorInst(Type::getVoidTy(IfTrue->getContext()), Instruction::Br, in BranchInst()
737 assert(IfTrue != 0 && "Branch destination may not be null!"); in BranchInst()
738 Op<-1>() = IfTrue; in BranchInst()
740 BranchInst::BranchInst(BasicBlock *IfTrue, BasicBlock *IfFalse, Value *Cond, in BranchInst() argument
742 : TerminatorInst(Type::getVoidTy(IfTrue->getContext()), Instruction::Br, in BranchInst()
745 Op<-1>() = IfTrue; in BranchInst()
753 BranchInst::BranchInst(BasicBlock *IfTrue, BasicBlock *InsertAtEnd) in BranchInst() argument
754 : TerminatorInst(Type::getVoidTy(IfTrue->getContext()), Instruction::Br, in BranchInst()
757 assert(IfTrue != 0 && "Branch destination may not be null!"); in BranchInst()
[all …]
/external/llvm/include/llvm/Transforms/Utils/
DBasicBlockUtils.h283 Value *GetIfCondition(BasicBlock *BB, BasicBlock *&IfTrue,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DBasicBlockUtils.h287 Value *GetIfCondition(BasicBlock *BB, BasicBlock *&IfTrue,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DInstructions.cpp935 BranchInst::BranchInst(BasicBlock *IfTrue, Instruction *InsertBefore) in BranchInst() argument
936 : TerminatorInst(Type::getVoidTy(IfTrue->getContext()), Instruction::Br, in BranchInst()
939 assert(IfTrue && "Branch destination may not be null!"); in BranchInst()
940 Op<-1>() = IfTrue; in BranchInst()
943 BranchInst::BranchInst(BasicBlock *IfTrue, BasicBlock *IfFalse, Value *Cond, in BranchInst() argument
945 : TerminatorInst(Type::getVoidTy(IfTrue->getContext()), Instruction::Br, in BranchInst()
948 Op<-1>() = IfTrue; in BranchInst()
956 BranchInst::BranchInst(BasicBlock *IfTrue, BasicBlock *InsertAtEnd) in BranchInst() argument
957 : TerminatorInst(Type::getVoidTy(IfTrue->getContext()), Instruction::Br, in BranchInst()
960 assert(IfTrue && "Branch destination may not be null!"); in BranchInst()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DSimplifyCFG.cpp131 static Value *GetIfCondition(BasicBlock *BB, BasicBlock *&IfTrue, in GetIfCondition() argument
171 IfTrue = Pred1; in GetIfCondition()
175 IfTrue = Pred2; in GetIfCondition()
199 IfTrue = Pred1; in GetIfCondition()
202 IfTrue = Pred2; in GetIfCondition()
1250 BasicBlock *IfTrue, *IfFalse; in FoldTwoEntryPHINode() local
1251 Value *IfCond = GetIfCondition(BB, IfTrue, IfFalse); in FoldTwoEntryPHINode()
1336 << IfTrue->getName() << " F: " << IfFalse->getName() << "\n"); in FoldTwoEntryPHINode()
1357 Value *FalseVal = PN->getIncomingValue(PN->getIncomingBlock(0) == IfTrue); in FoldTwoEntryPHINode()
/external/llvm/lib/IR/
DInstructions.cpp1150 BranchInst::BranchInst(BasicBlock *IfTrue, Instruction *InsertBefore) in BranchInst() argument
1151 : TerminatorInst(Type::getVoidTy(IfTrue->getContext()), Instruction::Br, in BranchInst()
1154 assert(IfTrue && "Branch destination may not be null!"); in BranchInst()
1155 Op<-1>() = IfTrue; in BranchInst()
1157 BranchInst::BranchInst(BasicBlock *IfTrue, BasicBlock *IfFalse, Value *Cond, in BranchInst() argument
1159 : TerminatorInst(Type::getVoidTy(IfTrue->getContext()), Instruction::Br, in BranchInst()
1162 Op<-1>() = IfTrue; in BranchInst()
1170 BranchInst::BranchInst(BasicBlock *IfTrue, BasicBlock *InsertAtEnd) in BranchInst() argument
1171 : TerminatorInst(Type::getVoidTy(IfTrue->getContext()), Instruction::Br, in BranchInst()
1174 assert(IfTrue && "Branch destination may not be null!"); in BranchInst()
[all …]

12