OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:dyn_cast
(Results
1 - 25
of
758
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/clang/test/SemaCXX/
missing-header.cpp
7
if (const GCCAsmStmt *AS =
dyn_cast
<GCCAsmStmt>(S)) {}
/external/clang/lib/Sema/
ScopeInfo.cpp
77
dyn_cast
<ObjCPropertyRefExpr>(POE->getSyntacticForm());
82
if (const OpaqueValueExpr *OVE =
dyn_cast
<OpaqueValueExpr>(DoubleBase))
141
if (const PseudoObjectExpr *POE =
dyn_cast
<PseudoObjectExpr>(E)) {
146
if (const ConditionalOperator *Cond =
dyn_cast
<ConditionalOperator>(E)) {
153
dyn_cast
<BinaryConditionalOperator>(E)) {
161
if (const ObjCPropertyRefExpr *RefExpr =
dyn_cast
<ObjCPropertyRefExpr>(E)) {
169
else if (const ObjCIvarRefExpr *IvarE =
dyn_cast
<ObjCIvarRefExpr>(E))
171
else if (const DeclRefExpr *DRE =
dyn_cast
<DeclRefExpr>(E))
173
else if (const ObjCMessageExpr *MsgE =
dyn_cast
<ObjCMessageExpr>(E)) {
204
if (DeclRefExpr *DRE =
dyn_cast
<DeclRefExpr>(E)
[
all
...]
/external/clang/test/CodeCompletion/
function-templates.cpp
6
X*
dyn_cast
(Y *Val);
18
// CHECK-CC1:
dyn_cast
<<#class X#>>(<#Y *Val#>)
/external/llvm/lib/Transforms/Utils/
GlobalStatus.cpp
39
if (const Constant *CU =
dyn_cast
<Constant>(U)) {
51
if (const ConstantExpr *CE =
dyn_cast
<ConstantExpr>(UR)) {
61
} else if (const Instruction *I =
dyn_cast
<Instruction>(UR)) {
69
if (const LoadInst *LI =
dyn_cast
<LoadInst>(I)) {
75
} else if (const StoreInst *SI =
dyn_cast
<StoreInst>(I)) {
91
dyn_cast
<GlobalVariable>(SI->getOperand(1))) {
94
if (Constant *C =
dyn_cast
<Constant>(StoredVal)) {
130
} else if (const PHINode *PN =
dyn_cast
<PHINode>(I)) {
138
} else if (const MemTransferInst *MTI =
dyn_cast
<MemTransferInst>(I)) {
145
} else if (const MemSetInst *MSI =
dyn_cast
<MemSetInst>(I))
[
all
...]
LowerExpectIntrinsic.cpp
62
CallInst *CI =
dyn_cast
<CallInst>(SI->getCondition());
71
ConstantInt *ExpectedValue =
dyn_cast
<ConstantInt>(CI->getArgOperand(1));
108
ICmpInst *CmpI =
dyn_cast
<ICmpInst>(BI->getCondition());
110
CI =
dyn_cast
<CallInst>(BI->getCondition());
114
CI =
dyn_cast
<CallInst>(CmpI->getOperand(0));
125
ConstantInt *ExpectedValue =
dyn_cast
<ConstantInt>(CI->getArgOperand(1));
154
if (BranchInst *BI =
dyn_cast
<BranchInst>(BB->getTerminator())) {
157
} else if (SwitchInst *SI =
dyn_cast
<SwitchInst>(BB->getTerminator())) {
165
CallInst *CI =
dyn_cast
<CallInst>(BI++);
/external/clang/lib/AST/
StmtIterator.cpp
22
while (const ArrayType *vt =
dyn_cast
<ArrayType>(t)) {
23
if (const VariableArrayType *vat =
dyn_cast
<VariableArrayType>(vt))
44
if (VarDecl* VD =
dyn_cast
<VarDecl>(*DGI))
71
if (VarDecl* VD =
dyn_cast
<VarDecl>(D)) {
80
else if (TypedefNameDecl* TD =
dyn_cast
<TypedefNameDecl>(D)) {
87
else if (EnumConstantDecl* ECD =
dyn_cast
<EnumConstantDecl>(D)) {
/external/clang/tools/libclang/
CIndexCXX.cpp
94
if (const CXXRecordDecl *CXXRecord =
dyn_cast
<CXXRecordDecl>(D)) {
96
=
dyn_cast
<ClassTemplatePartialSpecializationDecl>(CXXRecord))
99
=
dyn_cast
<ClassTemplateSpecializationDecl>(CXXRecord)) {
110
} else if (const FunctionDecl *Function =
dyn_cast
<FunctionDecl>(D)) {
114
} else if (const VarDecl *Var =
dyn_cast
<VarDecl>(D)) {
118
=
dyn_cast
<RedeclarableTemplateDecl>(D))
/external/clang/lib/StaticAnalyzer/Checkers/
DeadStoresChecker.cpp
56
if (const VarDecl *D =
dyn_cast
<VarDecl>(DR->getDecl()))
106
dyn_cast
<BinaryOperator>(Ex->IgnoreParenCasts());
231
if (const VarDecl *VD =
dyn_cast
<VarDecl>(DR->getDecl()))
240
const BinaryOperator* BRHS =
dyn_cast
<BinaryOperator>(RHS);
247
if ((DR =
dyn_cast
<DeclRefExpr>(BRHS->getLHS()->IgnoreParenCasts())))
251
if ((DR =
dyn_cast
<DeclRefExpr>(BRHS->getRHS()->IgnoreParenCasts())))
269
if (const BinaryOperator* B =
dyn_cast
<BinaryOperator>(S)) {
272
if (DeclRefExpr *DR =
dyn_cast
<DeclRefExpr>(B->getLHS()))
273
if (VarDecl *VD =
dyn_cast
<VarDecl>(DR->getDecl())) {
288
if (const DeclRefExpr *RhsDR =
dyn_cast
<DeclRefExpr>(RHS)
[
all
...]
CStringSyntaxChecker.cpp
40
if (const DeclRefExpr *D1 =
dyn_cast
<DeclRefExpr>(A1->IgnoreParenCasts()))
41
if (const DeclRefExpr *D2 =
dyn_cast
<DeclRefExpr>(A2->IgnoreParenCasts()))
49
dyn_cast
<UnaryExprOrTypeTraitExpr>(E))
57
if (const CallExpr *CE =
dyn_cast
<CallExpr>(E)) {
69
if (const IntegerLiteral *IL =
dyn_cast
<IntegerLiteral>(E))
75
if (const DeclRefExpr *D =
dyn_cast
<DeclRefExpr>(E->IgnoreParenCasts()))
112
dyn_cast
<BinaryOperator>(LenArg->IgnoreParenCasts())) {
/external/llvm/unittests/Support/
Casting.cpp
59
return
dyn_cast
<foo>(this);
141
TEST(CastingTest,
dyn_cast
) {
142
const foo *F1 =
dyn_cast
<foo>(B2);
144
const foo *F2 =
dyn_cast
<foo>(B2);
146
const foo *F3 =
dyn_cast
<foo>(B4);
148
// Can't pass null pointer to
dyn_cast
<>.
149
// foo *F4 =
dyn_cast
<foo>(fub());
205
Base *BP =
dyn_cast
<Base>(&D);
/external/llvm/include/llvm/IR/
IRBuilder.h
108
if (PHINode *Phi =
dyn_cast
<PHINode>(UseInst)) {
634
if (Constant *LC =
dyn_cast
<Constant>(LHS))
635
if (Constant *RC =
dyn_cast
<Constant>(RHS))
648
if (Constant *LC =
dyn_cast
<Constant>(LHS))
649
if (Constant *RC =
dyn_cast
<Constant>(RHS))
656
if (Constant *LC =
dyn_cast
<Constant>(LHS))
657
if (Constant *RC =
dyn_cast
<Constant>(RHS))
670
if (Constant *LC =
dyn_cast
<Constant>(LHS))
671
if (Constant *RC =
dyn_cast
<Constant>(RHS))
678
if (Constant *LC =
dyn_cast
<Constant>(LHS)
[
all
...]
/external/lldb/source/Symbol/
ClangASTImporter.cpp
94
if (NamedDecl *named_decl =
dyn_cast
<NamedDecl>(decl))
191
if (ObjCInterfaceDecl *interface_decl =
dyn_cast
<ObjCInterfaceDecl>(decl))
199
else if (ObjCProtocolDecl *protocol_decl =
dyn_cast
<ObjCProtocolDecl>(decl))
204
else if (TagDecl *tag_decl =
dyn_cast
<TagDecl>(decl))
391
const NamespaceDecl *parent_namespace =
dyn_cast
<NamespaceDecl>(parent_context);
488
if (TagDecl *tag_decl =
dyn_cast
<TagDecl>(decl))
490
if (TagDecl *original_tag_decl =
dyn_cast
<TagDecl>(original_decl))
497
else if (ObjCInterfaceDecl *interface_decl =
dyn_cast
<ObjCInterfaceDecl>(decl))
515
ObjCInterfaceDecl *to_objc_interface =
dyn_cast
<ObjCInterfaceDecl>(to);
521
CXXRecordDecl *to_cxx_record =
dyn_cast
<CXXRecordDecl>(to)
[
all
...]
/external/llvm/lib/Target/X86/
X86TargetObjectFile.cpp
63
const SubOperator *Sub =
dyn_cast
<SubOperator>(CE);
70
dyn_cast
<PtrToIntOperator>(Sub->getOperand(0));
72
dyn_cast
<PtrToIntOperator>(Sub->getOperand(1));
86
dyn_cast
<GlobalVariable>(SubLHS->getPointerOperand());
88
dyn_cast
<GlobalVariable>(SubRHS->getPointerOperand());
/external/llvm/lib/Target/NVPTX/
NVPTXLowerAggrCopies.cpp
48
unsigned srcAS =
dyn_cast
<PointerType>(srcAddr->getType())->getAddressSpace();
49
unsigned dstAS =
dyn_cast
<PointerType>(dstAddr->getType())->getAddressSpace();
84
unsigned dstAS =
dyn_cast
<PointerType>(dstAddr->getType())->getAddressSpace();
118
if (LoadInst *load =
dyn_cast
<LoadInst>(II)) {
127
if (StoreInst *store =
dyn_cast
<StoreInst>(use)) {
132
} else if (MemTransferInst *intr =
dyn_cast
<MemTransferInst>(II)) {
136
if (ConstantInt *len_int =
dyn_cast
<ConstantInt>(len)) {
144
} else if (MemSetInst *memsetintr =
dyn_cast
<MemSetInst>(II)) {
146
if (ConstantInt *len_int =
dyn_cast
<ConstantInt>(len)) {
166
StoreInst *store =
dyn_cast
<StoreInst>(*load->user_begin())
[
all
...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
AMDILPeepholeOptimizer.cpp
190
const StructType *ST =
dyn_cast
<StructType>(Ty);
202
return containsPointerType(
dyn_cast
<SequentialType>(Ty)->getElementType());
216
const PointerType *PT =
dyn_cast
<PointerType>(arg->getType());
221
if (!
dyn_cast
<StructType>(DereferencedType)
243
Constant *CV =
dyn_cast
<Constant>(CI->getOperand(0));
301
CallInst *CI =
dyn_cast
<CallInst>(inst);
337
Constant *CV =
dyn_cast
<Constant>(CI->getOperand(0));
349
ConstantInt *CV =
dyn_cast
<ConstantInt>(CI->getOperand(0));
363
Function *F =
dyn_cast
<Function>(CI->getOperand(CI->getNumOperands()-1));
370
F =
dyn_cast
<Function>
[
all
...]
R600KernelParameters.cpp
159
getElementPtrInst* GEP =
dyn_cast
<getElementPtrInst>(Val);
170
Value* V2 =
dyn_cast
<Value>(*I);
186
P.Val =
dyn_cast
<Value>(Arg);
201
if (Arg->hasByValAttr() &&
dyn_cast
<PointerType>(T)) {
202
T =
dyn_cast
<PointerType>(T)->getElementType();
246
LoadInst* Load =
dyn_cast
<LoadInst>(V);
247
GetElementPtrInst *GEP =
dyn_cast
<GetElementPtrInst>(V);
260
if (
dyn_cast
<PointerType>(Op->getType())->getAddressSpace() != Addrspace) {
261
Op = new BitCastInst(Op, PointerType::get(
dyn_cast
<PointerType>(
263
Name,
dyn_cast
<Instruction>(V))
[
all
...]
AMDILISelDAGToDAG.cpp
104
if (FrameIndexSDNode *FIN =
dyn_cast
<FrameIndexSDNode>(Addr)) {
137
if (FrameIndexSDNode *FIN =
dyn_cast
<FrameIndexSDNode>(Addr)) {
163
if (FrameIndexSDNode *FIN =
dyn_cast
<FrameIndexSDNode>(N)) {
181
return
dyn_cast
<PointerType>(ptrType)->getAddressSpace() == addrspace;
197
if (
dyn_cast
<Argument>(V) &&
dyn_cast
<PointerType>(V->getType())) {
200
} else if (
dyn_cast
<GlobalVariable>(V)) {
203
} else if (
dyn_cast
<Constant>(V)) {
204
const ConstantExpr *CE =
dyn_cast
<ConstantExpr>(V);
208
} else if (const AllocaInst *AI =
dyn_cast
<AllocaInst>(V))
[
all
...]
/external/llvm/include/llvm/ADT/
TinyPtrVector.h
35
if (VecTy *V = Val.template
dyn_cast
<VecTy*>())
40
if (VecTy *V = Val.template
dyn_cast
<VecTy*>())
85
if (VecTy *V = Val.template
dyn_cast
<VecTy*>()) {
112
if (VecTy *Vec = Val.template
dyn_cast
<VecTy*>())
152
if (EltTy V = Val.template
dyn_cast
<EltTy>()) {
164
if (EltTy V = Val.template
dyn_cast
<EltTy>())
171
if (EltTy V = Val.template
dyn_cast
<EltTy>())
186
if (EltTy V = Val.template
dyn_cast
<EltTy>()) {
207
} else if (VecTy *Vec = Val.template
dyn_cast
<VecTy*>()) {
222
} else if (VecTy *Vec = Val.template
dyn_cast
<VecTy*>())
[
all
...]
/external/mesa3d/src/gallium/drivers/radeon/
AMDILPeepholeOptimizer.cpp
190
const StructType *ST =
dyn_cast
<StructType>(Ty);
202
return containsPointerType(
dyn_cast
<SequentialType>(Ty)->getElementType());
216
const PointerType *PT =
dyn_cast
<PointerType>(arg->getType());
221
if (!
dyn_cast
<StructType>(DereferencedType)
243
Constant *CV =
dyn_cast
<Constant>(CI->getOperand(0));
301
CallInst *CI =
dyn_cast
<CallInst>(inst);
337
Constant *CV =
dyn_cast
<Constant>(CI->getOperand(0));
349
ConstantInt *CV =
dyn_cast
<ConstantInt>(CI->getOperand(0));
363
Function *F =
dyn_cast
<Function>(CI->getOperand(CI->getNumOperands()-1));
370
F =
dyn_cast
<Function>
[
all
...]
R600KernelParameters.cpp
159
getElementPtrInst* GEP =
dyn_cast
<getElementPtrInst>(Val);
170
Value* V2 =
dyn_cast
<Value>(*I);
186
P.Val =
dyn_cast
<Value>(Arg);
201
if (Arg->hasByValAttr() &&
dyn_cast
<PointerType>(T)) {
202
T =
dyn_cast
<PointerType>(T)->getElementType();
246
LoadInst* Load =
dyn_cast
<LoadInst>(V);
247
GetElementPtrInst *GEP =
dyn_cast
<GetElementPtrInst>(V);
260
if (
dyn_cast
<PointerType>(Op->getType())->getAddressSpace() != Addrspace) {
261
Op = new BitCastInst(Op, PointerType::get(
dyn_cast
<PointerType>(
263
Name,
dyn_cast
<Instruction>(V))
[
all
...]
/external/clang/lib/ARCMigrate/
TransZeroOutPropsInDealloc.cpp
53
DeclRefExpr *refE =
dyn_cast
<DeclRefExpr>(receiver->IgnoreParenCasts());
107
ObjCImplDecl *IMD =
dyn_cast
<ObjCImplDecl>(D->getDeclContext());
154
if (BinaryOperator *BO =
dyn_cast
<BinaryOperator>(E))
156
if (PseudoObjectExpr *PO =
dyn_cast
<PseudoObjectExpr>(E))
170
if (ObjCIvarRefExpr *IV =
dyn_cast
<ObjCIvarRefExpr>(LHS)) {
194
BinaryOperator *BO =
dyn_cast
<BinaryOperator>(PO->getSyntacticForm());
199
dyn_cast
<ObjCPropertyRefExpr>(BO->getLHS()->IgnoreParens());
/external/llvm/lib/Transforms/InstCombine/
InstCombineSelect.cpp
28
SelectInst *SI =
dyn_cast
<SelectInst>(V);
31
ICmpInst *ICI =
dyn_cast
<ICmpInst>(SI->getCondition());
73
if (ConstantInt *C1 =
dyn_cast
<ConstantInt>(CmpRHS)) {
211
if (BinaryOperator *BO =
dyn_cast
<BinaryOperator>(TI)) {
221
ConstantInt *C1I =
dyn_cast
<ConstantInt>(C1);
224
ConstantInt *C2I =
dyn_cast
<ConstantInt>(C2);
239
if (Instruction *TVI =
dyn_cast
<Instruction>(TrueVal)) {
274
if (Instruction *FVI =
dyn_cast
<Instruction>(FalseVal)) {
321
Instruction *I =
dyn_cast
<Instruction>(V);
326
if (BinaryOperator *B =
dyn_cast
<BinaryOperator>(I))
[
all
...]
InstCombineMulDivRem.cpp
49
if (BinaryOperator *I =
dyn_cast
<BinaryOperator>(V))
151
else if (ConstantDataVector *CV =
dyn_cast
<ConstantDataVector>(C1))
165
if (ConstantInt *CI =
dyn_cast
<ConstantInt>(Op1)) {
193
if (SelectInst *SI =
dyn_cast
<SelectInst>(Op0))
223
BinaryOperator *BO =
dyn_cast
<BinaryOperator>(Op0);
228
BO =
dyn_cast
<BinaryOperator>(Op1);
238
if (PossiblyExactOperator *SDiv =
dyn_cast
<PossiblyExactOperator>(BO))
308
IntrinsicInst *II =
dyn_cast
<IntrinsicInst>(Op);
319
Instruction *I =
dyn_cast
<Instruction>(OpLog2Of);
335
ConstantFP *CFP =
dyn_cast
<ConstantFP>(C->getAggregateElement(I))
[
all
...]
/external/clang/include/clang/AST/
ASTLambda.h
54
if (CXXConversionDecl *Conv =
dyn_cast
<CXXConversionDecl>(D))
56
if (FunctionTemplateDecl *F =
dyn_cast
<FunctionTemplateDecl>(D))
65
dyn_cast
<CXXMethodDecl>(DC));
/external/lldb/source/Expression/
ASTResultSynthesizer.cpp
44
m_passthrough_sema =
dyn_cast
<SemaConsumer>(passthrough);
65
if (NamedDecl *named_decl =
dyn_cast
<NamedDecl>(D))
71
else if (ObjCMethodDecl *method_decl =
dyn_cast
<ObjCMethodDecl>(D))
79
if (LinkageSpecDecl *linkage_spec_decl =
dyn_cast
<LinkageSpecDecl>(D))
90
else if (ObjCMethodDecl *method_decl =
dyn_cast
<ObjCMethodDecl>(D))
99
else if (FunctionDecl *function_decl =
dyn_cast
<FunctionDecl>(D))
155
CompoundStmt *compound_stmt =
dyn_cast
<CompoundStmt>(function_body);
203
CompoundStmt *compound_stmt =
dyn_cast
<CompoundStmt>(method_body);
240
while (
dyn_cast
<NullStmt>(last_stmt))
253
Expr *last_expr =
dyn_cast
<Expr>(last_stmt)
[
all
...]
Completed in 734 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>