Lines Matching full:transform
30 // + Transform (pattern transformation)
35 // + Transform (pattern transformation)
39 // + Transform (pattern transformation)
41 // Note that source and exactly one of [Target, Transform] must be provided
157 const std::string Transform; member in __anon8c4031380211::PatternRewriteDescriptor
161 Transform(std::string(T)) {} in PatternRewriteDescriptor()
182 std::string Name = Regex(Pattern).sub(Transform, C.getName(), &Error); in performOnModule()
329 std::string Transform; in parseRewriteFunctionDescriptor() local
361 } else if (KeyValue == "transform") { in parseRewriteFunctionDescriptor()
362 Transform = std::string(Value->getValue(ValueStorage)); in parseRewriteFunctionDescriptor()
374 if (Transform.empty() == Target.empty()) { in parseRewriteFunctionDescriptor()
376 "exactly one of transform or target must be specified"); in parseRewriteFunctionDescriptor()
387 std::make_unique<PatternRewriteFunctionDescriptor>(Source, Transform)); in parseRewriteFunctionDescriptor()
398 std::string Transform; in parseRewriteGlobalVariableDescriptor() local
430 } else if (KeyValue == "transform") { in parseRewriteGlobalVariableDescriptor()
431 Transform = std::string(Value->getValue(ValueStorage)); in parseRewriteGlobalVariableDescriptor()
438 if (Transform.empty() == Target.empty()) { in parseRewriteGlobalVariableDescriptor()
440 "exactly one of transform or target must be specified"); in parseRewriteGlobalVariableDescriptor()
450 Source, Transform)); in parseRewriteGlobalVariableDescriptor()
461 std::string Transform; in parseRewriteGlobalAliasDescriptor() local
493 } else if (KeyValue == "transform") { in parseRewriteGlobalAliasDescriptor()
494 Transform = std::string(Value->getValue(ValueStorage)); in parseRewriteGlobalAliasDescriptor()
501 if (Transform.empty() == Target.empty()) { in parseRewriteGlobalAliasDescriptor()
503 "exactly one of transform or target must be specified"); in parseRewriteGlobalAliasDescriptor()
513 Source, Transform)); in parseRewriteGlobalAliasDescriptor()