Lines Matching defs:Source
5 // This file is distributed under the University of Illinois Open Source
29 // + Source (original name of the function)
34 // + Source (original name of externally visible variable)
38 // + Source (original name of the aliased name)
42 // Note that source and exactly one of [Target, Transform] must be provided
81 const std::string &Source,
90 Comdats.erase(Comdats.find(Source));
99 const std::string Source;
103 : RewriteDescriptor(DT), Source(Naked ? StringRef("\01" + S.str()) : S),
117 if (ValueType *S = (M.*Get)(Source)) {
119 rewriteComdat(M, GO, Source, Target);
182 /// source function name and target function name of the transformation are
189 /// the source variable name and target variable name are spelt out. This
196 /// Represents a rewrite for an explicitly named global alias. Both the source
308 std::string Source;
332 if (KeyValue.equals("source")) {
335 Source = Value->getValue(ValueStorage);
336 if (!Regex(Source).isValid(Error)) {
364 DL->push_back(new ExplicitRewriteFunctionDescriptor(Source, Target, Naked));
366 DL->push_back(new PatternRewriteFunctionDescriptor(Source, Transform));
375 std::string Source;
399 if (KeyValue.equals("source")) {
402 Source = Value->getValue(ValueStorage);
403 if (!Regex(Source).isValid(Error)) {
424 DL->push_back(new ExplicitRewriteGlobalVariableDescriptor(Source, Target,
427 DL->push_back(new PatternRewriteGlobalVariableDescriptor(Source,
437 std::string Source;
461 if (KeyValue.equals("source")) {
464 Source = Value->getValue(ValueStorage);
465 if (!Regex(Source).isValid(Error)) {
486 DL->push_back(new ExplicitRewriteNamedAliasDescriptor(Source, Target,
489 DL->push_back(new PatternRewriteNamedAliasDescriptor(Source, Transform));