OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:dyn_cast
(Results
26 - 50
of
502
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/llvm/lib/Transforms/InstCombine/
InstCombineSelect.cpp
25
SelectInst *SI =
dyn_cast
<SelectInst>(V);
28
ICmpInst *ICI =
dyn_cast
<ICmpInst>(SI->getCondition());
179
if (BinaryOperator *BO =
dyn_cast
<BinaryOperator>(TI)) {
190
ConstantInt *C1I =
dyn_cast
<ConstantInt>(C1);
193
ConstantInt *C2I =
dyn_cast
<ConstantInt>(C2);
208
if (Instruction *TVI =
dyn_cast
<Instruction>(TrueVal)) {
243
if (Instruction *FVI =
dyn_cast
<Instruction>(FalseVal)) {
289
Instruction *I =
dyn_cast
<Instruction>(V);
294
if (BinaryOperator *B =
dyn_cast
<BinaryOperator>(I)) {
302
if (CmpInst *C =
dyn_cast
<CmpInst>(I))
[
all
...]
InstCombineVectorOps.cpp
23
if (ConstantVector *C =
dyn_cast
<ConstantVector>(V)) {
32
Instruction *I =
dyn_cast
<Instruction>(V);
42
if (BinaryOperator *BO =
dyn_cast
<BinaryOperator>(I))
47
if (CmpInst *CI =
dyn_cast
<CmpInst>(I))
89
if (ConstantVector *CP =
dyn_cast
<ConstantVector>(V))
92
if (InsertElementInst *III =
dyn_cast
<InsertElementInst>(V)) {
108
if (ShuffleVectorInst *SVI =
dyn_cast
<ShuffleVectorInst>(V)) {
132
if (ConstantVector *C =
dyn_cast
<ConstantVector>(EI.getOperand(0))) {
148
if (ConstantInt *IdxC =
dyn_cast
<ConstantInt>(EI.getOperand(1))) {
177
if (BitCastInst *BCI =
dyn_cast
<BitCastInst>(EI.getOperand(0)))
[
all
...]
InstCombineLoadStoreAlloca.cpp
40
if (const ConstantInt *C =
dyn_cast
<ConstantInt>(AI.getArraySize())) {
97
if (PointerType *SrcTy =
dyn_cast
<PointerType>(CastOp->getType())) {
110
if (ArrayType *ASrcTy =
dyn_cast
<ArrayType>(SrcPTy))
111
if (Constant *CSrc =
dyn_cast
<Constant>(CastOp))
177
if (GetElementPtrInst *GEPI =
dyn_cast
<GetElementPtrInst>(Op)) {
204
if (ConstantExpr *CE =
dyn_cast
<ConstantExpr>(Op))
220
if (SelectInst *SI =
dyn_cast
<SelectInst>(Op)) {
235
if (Constant *C =
dyn_cast
<Constant>(SI->getOperand(1)))
242
if (Constant *C =
dyn_cast
<Constant>(SI->getOperand(2)))
260
PointerType *SrcTy =
dyn_cast
<PointerType>(CastOp->getType())
[
all
...]
InstCombineAddSub.cpp
41
Instruction *I =
dyn_cast
<Instruction>(V);
45
if ((CST =
dyn_cast
<ConstantInt>(I->getOperand(1))))
48
if ((CST =
dyn_cast
<ConstantInt>(I->getOperand(1)))) {
98
if (ConstantInt *CI =
dyn_cast
<ConstantInt>(RHS)) {
110
if (ZExtInst *ZI =
dyn_cast
<ZExtInst>(LHS))
191
if (IntegerType *IT =
dyn_cast
<IntegerType>(I.getType())) {
230
if (ConstantInt *CRHS =
dyn_cast
<ConstantInt>(RHS)) {
257
if (SelectInst *SI =
dyn_cast
<SelectInst>(LHS))
264
SelectInst *SI =
dyn_cast
<SelectInst>(LHS);
267
SI =
dyn_cast
<SelectInst>(RHS)
[
all
...]
InstCombineCalls.cpp
26
if (IntegerType* ITy =
dyn_cast
<IntegerType>(Ty)) {
48
ConstantInt *MemOpLength =
dyn_cast
<ConstantInt>(MI->getArgOperand(2));
85
if (StructType *STy =
dyn_cast
<StructType>(SrcETy)) {
90
} else if (ArrayType *ATy =
dyn_cast
<ArrayType>(SrcETy)) {
133
ConstantInt *LenC =
dyn_cast
<ConstantInt>(MI->getLength());
134
ConstantInt *FillC =
dyn_cast
<ConstantInt>(MI->getValue());
187
IntrinsicInst *II =
dyn_cast
<IntrinsicInst>(&CI);
192
if (MemIntrinsic *MI =
dyn_cast
<MemIntrinsic>(II)) {
196
if (Constant *NumBytes =
dyn_cast
<Constant>(MI->getLength())) {
200
if (ConstantInt *CI =
dyn_cast
<ConstantInt>(NumBytes)
[
all
...]
InstructionCombining.cpp
144
BinaryOperator *Op0 =
dyn_cast
<BinaryOperator>(I.getOperand(0));
145
BinaryOperator *Op1 =
dyn_cast
<BinaryOperator>(I.getOperand(1));
319
BinaryOperator *Op0 =
dyn_cast
<BinaryOperator>(LHS);
320
BinaryOperator *Op1 =
dyn_cast
<BinaryOperator>(RHS);
441
if (ConstantInt *C =
dyn_cast
<ConstantInt>(V))
444
if (ConstantVector *C =
dyn_cast
<ConstantVector>(V))
460
if (ConstantFP *C =
dyn_cast
<ConstantFP>(V))
463
if (ConstantVector *C =
dyn_cast
<ConstantVector>(V))
472
if (CastInst *CI =
dyn_cast
<CastInst>(&I)) {
480
if (Constant *SOC =
dyn_cast
<Constant>(SO))
[
all
...]
/external/clang/lib/AST/
Type.cpp
159
if (const ArrayType *ATy =
dyn_cast
<ArrayType>(this))
293
if (const BuiltinType *BT =
dyn_cast
<BuiltinType>(CanonicalType))
342
if (const ComplexType *CT =
dyn_cast
<ComplexType>(CanonicalType))
373
if (const RecordType *RT =
dyn_cast
<RecordType>(this)) {
379
if (const RecordType *RT =
dyn_cast
<RecordType>(CanonicalType)) {
392
if (const RecordType *RT =
dyn_cast
<RecordType>(this)) {
398
if (const RecordType *RT =
dyn_cast
<RecordType>(CanonicalType)) {
469
return
dyn_cast
<CXXRecordDecl>(RT->getDecl());
475
return
dyn_cast
<CXXRecordDecl>(RT->getDecl());
539
if (const BuiltinType *BT =
dyn_cast
<BuiltinType>(CanonicalType)
[
all
...]
Expr.cpp
46
if (const UnaryOperator *UO =
dyn_cast
<UnaryOperator>(E)) {
57
if (const ImplicitCastExpr *CE =
dyn_cast
<ImplicitCastExpr>(E))
60
if (const BinaryOperator *BO =
dyn_cast
<BinaryOperator>(E)) {
86
if (const ConditionalOperator *CO =
dyn_cast
<ConditionalOperator>(E))
238
if (VarDecl *Var =
dyn_cast
<VarDecl>(D)) {
401
if (const FunctionDecl *FD =
dyn_cast
<FunctionDecl>(CurrentDecl)) {
408
if (const CXXMethodDecl *MD =
dyn_cast
<CXXMethodDecl>(FD)) {
422
FT =
dyn_cast
<FunctionProtoType>(AFT);
441
if (const CXXMethodDecl *MD =
dyn_cast
<CXXMethodDecl>(FD)) {
457
if (const ObjCMethodDecl *MD =
dyn_cast
<ObjCMethodDecl>(CurrentDecl))
[
all
...]
/external/llvm/include/llvm/Support/
PatternMatch.h
80
if (const Constant *C =
dyn_cast
<Constant>(V))
96
if (ConstantInt *CI =
dyn_cast
<ConstantInt>(V)) {
100
if (ConstantVector *CV =
dyn_cast
<ConstantVector>(V))
119
if (const ConstantInt *CI =
dyn_cast
<ConstantInt>(V)) {
144
if (const ConstantInt *CI =
dyn_cast
<ConstantInt>(V))
146
if (const ConstantVector *CV =
dyn_cast
<ConstantVector>(V))
161
if (const ConstantInt *CI =
dyn_cast
<ConstantInt>(V))
166
if (const ConstantVector *CV =
dyn_cast
<ConstantVector>(V))
216
if (Class *CV =
dyn_cast
<Class>(V)) {
253
if (ConstantInt *CV =
dyn_cast
<ConstantInt>(V)
[
all
...]
/external/llvm/lib/Transforms/Scalar/
ScalarReplAggregates.cpp
358
if (VectorType *VInTy =
dyn_cast
<VectorType>(In)) {
481
if (LoadInst *LI =
dyn_cast
<LoadInst>(User)) {
493
if (StoreInst *SI =
dyn_cast
<StoreInst>(User)) {
504
if (BitCastInst *BCI =
dyn_cast
<BitCastInst>(User)) {
511
if (GetElementPtrInst *GEP =
dyn_cast
<GetElementPtrInst>(User)) {
530
if (MemSetInst *MSI =
dyn_cast
<MemSetInst>(User)) {
536
ConstantInt *Len =
dyn_cast
<ConstantInt>(MSI->getLength());
554
if (MemTransferInst *MTI =
dyn_cast
<MemTransferInst>(User)) {
555
ConstantInt *Len =
dyn_cast
<ConstantInt>(MTI->getLength());
582
if (BitCastInst *CI =
dyn_cast
<BitCastInst>(User))
[
all
...]
/external/llvm/lib/Analysis/
ScalarEvolution.cpp
260
if (const SCEVConstant *SC =
dyn_cast
<SCEVConstant>(this))
266
if (const SCEVConstant *SC =
dyn_cast
<SCEVConstant>(this))
272
if (const SCEVConstant *SC =
dyn_cast
<SCEVConstant>(this))
358
if (ConstantExpr *VCE =
dyn_cast
<ConstantExpr>(getValue()))
360
if (ConstantExpr *CE =
dyn_cast
<ConstantExpr>(VCE->getOperand(0)))
364
if (ConstantInt *CI =
dyn_cast
<ConstantInt>(CE->getOperand(1)))
375
if (ConstantExpr *VCE =
dyn_cast
<ConstantExpr>(getValue()))
377
if (ConstantExpr *CE =
dyn_cast
<ConstantExpr>(VCE->getOperand(0)))
382
if (StructType *STy =
dyn_cast
<StructType>(Ty))
386
if (ConstantInt *CI =
dyn_cast
<ConstantInt>(CE->getOperand(2))
[
all
...]
LoopInfo.cpp
52
if (Instruction *I =
dyn_cast
<Instruction>(V))
78
if (Instruction *I =
dyn_cast
<Instruction>(V))
151
dyn_cast
<ConstantInt>(PN->getIncomingValueForBlock(Incoming)))
154
dyn_cast
<Instruction>(PN->getIncomingValueForBlock(Backedge)))
157
if (ConstantInt *CI =
dyn_cast
<ConstantInt>(Inc->getOperand(1)))
182
if (BranchInst *BI =
dyn_cast
<BranchInst>(BackedgeBlock->getTerminator()))
184
if (ICmpInst *ICI =
dyn_cast
<ICmpInst>(BI->getCondition())) {
206
if (ConstantInt *TripCountC =
dyn_cast
<ConstantInt>(TripCount)) {
231
Result =
dyn_cast
<ConstantInt>(TripCount);
234
if (BinaryOperator *BO =
dyn_cast
<BinaryOperator>(TripCount))
[
all
...]
Loads.cpp
42
if (const Instruction *BI =
dyn_cast
<Instruction>(B))
61
if (GEPOperator *GEP =
dyn_cast
<GEPOperator>(V)) {
70
} else if (GlobalAlias *GA =
dyn_cast
<GlobalAlias>(V)) {
95
if (const AllocaInst *AI =
dyn_cast
<AllocaInst>(Base)) {
99
} else if (const GlobalValue *GV =
dyn_cast
<GlobalValue>(Base)) {
141
if (LoadInst *LI =
dyn_cast
<LoadInst>(BBI)) {
143
} else if (StoreInst *SI =
dyn_cast
<StoreInst>(BBI)) {
191
if (LoadInst *LI =
dyn_cast
<LoadInst>(Inst))
195
if (StoreInst *SI =
dyn_cast
<StoreInst>(Inst)) {
ValueTracking.cpp
76
if (ConstantInt *CI =
dyn_cast
<ConstantInt>(V)) {
91
if (ConstantVector *CV =
dyn_cast
<ConstantVector>(V)) {
103
if (GlobalValue *GV =
dyn_cast
<GlobalValue>(V)) {
125
if (GlobalAlias *GA =
dyn_cast
<GlobalAlias>(V)) {
135
if (Argument *A =
dyn_cast
<Argument>(V)) {
150
Operator *I =
dyn_cast
<Operator>(V);
328
if (ConstantInt *SA =
dyn_cast
<ConstantInt>(I->getOperand(1))) {
342
if (ConstantInt *SA =
dyn_cast
<ConstantInt>(I->getOperand(1))) {
360
if (ConstantInt *SA =
dyn_cast
<ConstantInt>(I->getOperand(1))) {
381
if (ConstantInt *CLHS =
dyn_cast
<ConstantInt>(I->getOperand(0)))
[
all
...]
DbgInfoPrinter.cpp
104
if (const Instruction *I =
dyn_cast
<Instruction>(V))
106
else if (const Argument *A =
dyn_cast
<Argument>(V))
112
if (const DbgDeclareInst *DDI =
dyn_cast
<DbgDeclareInst>(BI))
125
if (GlobalVariable *GV =
dyn_cast
<GlobalVariable>(const_cast<Value*>(V))) {
136
} else if (Function *F =
dyn_cast
<Function>(const_cast<Value*>(V))){
217
if (const User *U =
dyn_cast
<User>(i)) {
/external/clang/lib/StaticAnalyzer/Core/
SimpleConstraintManager.cpp
26
if (nonloc::SymExprVal *SymVal =
dyn_cast
<nonloc::SymExprVal>(&X)) {
32
if (const SymIntExpr *SIE =
dyn_cast
<SymIntExpr>(SE)) {
88
const SubRegion *SubR =
dyn_cast
<SubRegion>(R);
92
if (const SymbolicRegion *SymR =
dyn_cast
<SymbolicRegion>(SubR)) {
99
SubR =
dyn_cast
<SubRegion>(SubR->getSuperRegion());
173
const SymIntExpr *SE =
dyn_cast
<SymIntExpr>(V.getSymbolicExpression());
222
SymbolRef Sym =
dyn_cast
<SymbolData>(LHS);
227
const SymIntExpr *SE =
dyn_cast
<SymIntExpr>(LHS);
236
Sym =
dyn_cast
<SymbolData>(SE->getLHS());
SimpleSValBuilder.cpp
64
if (nonloc::LocAsInteger *LI =
dyn_cast
<nonloc::LocAsInteger>(&val)) {
263
if (SymbolRef LHSSym =
dyn_cast
<SymbolData>(LHS))
333
dyn_cast
<SymIntExpr>(selhs->getSymbolicExpression());
385
const nonloc::ConcreteInt *rhsInt =
dyn_cast
<nonloc::ConcreteInt>(&rhs);
420
if (const nonloc::SymbolVal *srhs =
dyn_cast
<nonloc::SymbolVal>(&rhs)) {
508
if (nonloc::ConcreteInt *rhs_I =
dyn_cast
<nonloc::ConcreteInt>(&rhs)){
517
if (const nonloc::SymbolVal *srhs =
dyn_cast
<nonloc::SymbolVal>(&rhs)) {
618
if (loc::ConcreteInt *rInt =
dyn_cast
<loc::ConcreteInt>(&rhs)) {
621
if (Loc *Result =
dyn_cast
<Loc>(&ResultVal))
652
if (loc::ConcreteInt *rInt =
dyn_cast
<loc::ConcreteInt>(&rhs))
[
all
...]
SVals.cpp
21
using llvm::
dyn_cast
;
35
if (const nonloc::SymbolVal* SV =
dyn_cast
<nonloc::SymbolVal>(this)) {
41
if (const loc::MemRegionVal *RV =
dyn_cast
<loc::MemRegionVal>(this)) {
43
if (const SymbolicRegion *SR =
dyn_cast
<SymbolicRegion>(R)) {
54
if (const loc::MemRegionVal* X =
dyn_cast
<loc::MemRegionVal>(this)) {
67
if (const nonloc::LocAsInteger *X =
dyn_cast
<nonloc::LocAsInteger>(this))
70
if (const loc::MemRegionVal *X =
dyn_cast
<loc::MemRegionVal>(this)) {
72
if (const SymbolicRegion *SymR =
dyn_cast
<SymbolicRegion>(R))
80
const loc::MemRegionVal *X =
dyn_cast
<loc::MemRegionVal>(this);
87
while (const SubRegion *SR =
dyn_cast
<SubRegion>(R))
[
all
...]
CheckerHelpers.cpp
36
const DeclRefExpr *DR =
dyn_cast
<DeclRefExpr>(S);
52
const DeclRefExpr *DR =
dyn_cast
<DeclRefExpr>(S);
55
if (const VarDecl *VD =
dyn_cast
<VarDecl>(DR->getDecl()))
/external/llvm/lib/Transforms/IPO/
PartialInlining.cpp
53
BranchInst *BR =
dyn_cast
<BranchInst>(entryBlock->getTerminator());
95
PHINode* OldPhi =
dyn_cast
<PHINode>(I);
134
if (CallInst *CI =
dyn_cast
<CallInst>(*UI))
136
else if (InvokeInst *II =
dyn_cast
<InvokeInst>(*UI))
166
if (Instruction* I =
dyn_cast
<Instruction>(*UI))
InlineSimple.cpp
96
const ConstantArray *InitList =
dyn_cast
<ConstantArray>(GV->getInitializer());
107
if (const ConstantExpr *CE =
dyn_cast
<ConstantExpr>(Elt))
112
if (const Function *F =
dyn_cast
<Function>(Elt))
/external/llvm/lib/Analysis/IPA/
GlobalsModRef.cpp
252
if (LoadInst *LI =
dyn_cast
<LoadInst>(U)) {
254
} else if (StoreInst *SI =
dyn_cast
<StoreInst>(U)) {
260
} else if (GetElementPtrInst *GEP =
dyn_cast
<GetElementPtrInst>(U)) {
262
} else if (BitCastInst *BCI =
dyn_cast
<BitCastInst>(U)) {
267
} else if (CallInst *CI =
dyn_cast
<CallInst>(U)) {
272
} else if (InvokeInst *II =
dyn_cast
<InvokeInst>(U)) {
277
} else if (ConstantExpr *CE =
dyn_cast
<ConstantExpr>(U)) {
285
} else if (ICmpInst *ICI =
dyn_cast
<ICmpInst>(U)) {
312
if (LoadInst *LI =
dyn_cast
<LoadInst>(U)) {
320
} else if (StoreInst *SI =
dyn_cast
<StoreInst>(U))
[
all
...]
/external/clang/lib/ARCMigrate/
TransAutoreleasePool.cpp
57
if (DeclRefExpr *DE =
dyn_cast
<DeclRefExpr>(instance)) {
170
if (DeclStmt *DclS =
dyn_cast
<DeclStmt>(child)) {
172
if (VarDecl *VD =
dyn_cast
<VarDecl>(DclS->getSingleDecl())) {
188
} else if (BinaryOperator *bop =
dyn_cast
<BinaryOperator>(child)) {
189
if (DeclRefExpr *dref =
dyn_cast
<DeclRefExpr>(bop->getLHS())) {
190
if (VarDecl *VD =
dyn_cast
<VarDecl>(dref->getDecl())) {
308
if (ReturnStmt *retS =
dyn_cast
<ReturnStmt>(*SI))
354
ObjCMessageExpr *ME =
dyn_cast
<ObjCMessageExpr>(E);
377
ObjCMessageExpr *ME =
dyn_cast
<ObjCMessageExpr>(S);
381
if (DeclRefExpr *dref =
dyn_cast
<DeclRefExpr>(rec)
[
all
...]
/external/clang/lib/StaticAnalyzer/Checkers/
UndefinedAssignmentChecker.cpp
54
if (const BinaryOperator *B =
dyn_cast
<BinaryOperator>(StoreE)) {
69
if (const DeclStmt *DS =
dyn_cast
<DeclStmt>(StoreE)) {
70
const VarDecl* VD =
dyn_cast
<VarDecl>(DS->getSingleDecl());
/external/llvm/docs/HistoricalNotes/
2002-06-25-MegaPatchInfo.txt
4
Instruction *I =
dyn_cast
<Instruction>(V);
6
const Instruction *I =
dyn_cast
<Instruction>(V);
12
dyn_cast
does not work with references, because it must return a null pointer
Completed in 435 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>