Searched refs:cast (Results 1 - 25 of 565) sorted by relevance

1234567891011>>

/freebsd-10.0-release/contrib/llvm/lib/IR/
H A DInstruction.cpp101 cast<FPMathOperator>(this)->setHasUnsafeAlgebra(B);
108 cast<FPMathOperator>(this)->setHasNoNaNs(B);
115 cast<FPMathOperator>(this)->setHasNoInfs(B);
123 cast<FPMathOperator>(this)->setHasNoSignedZeros(B);
131 cast<FPMathOperator>(this)->setHasAllowReciprocal(B);
139 cast<FPMathOperator>(this)->setFastMathFlags(FMF);
145 return cast<FPMathOperator>(this)->hasUnsafeAlgebra();
151 return cast<FPMathOperator>(this)->hasNoNaNs();
157 return cast<FPMathOperator>(this)->hasNoInfs();
163 return cast<FPMathOperato
[all...]
H A DIntrinsicInst.cpp20 // cast instruction needs to be stripped away.
68 return cast<MDNode>(getArgOperand(0))->getOperand(0);
72 return cast<MDNode>(getArgOperand(0))->getOperand(0);
/freebsd-10.0-release/contrib/llvm/include/llvm/IR/
H A DIntrinsicInst.h34 /// functions. This allows the standard isa/dyncast/cast functionality to
47 // Methods for support type inquiry through isa, cast, and dyn_cast:
54 return isa<CallInst>(V) && classof(cast<CallInst>(V));
63 // Methods for support type inquiry through isa, cast, and dyn_cast:
73 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
84 MDNode *getVariable() const { return cast<MDNode>(getArgOperand(1)); }
86 // Methods for support type inquiry through isa, cast, and dyn_cast:
91 return isa<IntrinsicInst>(V) && classof(cast<IntrinsicInst>(V));
102 return cast<ConstantInt>(
105 MDNode *getVariable() const { return cast<MDNod
[all...]
/freebsd-10.0-release/contrib/nvi/common/
H A Dmem.h153 * The cast should be unnecessary, malloc(3) and friends return void *'s,
159 #define CALLOC(sp, p, cast, nmemb, size) { \
160 if ((p = (cast)calloc(nmemb, size)) == NULL) \
163 #define CALLOC_GOTO(sp, p, cast, nmemb, size) { \
164 if ((p = (cast)calloc(nmemb, size)) == NULL) \
167 #define CALLOC_NOMSG(sp, p, cast, nmemb, size) { \
168 p = (cast)calloc(nmemb, size); \
170 #define CALLOC_RET(sp, p, cast, nmemb, size) { \
171 if ((p = (cast)calloc(nmemb, size)) == NULL) { \
177 #define MALLOC(sp, p, cast, siz
[all...]
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Frontend/
H A DASTConsumers.cpp82 return cast<NamedDecl>(D)->getQualifiedNameAsString();
193 const NamespaceDecl* ND = cast<NamespaceDecl>(DC);
198 const EnumDecl* ED = cast<EnumDecl>(DC);
207 const RecordDecl* RD = cast<RecordDecl>(DC);
216 const CXXRecordDecl* RD = cast<CXXRecordDecl>(DC);
249 const FunctionDecl* FD = cast<FunctionDecl>(DC);
270 const CXXMethodDecl* D = cast<CXXMethodDecl>(DC);
300 const CXXConstructorDecl* D = cast<CXXConstructorDecl>(DC);
329 const CXXDestructorDecl* D = cast<CXXDestructorDecl>(DC);
345 const CXXConversionDecl* D = cast<CXXConversionDec
[all...]
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/AST/
H A DExprClassification.cpp99 llvm_unreachable("Invalid value category of implicit cast.");
190 cast<SubstNonTypeTemplateParmExpr>(E)->getReplacement());
195 if (cast<ArraySubscriptExpr>(E)->getBase()->getType()->isVectorType())
196 return ClassifyInternal(Ctx, cast<ArraySubscriptExpr>(E)->getBase());
203 return isa<FunctionDecl>(cast<DeclRefExpr>(E)->getDecl())
205 return ClassifyDecl(Ctx, cast<DeclRefExpr>(E)->getDecl());
209 return ClassifyMemberExpr(Ctx, cast<MemberExpr>(E));
212 switch (cast<UnaryOperator>(E)->getOpcode()) {
221 return ClassifyInternal(Ctx, cast<UnaryOperator>(E)->getSubExpr());
227 const Expr *Op = cast<UnaryOperato
[all...]
H A DParentMap.cpp34 PseudoObjectExpr *POE = cast<PseudoObjectExpr>(S);
49 BinaryConditionalOperator *BCO = cast<BinaryConditionalOperator>(S);
67 OpaqueValueExpr *OVE = cast<OpaqueValueExpr>(S);
124 } while (S && isa<Expr>(S) && cast<Expr>(S)->IgnoreParenImpCasts() != S);
157 BinaryOperator *BE = cast<BinaryOperator>(P);
163 return DirectChild == cast<ForStmt>(P)->getCond();
165 return DirectChild == cast<WhileStmt>(P)->getCond();
167 return DirectChild == cast<DoStmt>(P)->getCond();
169 return DirectChild == cast<IfStmt>(P)->getCond();
171 return DirectChild == cast<IndirectGotoStm
[all...]
H A DComment.cpp157 const FunctionDecl *FD = cast<FunctionDecl>(CommentDecl);
171 const CXXMethodDecl *MD = cast<CXXMethodDecl>(CommentDecl);
178 const ObjCMethodDecl *MD = cast<ObjCMethodDecl>(CommentDecl);
189 const FunctionTemplateDecl *FTD = cast<FunctionTemplateDecl>(CommentDecl);
200 const ClassTemplateDecl *CTD = cast<ClassTemplateDecl>(CommentDecl);
208 cast<ClassTemplatePartialSpecializationDecl>(CommentDecl);
236 const TypedefDecl *TD = cast<TypedefDecl>(CommentDecl);
280 const TypeAliasTemplateDecl *TAT = cast<TypeAliasTemplateDecl>(CommentDecl);
H A DDeclFriend.cpp43 (cast<CXXRecordDecl>(DC)->getTemplateSpecializationKind()));
54 cast<CXXRecordDecl>(DC)->pushFriendDecl(FD);
/freebsd-10.0-release/contrib/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMCExpr.cpp54 const MCBinaryExpr *BE = cast<MCBinaryExpr>(Value);
61 Asm->getOrCreateSymbolData(cast<MCSymbolRefExpr>(Value)->getSymbol());
65 AddValueSymbols_(cast<MCUnaryExpr>(Value)->getSubExpr(), Asm);
/freebsd-10.0-release/crypto/openssl/crypto/cast/
H A DMakefile2 # OpenSSL/crypto/cast/Makefile
5 DIR= cast
30 EXHEADER= cast.h
45 cast-586.s: asm/cast-586.pl ../perlasm/x86asm.pl ../perlasm/cbc.pl
46 $(PERL) asm/cast-586.pl $(PERLASM_SCHEME) $(CLAGS) $(PROCESSOR) > $@
85 c_cfb64.o: ../../e_os.h ../../include/openssl/cast.h
88 c_ecb.o: ../../e_os.h ../../include/openssl/cast.h
91 c_enc.o: ../../e_os.h ../../include/openssl/cast.h
94 c_ofb64.o: ../../e_os.h ../../include/openssl/cast
[all...]
H A Dc_ecb.c1 /* crypto/cast/c_ecb.c */
59 #include <openssl/cast.h>
/freebsd-10.0-release/contrib/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MCExpr.cpp94 const MCBinaryExpr *BE = cast<MCBinaryExpr>(Expr);
103 const MCSymbolRefExpr &SymRef = *cast<MCSymbolRefExpr>(Expr);
110 fixELFSymbolsInTLSFixupsImpl(cast<MCUnaryExpr>(Expr)->getSubExpr(), Asm);
160 const MCBinaryExpr *BE = cast<MCBinaryExpr>(Value);
167 Asm->getOrCreateSymbolData(cast<MCSymbolRefExpr>(Value)->getSymbol());
171 AddValueSymbolsImpl(cast<MCUnaryExpr>(Value)->getSubExpr(), Asm);
/freebsd-10.0-release/contrib/llvm/lib/Target/NVPTX/
H A DNVVMReflect.cpp150 CallInst *Reflect = cast<CallInst>(*I);
158 const CallInst *ConvCall = cast<CallInst>(conv);
162 const ConstantExpr *GEP = cast<ConstantExpr>(str);
167 const Constant *SymStr = cast<Constant>(Sym);
172 assert(cast<ConstantDataSequential>(SymStr->getOperand(0))->isCString() &&
176 cast<ConstantDataSequential>(SymStr->getOperand(0))->getAsString();
/freebsd-10.0-release/contrib/llvm/utils/TableGen/
H A DDAGISelMatcherEmitter.cpp144 const ScopeMatcher *SM = cast<ScopeMatcher>(N);
209 << cast<RecordMatcher>(N)->getResultNo() << " = "
210 << cast<RecordMatcher>(N)->getWhatFor();
215 OS << "OPC_RecordChild" << cast<RecordChildMatcher>(N)->getChildNo()
219 << cast<RecordChildMatcher>(N)->getResultNo() << " = "
220 << cast<RecordChildMatcher>(N)->getWhatFor();
233 OS << "OPC_MoveChild, " << cast<MoveChildMatcher>(N)->getChildNo() << ",\n";
242 << cast<CheckSameMatcher>(N)->getMatchNumber() << ",\n";
246 StringRef Pred =cast<CheckPatternPredicateMatcher>(N)->getPredicate();
254 TreePredicateFn Pred = cast<CheckPredicateMatche
[all...]
/freebsd-10.0-release/contrib/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp193 return isEquivalentGEP(cast<GEPOperator>(GEP1), cast<GEPOperator>(GEP2));
244 PointerType *PTy1 = cast<PointerType>(Ty1);
245 PointerType *PTy2 = cast<PointerType>(Ty2);
250 StructType *STy1 = cast<StructType>(Ty1);
251 StructType *STy2 = cast<StructType>(Ty2);
266 FunctionType *FTy1 = cast<FunctionType>(Ty1);
267 FunctionType *FTy2 = cast<FunctionType>(Ty2);
283 ArrayType *ATy1 = cast<ArrayType>(Ty1);
284 ArrayType *ATy2 = cast<ArrayTyp
[all...]
/freebsd-10.0-release/contrib/llvm/lib/Transforms/Utils/
H A DValueMapper.cpp42 NewTy = cast<FunctionType>(TypeMapper->remapType(NewTy));
112 cast<Function>(MapValue(BA->getFunction(), VM, Flags, TypeMapper));
143 Ops.push_back(cast<Constant>(C->getOperand(j)));
147 Ops.push_back(cast<Constant>(Mapped));
151 Ops.push_back(MapValue(cast<Constant>(C->getOperand(OpNo)), VM,
158 return VM[V] = ConstantArray::get(cast<ArrayType>(NewTy), Ops);
160 return VM[V] = ConstantStruct::get(cast<StructType>(NewTy), Ops);
169 return VM[V] = ConstantPointerNull::get(cast<PointerType>(NewTy));
194 PN->setIncomingBlock(i, cast<BasicBlock>(V));
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/Driver/
H A DJob.cpp38 cast<JobList>(this)->addJob(C);
/freebsd-10.0-release/contrib/llvm/tools/llvm-diff/
H A DDiffConsumer.cpp56 printValue(cast<StoreInst>(V)->getPointerOperand(), isL);
59 printValue(cast<CallInst>(V)->getCalledValue(), isL);
62 printValue(cast<InvokeInst>(V)->getCalledValue(), isL);
80 ComputeNumbering(cast<Function>(ctxt.L), ctxt.LNumbering);
85 ComputeNumbering(cast<Function>(ctxt.R), ctxt.RNumbering);
103 Function *L = cast<Function>(I->L);
104 Function *R = cast<Function>(I->R);
111 BasicBlock *L = cast<BasicBlock>(I->L);
112 BasicBlock *R = cast<BasicBlock>(I->R);
H A DDifferenceEngine.cpp258 if (cast<CmpInst>(L)->getPredicate()
259 != cast<CmpInst>(R)->getPredicate()) {
279 InvokeInst *LI = cast<InvokeInst>(L);
280 InvokeInst *RI = cast<InvokeInst>(R);
291 BranchInst *LI = cast<BranchInst>(L);
292 BranchInst *RI = cast<BranchInst>(R);
309 SwitchInst *LI = cast<SwitchInst>(L);
310 SwitchInst *RI = cast<SwitchInst>(R);
376 return Engine.equivalentAsOperands(cast<GlobalValue>(L),
377 cast<GlobalValu
[all...]
/freebsd-10.0-release/crypto/openssl/crypto/evp/
H A De_cast.c66 #include <openssl/cast.h>
/freebsd-10.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DSymbolManager.cpp126 itr.push_back(cast<SymbolCast>(SE)->getOperand());
129 itr.push_back(cast<SymIntExpr>(SE)->getLHS());
132 itr.push_back(cast<IntSymExpr>(SE)->getRHS());
135 const SymSymExpr *x = cast<SymSymExpr>(SE);
164 return cast<SymbolRegionValue>(SD);
183 return cast<SymbolConjured>(SD);
201 return cast<SymbolDerived>(SD);
217 return cast<SymbolExtent>(SD);
235 return cast<SymbolMetadata>(SD);
251 return cast<SymbolCas
[all...]
/freebsd-10.0-release/contrib/llvm/include/llvm/Transforms/Utils/
H A DValueMapper.h69 return cast<MDNode>(MapValue((const Value*)V, VM, Flags, TypeMapper));
74 return cast<Constant>(MapValue((const Value*)V, VM, Flags, TypeMapper));
/freebsd-10.0-release/contrib/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsBaseInfo.h143 return std::make_pair(cast<MCSymbolRefExpr>(LHS), CE->getValue());
149 return std::make_pair(cast<MCSymbolRefExpr>(Expr), 0);
/freebsd-10.0-release/contrib/llvm/tools/clang/include/clang/AST/
H A DStmtCXX.h97 return cast<CompoundStmt>(getStmts()[0]);
100 return cast<CompoundStmt>(getStmts()[0]);
105 return cast<CXXCatchStmt>(getStmts()[i + 1]);
108 return cast<CXXCatchStmt>(getStmts()[i + 1]);
150 DeclStmt *getRangeStmt() { return cast<DeclStmt>(SubExprs[RANGE]); }
156 DeclStmt *getLoopVarStmt() { return cast<DeclStmt>(SubExprs[LOOPVAR]); }
160 return cast<DeclStmt>(SubExprs[RANGE]);
172 return cast<DeclStmt>(SubExprs[LOOPVAR]);

Completed in 160 milliseconds

1234567891011>>