/external/llvm-project/clang/unittests/Tooling/ |
D | TransformerTest.cpp | 28 using ::clang::transformer::changeTo; 177 changeTo(cat("REPLACED")), cat("Use size() method directly on string.")); in ruleStrlenSize() 201 changeTo(node(std::string(Flag)), cat("EXPR"))); in TEST_F() 220 {addInclude("clang/OtherLib.h"), changeTo(cat("other()"))}); in TEST_F() 239 changeTo(cat("other()"))}); in TEST_F() 256 changeTo(cat("other()"))); in TEST_F() 274 changeTo(cat("other()"))); in TEST_F() 293 changeTo(name(std::string(Fun)), cat("good"))); in TEST_F() 325 changeTo(name(std::string(Ref)), cat("good"))), in TEST_F() 343 changeTo(name(std::string(Ref)), cat("good"))), in TEST_F() [all …]
|
/external/llvm-project/clang/include/clang/Tooling/Transformer/ |
D | RewriteRule.h | 175 ASTEdit changeTo(RangeSelector Target, TextGenerator Replacement); 178 return changeTo(std::move(Target), std::move(Replacement)); in change() 187 inline ASTEdit changeTo(TextGenerator Replacement) { in changeTo() function 188 return changeTo(node(RootID), std::move(Replacement)); in changeTo() 192 return changeTo(std::move(Replacement)); in change() 198 return changeTo(before(std::move(S)), std::move(Replacement)); in insertBefore() 204 return changeTo(after(std::move(S)), std::move(Replacement)); in insertAfter()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | LegalizeMutations.cpp | 17 LegalizeMutation LegalizeMutations::changeTo(unsigned TypeIdx, LLT Ty) { in changeTo() function in LegalizeMutations 22 LegalizeMutation LegalizeMutations::changeTo(unsigned TypeIdx, in changeTo() function in LegalizeMutations
|
/external/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
D | LegalizeMutations.cpp | 17 LegalizeMutation LegalizeMutations::changeTo(unsigned TypeIdx, LLT Ty) { in changeTo() function in LegalizeMutations 22 LegalizeMutation LegalizeMutations::changeTo(unsigned TypeIdx, in changeTo() function in LegalizeMutations
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | LegalizerInfo.h | 267 LegalizeMutation changeTo(unsigned TypeIdx, LLT Ty); 270 LegalizeMutation changeTo(unsigned TypeIdx, unsigned FromTypeIdx); 563 LegalizeMutations::changeTo(0, 0)); in lowerFor() 575 LegalizeMutations::changeTo(0, 0)); in lowerFor() 767 changeTo(typeIdx(TypeIdx), Ty)); in minScalar() 785 changeTo(typeIdx(TypeIdx), Ty)); in maxScalar()
|
/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
D | LegalizerInfo.h | 308 LegalizeMutation changeTo(unsigned TypeIdx, LLT Ty); 311 LegalizeMutation changeTo(unsigned TypeIdx, unsigned FromTypeIdx); 863 changeTo(typeIdx(TypeIdx), Ty)); in minScalar() 881 changeTo(typeIdx(TypeIdx), Ty)); in maxScalar()
|
/external/llvm-project/clang-tools-extra/unittests/clang-tidy/ |
D | TransformerClangTidyCheckTest.cpp | 151 changeTo(cat("void nothing();")), cat("no message")); in noSkip()
|
/external/llvm-project/clang/lib/Tooling/Transformer/ |
D | RewriteRule.cpp | 112 ASTEdit transformer::changeTo(RangeSelector Target, TextGenerator Replacement) { in changeTo() function in transformer
|
/external/llvm-project/llvm/lib/Target/AMDGPU/ |
D | AMDGPULegalizerInfo.cpp | 752 .narrowScalarFor({{S64, S16}}, changeTo(0, S32)) in AMDGPULegalizerInfo() 817 .narrowScalarFor({{S64, S16}}, changeTo(0, S32)); in AMDGPULegalizerInfo() 1254 Actions.narrowScalarIf(isWideScalarTruncStore(0), changeTo(0, S32)); in AMDGPULegalizerInfo() 1343 }, changeTo(1, S16)); in AMDGPULegalizerInfo() 1454 .fewerElementsIf(isWideVec16(0), changeTo(0, V2S16)); in AMDGPULegalizerInfo() 1525 changeTo(1, V2S16)) in AMDGPULegalizerInfo() 1547 changeTo(LitTyIdx, S32)); in AMDGPULegalizerInfo() 1583 .fewerElementsIf(elementTypeIs(0, S16), changeTo(0, V2S16)); in AMDGPULegalizerInfo()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPULegalizerInfo.cpp | 819 Actions.narrowScalarIf(isWideScalarTruncStore(0), changeTo(0, S32)); in AMDGPULegalizerInfo() 1009 .fewerElementsIf(isWideVec16(0), changeTo(0, V2S16)); in AMDGPULegalizerInfo() 1061 changeTo(1, V2S16)) in AMDGPULegalizerInfo() 1079 changeTo(LitTyIdx, S32)); in AMDGPULegalizerInfo()
|
/external/llvm-project/llvm/unittests/CodeGen/GlobalISel/ |
D | LegalizerHelperTest.cpp | 1007 .widenScalarIf(typeIs(1, LLT::scalar(3)), changeTo(1, LLT::scalar(9))); in TEST_F()
|