Home
last modified time | relevance | path

Searched refs:Cond (Results 1 – 25 of 931) sorted by relevance

12345678910>>...38

/external/swiftshader/third_party/subzero/src/
DIceAssemblerARM32.h181 bool SetFlags, CondARM32::Cond Cond);
184 bool SetFlags, CondARM32::Cond Cond);
187 bool SetFlags, CondARM32::Cond Cond);
190 bool SetFlags, CondARM32::Cond Cond);
192 void b(Label *L, CondARM32::Cond Cond);
197 bool SetFlags, CondARM32::Cond Cond);
203 void bx(RegARM32::GPRRegister Rm, CondARM32::Cond Cond = CondARM32::AL);
205 void clz(const Operand *OpRd, const Operand *OpSrc, CondARM32::Cond Cond);
207 void cmn(const Operand *OpRn, const Operand *OpSrc1, CondARM32::Cond Cond);
209 void cmp(const Operand *OpRn, const Operand *OpSrc1, CondARM32::Cond Cond);
[all …]
DIceAssemblerARM32.cpp143 IValueT encodeCondition(CondARM32::Cond Cond) { in encodeCondition() argument
144 return static_cast<IValueT>(Cond); in encodeCondition()
797 void AssemblerARM32::emitType01(CondARM32::Cond Cond, IValueT InstType, in emitType01() argument
809 assert(CondARM32::isDefined(Cond)); in emitType01()
810 const IValueT Encoding = (encodeCondition(Cond) << kConditionShift) | in emitType01()
817 void AssemblerARM32::emitType01(CondARM32::Cond Cond, IValueT Opcode, in emitType01() argument
823 emitType01(Cond, Opcode, Rd, Rn, OpSrc1, SetFlags, RuleChecks, InstName); in emitType01()
826 void AssemblerARM32::emitType01(CondARM32::Cond Cond, IValueT Opcode, in emitType01() argument
845 emitType01(Cond, kInstTypeDataRegister, Opcode, SetFlags, Rn, Rd, Src1Value, in emitType01()
851 emitType01(Cond, kInstTypeDataRegister, Opcode, SetFlags, Rn, Rd, Src1Value, in emitType01()
[all …]
DIceTargetLoweringARM32.h225 explicit CondWhenTrue(CondARM32::Cond T0,
226 CondARM32::Cond T1 = CondARM32::kNone)
231 CondARM32::Cond WhenTrue0;
232 CondARM32::Cond WhenTrue1;
278 CondARM32::Cond Cond = CondARM32::AL);
316 CondARM32::Cond);
318 CondARM32::Cond);
328 CondARM32::Cond Pred = CondARM32::AL) {
332 CondARM32::Cond Pred = CondARM32::AL) {
340 CondARM32::Cond Pred = CondARM32::AL) {
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyInstrInfo.cpp105 SmallVectorImpl<MachineOperand> &Cond, in analyzeBranch() argument
123 Cond.push_back(MachineOperand::CreateImm(true)); in analyzeBranch()
124 Cond.push_back(MI.getOperand(1)); in analyzeBranch()
131 Cond.push_back(MachineOperand::CreateImm(false)); in analyzeBranch()
132 Cond.push_back(MI.getOperand(1)); in analyzeBranch()
145 Cond.push_back(MachineOperand::CreateImm(true)); in analyzeBranch()
146 Cond.push_back(MI.getOperand(2)); in analyzeBranch()
182 ArrayRef<MachineOperand> Cond, const DebugLoc &DL, int *BytesAdded) const { in insertBranch() argument
185 if (Cond.empty()) { in insertBranch()
193 assert(Cond.size() == 2 && "Expected a flag and a successor block"); in insertBranch()
[all …]
/external/llvm-project/llvm/lib/Target/WebAssembly/
DWebAssemblyInstrInfo.cpp109 SmallVectorImpl<MachineOperand> &Cond, in analyzeBranch() argument
127 Cond.push_back(MachineOperand::CreateImm(true)); in analyzeBranch()
128 Cond.push_back(MI.getOperand(1)); in analyzeBranch()
135 Cond.push_back(MachineOperand::CreateImm(false)); in analyzeBranch()
136 Cond.push_back(MI.getOperand(1)); in analyzeBranch()
149 Cond.push_back(MachineOperand::CreateImm(true)); in analyzeBranch()
150 Cond.push_back(MI.getOperand(2)); in analyzeBranch()
186 ArrayRef<MachineOperand> Cond, const DebugLoc &DL, int *BytesAdded) const { in insertBranch() argument
189 if (Cond.empty()) { in insertBranch()
197 assert(Cond.size() == 2 && "Expected a flag and a successor block"); in insertBranch()
[all …]
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DInfiniteLoopCheck.cpp47 const Stmt *LoopStmt, const Stmt *Cond, in isVarThatIsPossiblyChanged() argument
49 if (const auto *DRE = dyn_cast<DeclRefExpr>(Cond)) { in isVarThatIsPossiblyChanged()
64 } else if (isa<MemberExpr>(Cond) || isa<CallExpr>(Cond)) { in isVarThatIsPossiblyChanged()
74 const Stmt *LoopStmt, const Stmt *Cond, in isAtLeastOneCondVarChanged() argument
76 if (isVarThatIsPossiblyChanged(Func, LoopStmt, Cond, Context)) in isAtLeastOneCondVarChanged()
79 for (const Stmt *Child : Cond->children()) { in isAtLeastOneCondVarChanged()
90 static std::string getCondVarNames(const Stmt *Cond) { in getCondVarNames() argument
91 if (const auto *DRE = dyn_cast<DeclRefExpr>(Cond)) { in getCondVarNames()
97 for (const Stmt *Child : Cond->children()) { in getCondVarNames()
109 static bool isKnownFalse(const Expr &Cond, const ASTContext &Ctx) { in isKnownFalse() argument
[all …]
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DSimpleConstraintManager.cpp26 DefinedSVal Cond, in assume() argument
29 if (Optional<Loc> LV = Cond.getAs<Loc>()) { in assume()
38 Cond = SVB.evalCast(*LV, SVB.getContext().BoolTy, T).castAs<DefinedSVal>(); in assume()
41 return assume(State, Cond.castAs<NonLoc>(), Assumption); in assume()
45 NonLoc Cond, bool Assumption) { in assume() argument
46 State = assumeAux(State, Cond, Assumption); in assume()
48 return EE->processAssume(State, Cond, Assumption); in assume()
53 NonLoc Cond, in assumeAux() argument
58 if (!canReasonAbout(Cond)) { in assumeAux()
60 SymbolRef Sym = Cond.getAsSymbol(); in assumeAux()
[all …]
/external/llvm/lib/Target/WebAssembly/
DWebAssemblyInstrInfo.cpp98 SmallVectorImpl<MachineOperand> &Cond, in analyzeBranch() argument
112 Cond.push_back(MachineOperand::CreateImm(true)); in analyzeBranch()
113 Cond.push_back(MI.getOperand(1)); in analyzeBranch()
123 Cond.push_back(MachineOperand::CreateImm(false)); in analyzeBranch()
124 Cond.push_back(MI.getOperand(1)); in analyzeBranch()
167 ArrayRef<MachineOperand> Cond, in InsertBranch() argument
169 if (Cond.empty()) { in InsertBranch()
177 assert(Cond.size() == 2 && "Expected a flag and a successor block"); in InsertBranch()
179 if (Cond[0].getImm()) { in InsertBranch()
180 BuildMI(&MBB, DL, get(WebAssembly::BR_IF)).addMBB(TBB).addOperand(Cond[1]); in InsertBranch()
[all …]
/external/swiftshader/third_party/subzero/crosstest/
Dtest_select_main.cpp45 TyI1 Cond; in testSelect() local
48 setElement(Cond, j, Index() % 2); in testSelect()
52 Ty ResultLlc = select(Cond, Value1, Value2); in testSelect()
53 Ty ResultSz = Subzero_::select(Cond, Value1, Value2); in testSelect()
60 std::cout << vectAsString<TI1>(Cond) in testSelect()
81 v4si32 Cond; in testSelect() local
84 setElement(Cond, j, Index() % 2); in testSelect()
88 v4f32 ResultLlc = select(Cond, Value1, Value2); in testSelect()
89 v4f32 ResultSz = Subzero_::select(Cond, Value1, Value2); in testSelect()
96 std::cout << vectAsString<v4i1>(Cond) in testSelect()
[all …]
/external/llvm/lib/Target/Mips/
DMipsInstrInfo.cpp73 SmallVectorImpl<MachineOperand> &Cond) const { in AnalyzeCondBr()
80 Cond.push_back(MachineOperand::CreateImm(Opc)); in AnalyzeCondBr()
83 Cond.push_back(Inst->getOperand(i)); in AnalyzeCondBr()
89 SmallVectorImpl<MachineOperand> &Cond, in analyzeBranch() argument
92 BranchType BT = analyzeBranch(MBB, TBB, FBB, Cond, AllowModify, BranchInstrs); in analyzeBranch()
99 ArrayRef<MachineOperand> Cond) const { in BuildCondBr()
100 unsigned Opc = Cond[0].getImm(); in BuildCondBr()
104 for (unsigned i = 1; i < Cond.size(); ++i) { in BuildCondBr()
105 if (Cond[i].isReg()) in BuildCondBr()
106 MIB.addReg(Cond[i].getReg()); in BuildCondBr()
[all …]
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_emulate_loops.c200 if(rc_src_reg_is_immediate(c, loop->Cond->U.I.SrcReg[0].File, in try_unroll_loop()
201 loop->Cond->U.I.SrcReg[0].Index)){ in try_unroll_loop()
202 limit = &loop->Cond->U.I.SrcReg[0]; in try_unroll_loop()
203 counter = &loop->Cond->U.I.SrcReg[1]; in try_unroll_loop()
205 else if(rc_src_reg_is_immediate(c, loop->Cond->U.I.SrcReg[1].File, in try_unroll_loop()
206 loop->Cond->U.I.SrcReg[1].Index)){ in try_unroll_loop()
207 limit = &loop->Cond->U.I.SrcReg[1]; in try_unroll_loop()
208 counter = &loop->Cond->U.I.SrcReg[0]; in try_unroll_loop()
286 switch(loop->Cond->U.I.Opcode){ in try_unroll_loop()
310 rc_remove_instruction(loop->Cond); in try_unroll_loop()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DLibCallsShrinkWrap.cpp95 void shrinkWrapCI(CallInst *CI, Value *Cond);
138 Value *Cond = nullptr; in performCallDomainErrorOnly() local
149 Cond = createOrCond(CI, CmpInst::FCMP_OLT, -1.0f, CmpInst::FCMP_OGT, 1.0f); in performCallDomainErrorOnly()
160 Cond = createOrCond(CI, CmpInst::FCMP_OEQ, INFINITY, CmpInst::FCMP_OEQ, in performCallDomainErrorOnly()
169 Cond = createCond(CI, CmpInst::FCMP_OLT, 1.0f); in performCallDomainErrorOnly()
177 Cond = createCond(CI, CmpInst::FCMP_OLT, 0.0f); in performCallDomainErrorOnly()
183 shrinkWrapCI(CI, Cond); in performCallDomainErrorOnly()
190 Value *Cond = nullptr; in performCallRangeErrorOnly() local
208 Cond = generateTwoRangeCond(CI, Func); in performCallRangeErrorOnly()
215 Cond = generateOneRangeCond(CI, Func); in performCallRangeErrorOnly()
[all …]
/external/llvm-project/llvm/lib/Transforms/Utils/
DLibCallsShrinkWrap.cpp95 void shrinkWrapCI(CallInst *CI, Value *Cond);
138 Value *Cond = nullptr; in performCallDomainErrorOnly() local
149 Cond = createOrCond(CI, CmpInst::FCMP_OLT, -1.0f, CmpInst::FCMP_OGT, 1.0f); in performCallDomainErrorOnly()
160 Cond = createOrCond(CI, CmpInst::FCMP_OEQ, INFINITY, CmpInst::FCMP_OEQ, in performCallDomainErrorOnly()
169 Cond = createCond(CI, CmpInst::FCMP_OLT, 1.0f); in performCallDomainErrorOnly()
177 Cond = createCond(CI, CmpInst::FCMP_OLT, 0.0f); in performCallDomainErrorOnly()
183 shrinkWrapCI(CI, Cond); in performCallDomainErrorOnly()
190 Value *Cond = nullptr; in performCallRangeErrorOnly() local
208 Cond = generateTwoRangeCond(CI, Func); in performCallRangeErrorOnly()
215 Cond = generateOneRangeCond(CI, Func); in performCallRangeErrorOnly()
[all …]
/external/clang/test/SemaCXX/
Dvector.cpp43 void conditional(bool Cond, char16 c16, longlong16 ll16, char16_e c16e, in conditional() argument
46 __typeof__(Cond? c16 : c16) *c16p1 = &c16; in conditional()
47 __typeof__(Cond? ll16 : ll16) *ll16p1 = &ll16; in conditional()
48 __typeof__(Cond? c16e : c16e) *c16ep1 = &c16e; in conditional()
49 __typeof__(Cond? ll16e : ll16e) *ll16ep1 = &ll16e; in conditional()
52 __typeof__(Cond? c16 : c16e) *c16ep2 = &c16e; in conditional()
53 __typeof__(Cond? c16e : c16) *c16ep3 = &c16e; in conditional()
54 __typeof__(Cond? ll16 : ll16e) *ll16ep2 = &ll16e; in conditional()
55 __typeof__(Cond? ll16e : ll16) *ll16ep3 = &ll16e; in conditional()
58 (void)(Cond? c16 : ll16); in conditional()
[all …]
/external/llvm/lib/Target/XCore/
DXCoreInstrInfo.cpp193 SmallVectorImpl<MachineOperand> &Cond, in analyzeBranch() argument
221 Cond.push_back(MachineOperand::CreateImm(BranchCode)); in analyzeBranch()
222 Cond.push_back(LastInst->getOperand(0)); in analyzeBranch()
242 Cond.push_back(MachineOperand::CreateImm(BranchCode)); in analyzeBranch()
243 Cond.push_back(SecondLastInst->getOperand(0)); in analyzeBranch()
275 ArrayRef<MachineOperand> Cond, in InsertBranch() argument
279 assert((Cond.size() == 2 || Cond.size() == 0) && in InsertBranch()
283 if (Cond.empty()) { in InsertBranch()
288 unsigned Opc = GetCondBranchFromCond((XCore::CondCode)Cond[0].getImm()); in InsertBranch()
289 BuildMI(&MBB, DL, get(Opc)).addReg(Cond[1].getReg()) in InsertBranch()
[all …]
/external/llvm/lib/Target/MSP430/
DMSP430InstrInfo.cpp130 ReverseBranchCondition(SmallVectorImpl<MachineOperand> &Cond) const { in ReverseBranchCondition()
131 assert(Cond.size() == 1 && "Invalid Xbranch condition!"); in ReverseBranchCondition()
133 MSP430CC::CondCodes CC = static_cast<MSP430CC::CondCodes>(Cond[0].getImm()); in ReverseBranchCondition()
157 Cond[0].setImm(CC); in ReverseBranchCondition()
176 SmallVectorImpl<MachineOperand> &Cond, in analyzeBranch() argument
211 Cond.clear(); in analyzeBranch()
235 if (Cond.empty()) { in analyzeBranch()
238 Cond.push_back(MachineOperand::CreateImm(BranchCode)); in analyzeBranch()
244 assert(Cond.size() == 1); in analyzeBranch()
252 MSP430CC::CondCodes OldBranchCode = (MSP430CC::CondCodes)Cond[0].getImm(); in analyzeBranch()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/
DMSP430InstrInfo.cpp132 reverseBranchCondition(SmallVectorImpl<MachineOperand> &Cond) const { in reverseBranchCondition()
133 assert(Cond.size() == 1 && "Invalid Xbranch condition!"); in reverseBranchCondition()
135 MSP430CC::CondCodes CC = static_cast<MSP430CC::CondCodes>(Cond[0].getImm()); in reverseBranchCondition()
159 Cond[0].setImm(CC); in reverseBranchCondition()
178 SmallVectorImpl<MachineOperand> &Cond, in analyzeBranch() argument
213 Cond.clear(); in analyzeBranch()
237 if (Cond.empty()) { in analyzeBranch()
240 Cond.push_back(MachineOperand::CreateImm(BranchCode)); in analyzeBranch()
246 assert(Cond.size() == 1); in analyzeBranch()
254 MSP430CC::CondCodes OldBranchCode = (MSP430CC::CondCodes)Cond[0].getImm(); in analyzeBranch()
[all …]
/external/llvm-project/llvm/lib/Target/MSP430/
DMSP430InstrInfo.cpp132 reverseBranchCondition(SmallVectorImpl<MachineOperand> &Cond) const { in reverseBranchCondition()
133 assert(Cond.size() == 1 && "Invalid Xbranch condition!"); in reverseBranchCondition()
135 MSP430CC::CondCodes CC = static_cast<MSP430CC::CondCodes>(Cond[0].getImm()); in reverseBranchCondition()
159 Cond[0].setImm(CC); in reverseBranchCondition()
166 SmallVectorImpl<MachineOperand> &Cond, in analyzeBranch() argument
201 Cond.clear(); in analyzeBranch()
225 if (Cond.empty()) { in analyzeBranch()
228 Cond.push_back(MachineOperand::CreateImm(BranchCode)); in analyzeBranch()
234 assert(Cond.size() == 1); in analyzeBranch()
242 MSP430CC::CondCodes OldBranchCode = (MSP430CC::CondCodes)Cond[0].getImm(); in analyzeBranch()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/XCore/
DXCoreInstrInfo.cpp192 SmallVectorImpl<MachineOperand> &Cond, in analyzeBranch() argument
220 Cond.push_back(MachineOperand::CreateImm(BranchCode)); in analyzeBranch()
221 Cond.push_back(LastInst->getOperand(0)); in analyzeBranch()
241 Cond.push_back(MachineOperand::CreateImm(BranchCode)); in analyzeBranch()
242 Cond.push_back(SecondLastInst->getOperand(0)); in analyzeBranch()
274 ArrayRef<MachineOperand> Cond, in insertBranch() argument
279 assert((Cond.size() == 2 || Cond.size() == 0) && in insertBranch()
284 if (Cond.empty()) { in insertBranch()
289 unsigned Opc = GetCondBranchFromCond((XCore::CondCode)Cond[0].getImm()); in insertBranch()
290 BuildMI(&MBB, DL, get(Opc)).addReg(Cond[1].getReg()) in insertBranch()
[all …]
/external/llvm-project/llvm/lib/Target/XCore/
DXCoreInstrInfo.cpp192 SmallVectorImpl<MachineOperand> &Cond, in analyzeBranch() argument
220 Cond.push_back(MachineOperand::CreateImm(BranchCode)); in analyzeBranch()
221 Cond.push_back(LastInst->getOperand(0)); in analyzeBranch()
241 Cond.push_back(MachineOperand::CreateImm(BranchCode)); in analyzeBranch()
242 Cond.push_back(SecondLastInst->getOperand(0)); in analyzeBranch()
274 ArrayRef<MachineOperand> Cond, in insertBranch() argument
279 assert((Cond.size() == 2 || Cond.size() == 0) && in insertBranch()
284 if (Cond.empty()) { in insertBranch()
289 unsigned Opc = GetCondBranchFromCond((XCore::CondCode)Cond[0].getImm()); in insertBranch()
290 BuildMI(&MBB, DL, get(Opc)).addReg(Cond[1].getReg()) in insertBranch()
[all …]
/external/llvm-project/libc/utils/UnitTest/
DTest.cpp73 bool test(RunContext *Ctx, TestCondition Cond, ValType LHS, ValType RHS, in test() argument
80 switch (Cond) { in test()
179 template bool Test::test<char, 0>(TestCondition Cond, char LHS, char RHS,
183 template bool Test::test<short, 0>(TestCondition Cond, short LHS, short RHS,
187 template bool Test::test<int, 0>(TestCondition Cond, int LHS, int RHS,
191 template bool Test::test<long, 0>(TestCondition Cond, long LHS, long RHS,
195 template bool Test::test<long long, 0>(TestCondition Cond, long long LHS,
200 template bool Test::test<unsigned char, 0>(TestCondition Cond,
207 Test::test<unsigned short, 0>(TestCondition Cond, unsigned short LHS,
212 template bool Test::test<unsigned int, 0>(TestCondition Cond, unsigned int LHS,
[all …]
/external/llvm-project/llvm/lib/Target/ARC/
DARCInstrInfo.cpp173 SmallVectorImpl<MachineOperand> &Cond, in analyzeBranch() argument
202 if (!Cond.empty()) in analyzeBranch()
208 Cond.push_back(I->getOperand(1)); in analyzeBranch()
209 Cond.push_back(I->getOperand(2)); in analyzeBranch()
210 Cond.push_back(I->getOperand(3)); in analyzeBranch()
225 Cond.clear(); in analyzeBranch()
351 SmallVectorImpl<MachineOperand> &Cond) const { in reverseBranchCondition()
352 assert((Cond.size() == 3) && "Invalid ARC branch condition!"); in reverseBranchCondition()
353 Cond[2].setImm(GetOppositeBranchCondition((ARCCC::CondCode)Cond[2].getImm())); in reverseBranchCondition()
373 ArrayRef<MachineOperand> Cond, in insertBranch() argument
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARC/
DARCInstrInfo.cpp173 SmallVectorImpl<MachineOperand> &Cond, in analyzeBranch() argument
202 if (!Cond.empty()) in analyzeBranch()
208 Cond.push_back(I->getOperand(1)); in analyzeBranch()
209 Cond.push_back(I->getOperand(2)); in analyzeBranch()
210 Cond.push_back(I->getOperand(3)); in analyzeBranch()
225 Cond.clear(); in analyzeBranch()
351 SmallVectorImpl<MachineOperand> &Cond) const { in reverseBranchCondition()
352 assert((Cond.size() == 3) && "Invalid ARC branch condition!"); in reverseBranchCondition()
353 Cond[2].setImm(GetOppositeBranchCondition((ARCCC::CondCode)Cond[2].getImm())); in reverseBranchCondition()
373 ArrayRef<MachineOperand> Cond, in insertBranch() argument
[all …]
/external/llvm-project/clang/test/SemaCXX/
Dvector.cpp53 void conditional(bool Cond, char16 c16, longlong16 ll16, char16_e c16e, in conditional() argument
56 __typeof__(Cond? c16 : c16) *c16p1 = &c16; in conditional()
57 __typeof__(Cond? ll16 : ll16) *ll16p1 = &ll16; in conditional()
58 __typeof__(Cond? c16e : c16e) *c16ep1 = &c16e; in conditional()
59 __typeof__(Cond? ll16e : ll16e) *ll16ep1 = &ll16e; in conditional()
62 __typeof__(Cond? c16 : c16e) *c16ep2 = &c16e; in conditional()
63 __typeof__(Cond? c16e : c16) *c16ep3 = &c16e; in conditional()
64 __typeof__(Cond? ll16 : ll16e) *ll16ep2 = &ll16e; in conditional()
65 __typeof__(Cond? ll16e : ll16) *ll16ep3 = &ll16e; in conditional()
68 (void)(Cond? c16 : ll16); in conditional()
[all …]
/external/python/cpython2/Misc/
Dvalgrind-python.supp39 Memcheck:Cond
153 ### Memcheck:Cond
183 ### Memcheck:Cond
204 Memcheck:Cond
237 Memcheck:Cond
247 Memcheck:Cond
268 Memcheck:Cond
292 ### Memcheck:Cond
303 ### Memcheck:Cond
318 Memcheck:Cond
[all …]

12345678910>>...38