Home
last modified time | relevance | path

Searched refs:IfTrue (Results 1 – 25 of 35) 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/llvm-project/clang/unittests/ASTMatchers/Dynamic/
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()
/external/llvm-project/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.cpp252 bool IfTrue = HII->isPredicatedTrue(Opc); in genMuxInBlock() local
266 if (IfTrue) in genMuxInBlock()
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()
/external/swiftshader/third_party/llvm-10.0/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.cpp252 bool IfTrue = HII->isPredicatedTrue(Opc); in genMuxInBlock() local
266 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/llvm/test/CodeGen/AArch64/
Dregress-fp128-livein.ll3 ; Regression test for NZCV reg live-in not being added to fp128csel IfTrue BB,
/external/llvm-project/llvm/test/CodeGen/AArch64/
Dregress-fp128-livein.ll3 ; Regression test for NZCV reg live-in not being added to fp128csel IfTrue BB,
/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-10.0/llvm/lib/Transforms/Vectorize/
DVPlan.h524 void setTwoSuccessors(VPBlockBase *IfTrue, VPBlockBase *IfFalse, in setTwoSuccessors() argument
529 appendSuccessor(IfTrue); in setTwoSuccessors()
1567 static void insertTwoBlocksAfter(VPBlockBase *IfTrue, VPBlockBase *IfFalse,
1569 assert(IfTrue->getSuccessors().empty() &&
1573 BlockPtr->setTwoSuccessors(IfTrue, IfFalse, Condition);
1574 IfTrue->setPredecessors({BlockPtr});
1576 IfTrue->setParent(BlockPtr->getParent());
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp997 Value *llvm::GetIfCondition(BasicBlock *BB, BasicBlock *&IfTrue, in GetIfCondition() argument
1052 IfTrue = Pred1; in GetIfCondition()
1056 IfTrue = Pred2; in GetIfCondition()
1080 IfTrue = Pred1; in GetIfCondition()
1083 IfTrue = Pred2; in GetIfCondition()
/external/llvm-project/llvm/lib/Transforms/Vectorize/
DVPlan.h566 void setTwoSuccessors(VPBlockBase *IfTrue, VPBlockBase *IfFalse, in setTwoSuccessors() argument
571 appendSuccessor(IfTrue); in setTwoSuccessors()
1915 static void insertTwoBlocksAfter(VPBlockBase *IfTrue, VPBlockBase *IfFalse,
1917 assert(IfTrue->getSuccessors().empty() &&
1921 BlockPtr->setTwoSuccessors(IfTrue, IfFalse, Condition);
1922 IfTrue->setPredecessors({BlockPtr});
1924 IfTrue->setParent(BlockPtr->getParent());
/external/llvm/include/llvm/Transforms/Utils/
DBasicBlockUtils.h283 Value *GetIfCondition(BasicBlock *BB, BasicBlock *&IfTrue,
/external/llvm-project/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp1053 Value *llvm::GetIfCondition(BasicBlock *BB, BasicBlock *&IfTrue, in GetIfCondition() argument
1108 IfTrue = Pred1; in GetIfCondition()
1112 IfTrue = Pred2; in GetIfCondition()
1136 IfTrue = Pred1; in GetIfCondition()
1139 IfTrue = Pred2; in GetIfCondition()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInstructions.cpp1131 BranchInst::BranchInst(BasicBlock *IfTrue, Instruction *InsertBefore) in BranchInst() argument
1132 : Instruction(Type::getVoidTy(IfTrue->getContext()), Instruction::Br, in BranchInst()
1135 assert(IfTrue && "Branch destination may not be null!"); in BranchInst()
1136 Op<-1>() = IfTrue; in BranchInst()
1139 BranchInst::BranchInst(BasicBlock *IfTrue, BasicBlock *IfFalse, Value *Cond, in BranchInst() argument
1141 : Instruction(Type::getVoidTy(IfTrue->getContext()), Instruction::Br, in BranchInst()
1144 Op<-1>() = IfTrue; in BranchInst()
1152 BranchInst::BranchInst(BasicBlock *IfTrue, BasicBlock *InsertAtEnd) in BranchInst() argument
1153 : Instruction(Type::getVoidTy(IfTrue->getContext()), Instruction::Br, in BranchInst()
1155 assert(IfTrue && "Branch destination may not be null!"); in BranchInst()
[all …]
/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 …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DBasicBlockUtils.h339 Value *GetIfCondition(BasicBlock *BB, BasicBlock *&IfTrue,
/external/llvm-project/llvm/include/llvm/Transforms/Utils/
DBasicBlockUtils.h362 Value *GetIfCondition(BasicBlock *BB, BasicBlock *&IfTrue,
/external/llvm/include/llvm/IR/
DInstructions.h2893 explicit BranchInst(BasicBlock *IfTrue, Instruction *InsertBefore = nullptr);
2894 BranchInst(BasicBlock *IfTrue, BasicBlock *IfFalse, Value *Cond,
2896 BranchInst(BasicBlock *IfTrue, BasicBlock *InsertAtEnd);
2897 BranchInst(BasicBlock *IfTrue, BasicBlock *IfFalse, Value *Cond,
2906 static BranchInst *Create(BasicBlock *IfTrue,
2908 return new(1) BranchInst(IfTrue, InsertBefore);
2910 static BranchInst *Create(BasicBlock *IfTrue, BasicBlock *IfFalse,
2912 return new(3) BranchInst(IfTrue, IfFalse, Cond, InsertBefore);
2914 static BranchInst *Create(BasicBlock *IfTrue, BasicBlock *InsertAtEnd) {
2915 return new(1) BranchInst(IfTrue, InsertAtEnd);
[all …]

12