Searched refs:From (Results 1 - 25 of 146) sorted by relevance

123456

/freebsd-9.3-release/contrib/llvm/include/llvm/Support/
H A DCasting.h31 template<typename From> struct simplify_type {
32 typedef From SimpleType; // The real type this represents...
35 static SimpleType &getSimplifiedValue(From &Val) { return Val; }
38 template<typename From> struct simplify_type<const From> {
39 typedef typename simplify_type<From>::SimpleType NonConstSimpleType;
44 static RetType getSimplifiedValue(const From& Val) {
45 return simplify_type<From>::getSimplifiedValue(const_cast<From&>(Val));
49 // The core of the implementation of isa<X> is here; To and From shoul
[all...]
/freebsd-9.3-release/contrib/llvm/include/llvm/ADT/
H A DSmallString.h150 size_t find(char C, size_t From = 0) const {
151 return str().find(C, From);
158 size_t find(StringRef Str, size_t From = 0) const {
159 return str().find(Str, From);
166 size_t rfind(char C, size_t From = StringRef::npos) const {
167 return str().rfind(C, From);
180 size_t find_first_of(char C, size_t From = 0) const {
181 return str().find_first_of(C, From);
188 size_t find_first_of(StringRef Chars, size_t From = 0) const {
189 return str().find_first_of(Chars, From);
[all...]
H A DStringRef.h233 size_t find(char C, size_t From = 0) const {
234 for (size_t i = min(From, Length), e = Length; i != e; ++i)
244 size_t find(StringRef Str, size_t From = 0) const;
250 size_t rfind(char C, size_t From = npos) const {
251 From = min(From, Length);
252 size_t i = From;
269 size_t find_first_of(char C, size_t From = 0) const {
270 return find(C, From);
277 size_t find_first_of(StringRef Chars, size_t From
[all...]
H A DTinyPtrVector.h267 iterator insert(iterator I, ItTy From, ItTy To) { argument
270 if (From == To)
276 if (llvm::next(From) == To) {
277 Val = *From;
286 return Val.template get<VecTy*>()->insert(begin() + Offset, From, To);
/freebsd-9.3-release/contrib/llvm/include/llvm/Analysis/
H A DCFG.h52 /// \brief Determine whether instruction 'To' is reachable from 'From',
55 /// Determine whether there is a path from From to To within a single function.
56 /// Returns false only if we can prove that once 'From' has been executed then
60 /// walking down successors from From to reach To, with a fixed threshold.
67 bool isPotentiallyReachable(const Instruction *From, const Instruction *To,
71 /// \brief Determine whether block 'To' is reachable from 'From', returning
74 /// Determine whether there is a path from From to To within a single function.
75 /// Returns false only if we can prove that once 'From' has been reached then
77 bool isPotentiallyReachable(const BasicBlock *From, const BasicBlock *To,
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Tooling/
H A DRefactoringCallbacks.cpp24 const Stmt &From,
27 From.getSourceRange()), Text);
30 const Stmt &From,
32 return replaceStmtWithText(Sources, From, Lexer::getSourceText(
23 replaceStmtWithText(SourceManager &Sources, const Stmt &From, StringRef Text) argument
29 replaceStmtWithStmt(SourceManager &Sources, const Stmt &From, const Stmt &To) argument
/freebsd-9.3-release/contrib/llvm/lib/IR/
H A DUser.cpp23 // replaceUsesOfWith - Replaces all references to the "From" definition with
26 void User::replaceUsesOfWith(Value *From, Value *To) { argument
27 if (From == To) return; // Duh what?
33 if (getOperand(i) == From) { // Is This operand is pointing to oldval?
36 // most importantly, removing "this" from the use list of "From".
/freebsd-9.3-release/contrib/llvm/lib/Support/
H A DStringRef.cpp143 size_t StringRef::find(StringRef Str, size_t From) const {
150 for (size_t e = Length - N + 1, i = min(From, e); i != e; ++i)
156 if (From >= Length)
165 unsigned Len = Length-From, Pos = From;
200 size_t From) const {
205 for (size_type i = min(From, Length), e = Length; i != e; ++i)
213 StringRef::size_type StringRef::find_first_not_of(char C, size_t From) const {
214 for (size_type i = min(From, Length), e = Length; i != e; ++i)
225 size_t From) cons
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/
H A DConsumed.h140 const Stmt *From; member in class:clang::consumed::ConsumedStateMap
145 ConsumedStateMap() : Reachable(true), From(NULL) {}
147 : Reachable(Other.Reachable), From(Other.From), VarMap(Other.VarMap),
180 void setSource(const Stmt *Source) { this->From = Source; }
227 bool isBackEdge(const CFGBlock *From, const CFGBlock *To);
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/AST/
H A DASTImporter.h161 TemplateName Import(TemplateName From);
207 void ImportDefinition(Decl *From);
271 /// Subclasses can override this function to observe all of the \c From ->
273 virtual Decl *Imported(Decl *From, Decl *To);
285 bool IsStructurallyEquivalent(QualType From, QualType To,
H A DExternalASTSource.h514 void erase(iterator From, iterator To) { argument
515 if (From.Position < 0 && To.Position < 0) {
516 Loaded.erase(Loaded.end() + From.Position, Loaded.end() + To.Position);
520 if (From.Position < 0) {
521 Loaded.erase(Loaded.end() + From.Position, Loaded.end());
522 From = begin(0, true);
525 Local.erase(Local.begin() + From.Position, Local.begin() + To.Position);
H A DASTVector.h295 iterator insert(const ASTContext &C, iterator I, ItTy From, ItTy To) { argument
297 append(C, From, To);
301 size_t NumToInsert = std::distance(From, To);
322 std::copy(From, To, I);
337 *I = *From;
338 ++I; ++From;
342 this->uninitialized_copy(From, To, OldEnd);
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaFixItUtils.cpp23 bool ConversionFixItGenerator::compareTypesSimple(CanQualType From, argument
28 if (!To.isAtLeastAsQualifiedAs(From))
31 From = From.getNonReferenceType();
35 if (isa<PointerType>(From) && isa<PointerType>(To)) {
36 From = S.Context.getCanonicalType(
37 (cast<PointerType>(From))->getPointeeType());
42 const CanQualType FromUnq = From.getUnqualifiedType();
46 To.isAtLeastAsQualifiedAs(From))
H A DSemaExprCXX.cpp2481 Sema::IsStringLiteralToNonConstPointerConversion(Expr *From, QualType ToType) { argument
2483 if (ImplicitCastExpr *Cast = dyn_cast<ImplicitCastExpr>(From))
2484 From = Cast->getSubExpr();
2490 if (StringLiteral *StrLit = dyn_cast<StringLiteral>(From->IgnoreParens()))
2522 Expr *From) {
2533 if (S.CompleteConstructorCall(Constructor, From, CastLoc, ConstructorArgs))
2552 assert(!From->getType()->isPointerType() && "Arg can't have pointer type!");
2556 ExprResult Result = S.BuildCXXMemberCallExpr(From, FoundDecl, Conv,
2567 S.CheckMemberOperatorAccess(CastLoc, From, /*arg*/ 0, FoundDecl);
2575 /// expression From t
2515 BuildCXXCastArgument(Sema &S, SourceLocation CastLoc, QualType Ty, CastKind Kind, CXXMethodDecl *Method, DeclAccessPair FoundDecl, bool HadMultipleCandidates, Expr *From) argument
2580 PerformImplicitConversion(Expr *From, QualType ToType, const ImplicitConversionSequence &ICS, AssignmentAction Action, CheckedConversionKind CCK) argument
2670 PerformImplicitConversion(Expr *From, QualType ToType, const StandardConversionSequence& SCS, AssignmentAction Action, CheckedConversionKind CCK) argument
2880 CheckObjCARCConversion(SourceRange(), ToType, From, CCK); local
4207 TryClassUnification(Sema &Self, Expr *From, Expr *To, SourceLocation QuestionLoc, bool &HaveConversion, QualType &ToType) argument
[all...]
H A DSemaOverload.cpp70 static bool IsStandardConversion(Sema &S, Expr* From, QualType ToType,
76 static bool IsTransparentUnionStandardConversion(Sema &S, Expr* From,
82 IsUserDefinedConversion(Sema &S, Expr *From, QualType ToType,
1101 /// \brief Tries a user-defined conversion from From to ToType.
1106 TryUserDefinedConversion(Sema &S, Expr *From, QualType ToType, argument
1118 ICS.setBad(BadConversionSequence::no_conversion, From, ToType);
1123 OverloadCandidateSet Conversions(From->getExprLoc());
1125 = IsUserDefinedConversion(S, From, ToType, ICS.UserDefined, Conversions,
1140 = S.Context.getCanonicalType(From->getType().getUnqualifiedType());
1149 ICS.Standard.setFromType(From
1210 TryImplicitConversion(Sema &S, Expr *From, QualType ToType, bool SuppressUserConversions, bool AllowExplicit, bool InOverloadResolution, bool CStyle, bool AllowObjCWritebackConversion, bool AllowObjCConversionOnExplicit) argument
1265 TryImplicitConversion(Expr *From, QualType ToType, bool SuppressUserConversions, bool AllowExplicit, bool InOverloadResolution, bool CStyle, bool AllowObjCWritebackConversion) argument
1284 PerformImplicitConversion(Expr *From, QualType ToType, AssignmentAction Action, bool AllowExplicit) argument
1291 PerformImplicitConversion(Expr *From, QualType ToType, AssignmentAction Action, bool AllowExplicit, ImplicitConversionSequence& ICS) argument
1419 IsStandardConversion(Sema &S, Expr* From, QualType ToType, bool InOverloadResolution, StandardConversionSequence &SCS, bool CStyle, bool AllowObjCWritebackConversion) argument
1698 IsTransparentUnionStandardConversion(Sema &S, Expr* From, QualType &ToType, bool InOverloadResolution, StandardConversionSequence &SCS, bool CStyle) argument
1726 IsIntegralPromotion(Expr *From, QualType FromType, QualType ToType) argument
2000 IsPointerConversion(Expr *From, QualType FromType, QualType ToType, bool InOverloadResolution, QualType& ConvertedType, bool &IncompatibleObjC) argument
2620 CheckPointerConversion(Expr *From, QualType ToType, CastKind &Kind, CXXCastPath& BasePath, bool IgnoreBaseAccess) argument
2691 IsMemberPointerConversion(Expr *From, QualType FromType, QualType ToType, bool InOverloadResolution, QualType &ConvertedType) argument
2734 CheckMemberPointerConversion(Expr *From, QualType ToType, CastKind &Kind, CXXCastPath &BasePath, bool IgnoreBaseAccess) argument
2894 tryAtomicConversion(Sema &S, Expr *From, QualType ToType, bool InOverloadResolution, StandardConversionSequence &SCS, bool CStyle) argument
2931 IsInitializerListConstructorConversion(Sema &S, Expr *From, QualType ToType, CXXRecordDecl *To, UserDefinedConversionSequence &User, OverloadCandidateSet &CandidateSet, bool AllowExplicit) argument
3017 IsUserDefinedConversion(Sema &S, Expr *From, QualType ToType, UserDefinedConversionSequence &User, OverloadCandidateSet &CandidateSet, bool AllowExplicit, bool AllowObjCConversionOnExplicit) argument
3237 DiagnoseMultipleUserDefinedConversion(Expr *From, QualType ToType) argument
4433 TryListConversion(Sema &S, InitListExpr *From, QualType ToType, bool SuppressUserConversions, bool InOverloadResolution, bool AllowObjCWritebackConversion) argument
4636 TryCopyInitialization(Sema &S, Expr *From, QualType ToType, bool SuppressUserConversions, bool InOverloadResolution, bool AllowObjCWritebackConversion, bool AllowExplicit) argument
4789 PerformObjectArgumentInitialization(Expr *From, NestedNameSpecifier *Qualifier, NamedDecl *FoundDecl, CXXMethodDecl *Method) argument
4851 TryContextuallyConvertToBool(Sema &S, Expr *From) argument
4863 PerformContextuallyConvertToBool(Expr *From) argument
4934 CheckConvertedConstantExpression(Expr *From, QualType T, llvm::APSInt &Value, CCEKind CCE) argument
5059 TryContextuallyConvertToObjCPointer(Sema &S, Expr *From) argument
5093 PerformContextuallyConvertToObjCPointer(Expr *From) argument
5113 diagnoseAmbiguousConversion(Sema &SemaRef, SourceLocation Loc, Expr *From, Sema::ContextualImplicitConverter &Converter, QualType T, UnresolvedSetImpl &ViableConversions) argument
5131 diagnoseNoViableConversion(Sema &SemaRef, SourceLocation Loc, Expr *&From, Sema::ContextualImplicitConverter &Converter, QualType T, bool HadMultipleCandidates, UnresolvedSetImpl &ExplicitConversions) argument
5171 recordConversion(Sema &SemaRef, SourceLocation Loc, Expr *&From, Sema::ContextualImplicitConverter &Converter, QualType T, bool HadMultipleCandidates, DeclAccessPair &Found) argument
5199 finishContextualImplicitConversion( Sema &SemaRef, SourceLocation Loc, Expr *From, Sema::ContextualImplicitConverter &Converter) argument
5210 collectViableConversionCandidates(Sema &SemaRef, Expr *From, QualType ToType, UnresolvedSetImpl &ViableConversions, OverloadCandidateSet &CandidateSet) argument
5256 PerformContextualImplicitConversion( SourceLocation Loc, Expr *From, ContextualImplicitConverter &Converter) argument
5289 Expr *From; member in struct:clang::TypeDiagnoserPartialDiag
5291 TypeDiagnoserPartialDiag(ContextualImplicitConverter &Converter, Expr *From) argument
5905 AddConversionCandidate(CXXConversionDecl *Conversion, DeclAccessPair FoundDecl, CXXRecordDecl *ActingContext, Expr *From, QualType ToType, OverloadCandidateSet& CandidateSet, bool AllowObjCConversionOnExplicit) argument
6063 AddTemplateConversionCandidate(FunctionTemplateDecl *FunctionTemplate, DeclAccessPair FoundDecl, CXXRecordDecl *ActingDC, Expr *From, QualType ToType, OverloadCandidateSet &CandidateSet, bool AllowObjCConversionOnExplicit) argument
[all...]
H A DSemaLambda.cpp1148 ParmVarDecl *From = CallOperator->getParamDecl(I); local
1153 From->getLocStart(),
1154 From->getLocation(),
1155 From->getIdentifier(),
1156 From->getType(),
1157 From->getTypeSourceInfo(),
1158 From->getStorageClass(),
1160 CallOpConvTL.setArg(I, From);
1161 CallOpConvNameTL.setArg(I, From);
1306 LambdaScopeInfo::Capture From local
1497 ParmVarDecl *From = CallOperator->getParamDecl(I); local
[all...]
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DBasicValueFactory.h101 /// Convert - Create a new persistent APSInt with the same value as 'From'
104 const llvm::APSInt& From) {
106 if (TargetType == APSIntType(From))
107 return From;
109 return getValue(TargetType.convert(From));
112 const llvm::APSInt &Convert(QualType T, const llvm::APSInt &From) { argument
114 if (TargetType == APSIntType(From))
115 return From;
117 return getValue(TargetType.convert(From));
103 Convert(const llvm::APSInt& To, const llvm::APSInt& From) argument
/freebsd-9.3-release/contrib/llvm/lib/Analysis/
H A DNoAliasAnalysis.cpp67 virtual void copyValue(Value *From, Value *To) {} argument
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Lex/
H A DPreprocessorOptions.h193 void addRemappedFile(StringRef From, StringRef To) { argument
194 RemappedFiles.push_back(std::make_pair(From, To));
201 void addRemappedFile(StringRef From, const llvm::MemoryBuffer * To) { argument
202 RemappedFileBuffers.push_back(std::make_pair(From, To));
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Sema/
H A DSemaFixItUtils.h34 /// Performs a simple check to see if From type can be converted to To type.
35 static bool compareTypesSimple(CanQualType From,
/freebsd-9.3-release/crypto/openssl/crypto/des/times/
H A Daix.cc0 From: Paco Garcia <pgarcia@cam.es>
/freebsd-9.3-release/contrib/sendmail/vacation/
H A Dvacation.c90 char From[MAXLINE]; variable
189 *From = '\0';
256 (void) sm_strlcpy(From, optarg, sizeof From);
454 setreply(From, now);
517 case 'F': /* "From " */
519 if (strncmp(buf, "From ", 5) == 0)
533 "vacation: badly formatted \"From \" line.\n");
548 "vacation: badly formatted \"From \" line.\n");
554 if (*From
[all...]
/freebsd-9.3-release/contrib/llvm/utils/TableGen/
H A DSetTheory.cpp171 // (sequence "Format", From, To) Generate a sequence of records by name.
177 PrintFatalError(Loc, "Bad args to (sequence \"Format\", From, To): " +
193 int64_t From, To; local
195 From = II->getValue();
197 PrintFatalError(Loc, "From must be an integer: " + Expr->getAsString());
198 if (From < 0 || From >= (1 << 30))
199 PrintFatalError(Loc, "From out of range");
204 PrintFatalError(Loc, "From must be an integer: " + Expr->getAsString());
211 Step *= From <
[all...]
/freebsd-9.3-release/contrib/llvm/include/llvm/Transforms/Utils/
H A DBasicBlockUtils.h68 // ReplaceInstWithInst - Replace the instruction specified by From with the
71 void ReplaceInstWithInst(Instruction *From, Instruction *To);
136 BasicBlock *SplitEdge(BasicBlock *From, BasicBlock *To, Pass *P);
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/AST/
H A DASTImporter.cpp85 void ImportDeclarationNameLoc(const DeclarationNameInfo &From,
107 bool ImportDefinition(RecordDecl *From, RecordDecl *To,
109 bool ImportDefinition(VarDecl *From, VarDecl *To,
111 bool ImportDefinition(EnumDecl *From, EnumDecl *To,
113 bool ImportDefinition(ObjCInterfaceDecl *From, ObjCInterfaceDecl *To,
115 bool ImportDefinition(ObjCProtocolDecl *From, ObjCProtocolDecl *To,
119 TemplateArgument ImportTemplateArgument(const TemplateArgument &From);
129 bool IsStructuralMatch(ClassTemplateDecl *From, ClassTemplateDecl *To);
130 bool IsStructuralMatch(VarTemplateDecl *From, VarTemplateDecl *To);
1873 ASTNodeImporter::ImportDeclarationNameLoc(const DeclarationNameInfo &From, argument
1919 ImportDefinition(RecordDecl *From, RecordDecl *To, ImportDefinitionKind Kind) argument
2025 ImportDefinition(VarDecl *From, VarDecl *To, ImportDefinitionKind Kind) argument
2040 ImportDefinition(EnumDecl *From, EnumDecl *To, ImportDefinitionKind Kind) argument
2091 ImportTemplateArgument(const TemplateArgument &From) argument
2220 IsStructuralMatch(ClassTemplateDecl *From, ClassTemplateDecl *To) argument
2228 IsStructuralMatch(VarTemplateDecl *From, VarTemplateDecl *To) argument
3396 ImportDefinition(ObjCProtocolDecl *From, ObjCProtocolDecl *To, ImportDefinitionKind Kind) argument
3485 ImportDefinition(ObjCInterfaceDecl *From, ObjCInterfaceDecl *To, ImportDefinitionKind Kind) argument
4805 Import(TemplateName From) argument
4955 ImportDefinition(Decl *From) argument
5117 Imported(Decl *From, Decl *To) argument
5122 IsStructurallyEquivalent(QualType From, QualType To, bool Complain) argument
[all...]

Completed in 211 milliseconds

123456