Home
last modified time | relevance | path

Searched refs:OldCC (Results 1 – 9 of 9) sorted by relevance

/external/llvm-project/clang-tools-extra/unittests/clang-move/
DClangMoveTests.cpp254 Spec.OldCC = "foo.cc"; in TEST()
260 EXPECT_EQ(ExpectedTestCC, Results[Spec.OldCC]); in TEST()
279 Spec.OldCC = "foo.cc"; in TEST()
284 EXPECT_EQ(ExpectedTestCC, Results[Spec.OldCC]); in TEST()
292 Spec.OldCC = "foo.cc"; in TEST()
303 Spec.OldCC = "foo.cc"; in TEST()
339 Spec.OldCC = "foo.cc"; in TEST()
346 EXPECT_EQ("", Results[Spec.OldCC]); in TEST()
359 Spec.OldCC = "foo.cc"; in TEST()
366 EXPECT_EQ("", Results[Spec.OldCC]); in TEST()
[all …]
/external/llvm-project/clang-tools-extra/clang-move/tool/
DClangMove.cpp52 OldCC("old_cc", cl::desc("The relative/absolute file path of old cc."), variable
116 Spec.OldCC = OldCC; in main()
/external/llvm-project/clang-tools-extra/clang-move/
DMove.h68 std::string OldCC; member
DMove.cpp502 auto InOldCC = isExpansionInFile(makeAbsolutePath(Context->Spec.OldCC)); in registerMatchers()
711 } else if (makeAbsolutePath(Context->Spec.OldCC) == AbsoluteCurrentFile) { in addIncludes()
928 moveAll(SM, Context->Spec.OldCC, Context->Spec.NewCC); in onEndOfTranslationUnit()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86InstrInfo.cpp3716 X86::CondCode OldCC = X86::COND_INVALID; in optimizeCompareInstr() local
3720 OldCC = X86::getCondFromBranch(Instr); in optimizeCompareInstr()
3722 OldCC = X86::getCondFromSETCC(Instr); in optimizeCompareInstr()
3723 if (OldCC == X86::COND_INVALID) in optimizeCompareInstr()
3724 OldCC = X86::getCondFromCMov(Instr); in optimizeCompareInstr()
3726 if (OldCC == X86::COND_INVALID) return false; in optimizeCompareInstr()
3730 switch (OldCC) { in optimizeCompareInstr()
3750 switch (OldCC) { in optimizeCompareInstr()
3764 ReplacementCC = getSwappedCondition(OldCC); in optimizeCompareInstr()
3768 if ((ShouldUpdateCC || IsSwapped) && ReplacementCC != OldCC) { in optimizeCompareInstr()
/external/llvm-project/llvm/lib/Target/X86/
DX86InstrInfo.cpp4265 X86::CondCode OldCC = X86::COND_INVALID; in optimizeCompareInstr() local
4269 OldCC = X86::getCondFromBranch(Instr); in optimizeCompareInstr()
4271 OldCC = X86::getCondFromSETCC(Instr); in optimizeCompareInstr()
4272 if (OldCC == X86::COND_INVALID) in optimizeCompareInstr()
4273 OldCC = X86::getCondFromCMov(Instr); in optimizeCompareInstr()
4275 if (OldCC == X86::COND_INVALID) return false; in optimizeCompareInstr()
4279 switch (OldCC) { in optimizeCompareInstr()
4299 switch (OldCC) { in optimizeCompareInstr()
4313 ReplacementCC = getSwappedCondition(OldCC); in optimizeCompareInstr()
4317 if ((ShouldUpdateCC || IsSwapped) && ReplacementCC != OldCC) { in optimizeCompareInstr()
/external/llvm/lib/Target/X86/
DX86InstrInfo.cpp5208 X86::CondCode OldCC = X86::COND_INVALID; in optimizeCompareInstr() local
5213 OldCC = getCondFromBranchOpc(Instr.getOpcode()); in optimizeCompareInstr()
5215 OldCC = getCondFromSETOpc(Instr.getOpcode()); in optimizeCompareInstr()
5216 if (OldCC != X86::COND_INVALID) in optimizeCompareInstr()
5219 OldCC = X86::getCondFromCMovOpc(Instr.getOpcode()); in optimizeCompareInstr()
5221 if (OldCC == X86::COND_INVALID) return false; in optimizeCompareInstr()
5224 switch (OldCC) { in optimizeCompareInstr()
5238 switch (OldCC) { in optimizeCompareInstr()
5251 NewCC = getSwappedCondition(OldCC); in optimizeCompareInstr()
5255 if ((ShouldUpdateCC || IsSwapped) && NewCC != OldCC) { in optimizeCompareInstr()
/external/clang/lib/Sema/
DSemaDeclCXX.cpp13147 CallingConv NewCC = NewFT->getCallConv(), OldCC = OldFT->getCallConv(); in CheckOverridingFunctionAttributes() local
13150 if (NewCC == OldCC) in CheckOverridingFunctionAttributes()
/external/llvm-project/clang/lib/Sema/
DSemaDeclCXX.cpp16912 CallingConv NewCC = NewFT->getCallConv(), OldCC = OldFT->getCallConv(); in CheckOverridingFunctionAttributes() local
16915 if (NewCC == OldCC) in CheckOverridingFunctionAttributes()