OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:dyn_cast
(Results
276 - 300
of
1820
) sorted by null
<<
11
12
13
14
15
16
17
18
19
20
>>
/external/spirv-llvm/lib/SPIRV/Mangler/
ParameterType.cpp
44
const PrimitiveType* p = SPIR::
dyn_cast
<PrimitiveType>(type);
104
const PointerType* p = SPIR::
dyn_cast
<PointerType>(type);
140
const VectorType* pVec = SPIR::
dyn_cast
<VectorType>(type);
167
const AtomicType* a =
dyn_cast
<AtomicType>(type);
198
const BlockType* pBlock =
dyn_cast
<BlockType>(type);
228
const UserDefinedType* pTy = SPIR::
dyn_cast
<UserDefinedType>(pType);
/external/swiftshader/third_party/LLVM/lib/Analysis/
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/swiftshader/third_party/LLVM/lib/Transforms/IPO/
GlobalDCE.cpp
165
if (GlobalVariable *GV =
dyn_cast
<GlobalVariable>(G)) {
170
} else if (GlobalAlias *GA =
dyn_cast
<GlobalAlias>(G)) {
183
if (GlobalValue *GV =
dyn_cast
<GlobalValue>(*U))
185
else if (Constant *C =
dyn_cast
<Constant>(*U))
191
if (GlobalValue *GV =
dyn_cast
<GlobalValue>(C))
197
if (Constant *OpC =
dyn_cast
<Constant>(*I))
IPConstantPropagation.cpp
114
Constant *C =
dyn_cast
<Constant>(*AI);
170
StructType *STy =
dyn_cast
<StructType>(F.getReturnType());
179
if (ReturnInst *RI =
dyn_cast
<ReturnInst>(BB->getTerminator())) {
240
if (Argument *A =
dyn_cast
<Argument>(New))
257
if (ExtractValueInst *EV =
dyn_cast
<ExtractValueInst>(Ins))
266
if (Argument *A =
dyn_cast
<Argument>(New))
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
InstCombinePHI.cpp
36
dyn_cast
<OverflowingBinaryOperator>(FirstInst)) {
40
dyn_cast
<PossiblyExactOperator>(FirstInst))
45
Instruction *I =
dyn_cast
<Instruction>(PN.getIncomingValue(i));
54
if (CmpInst *CI =
dyn_cast
<CmpInst>(I))
113
if (CmpInst *CIOp =
dyn_cast
<CmpInst>(FirstInst)) {
148
GetElementPtrInst *GEP=
dyn_cast
<GetElementPtrInst>(PN.getIncomingValue(i));
256
if (AllocaInst *AI =
dyn_cast
<AllocaInst>(L->getOperand(0))) {
262
if (StoreInst *SI =
dyn_cast
<StoreInst>(U)) {
279
if (GetElementPtrInst *GEP =
dyn_cast
<GetElementPtrInst>(L->getOperand(0)))
280
if (AllocaInst *AI =
dyn_cast
<AllocaInst>(GEP->getOperand(0))
[
all
...]
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
InlineFunction.cpp
54
EHExceptionInst *exn =
dyn_cast
<EHExceptionInst>(i);
69
EHSelectorInst *sel =
dyn_cast
<EHSelectorInst>(*ui);
121
BranchInst *branch =
dyn_cast
<BranchInst>(&exnBlock->back());
220
PHINode *phi =
dyn_cast
<PHINode>(i);
279
// FIXME: With the new EH, this if/
dyn_cast
should be a 'cast'.
280
if (LandingPadInst *LPI =
dyn_cast
<LandingPadInst>(I)) {
401
Function *fn =
dyn_cast
<Function>(call->getCalledValue());
492
ConstantInt *val =
dyn_cast
<ConstantInt>(selector->getArgOperand(2));
511
if (LandingPadInst *L =
dyn_cast
<LandingPadInst>(I)) {
520
CallInst *CI =
dyn_cast
<CallInst>(I)
[
all
...]
ValueMapper.cpp
38
if (const InlineAsm *IA =
dyn_cast
<InlineAsm>(V)) {
53
if (const MDNode *MD =
dyn_cast
<MDNode>(V)) {
91
Constant *C = const_cast<Constant*>(
dyn_cast
<Constant>(V));
95
if (BlockAddress *BA =
dyn_cast
<BlockAddress>(C)) {
140
if (ConstantExpr *CE =
dyn_cast
<ConstantExpr>(C))
174
if (PHINode *PN =
dyn_cast
<PHINode>(I)) {
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
GlobalsModRef.cpp
212
if (auto *F =
dyn_cast
<Function>(V))
215
if (GlobalValue *GV =
dyn_cast
<GlobalValue>(V)) {
353
if (LoadInst *LI =
dyn_cast
<LoadInst>(I)) {
356
} else if (StoreInst *SI =
dyn_cast
<StoreInst>(I)) {
381
} else if (ICmpInst *ICI =
dyn_cast
<ICmpInst>(I)) {
384
} else if (Constant *C =
dyn_cast
<Constant>(I)) {
416
if (LoadInst *LI =
dyn_cast
<LoadInst>(U)) {
423
} else if (StoreInst *SI =
dyn_cast
<StoreInst>(U)) {
654
if (auto *LI =
dyn_cast
<LoadInst>(Input)) {
658
if (auto *SI =
dyn_cast
<SelectInst>(Input))
[
all
...]
ScalarEvolutionExpander.cpp
57
if (CastInst *CI =
dyn_cast
<CastInst>(U))
92
if (auto *II =
dyn_cast
<InvokeInst>(I))
125
if (CastInst *CI =
dyn_cast
<CastInst>(V)) {
133
if (CastInst *CI =
dyn_cast
<CastInst>(V))
139
if (ConstantExpr *CE =
dyn_cast
<ConstantExpr>(V))
148
if (Constant *C =
dyn_cast
<Constant>(V))
153
if (Argument *A =
dyn_cast
<Argument>(V)) {
174
if (Constant *CLHS =
dyn_cast
<Constant>(LHS))
175
if (Constant *CRHS =
dyn_cast
<Constant>(RHS))
253
if (const SCEVConstant *C =
dyn_cast
<SCEVConstant>(S))
[
all
...]
BranchProbabilityInfo.cpp
152
if (auto *II =
dyn_cast
<InvokeInst>(TI)) {
184
if (auto *II =
dyn_cast
<InvokeInst>(TI))
193
if (const CallInst *CI =
dyn_cast
<CallInst>(&I))
395
const BranchInst *BI =
dyn_cast
<BranchInst>(BB->getTerminator());
400
ICmpInst *CI =
dyn_cast
<ICmpInst>(Cond);
486
const BranchInst *BI =
dyn_cast
<BranchInst>(BB->getTerminator());
491
CmpInst *CI =
dyn_cast
<CmpInst>(BI->getCondition());
499
Instruction *CmpLHS =
dyn_cast
<Instruction>(CI->getOperand(0));
500
PHINode *CmpPHI =
dyn_cast
<PHINode>(CmpLHS);
501
Constant *CmpConst =
dyn_cast
<Constant>(CI->getOperand(1))
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
IPConstantPropagation.cpp
85
Constant *C =
dyn_cast
<Constant>(*AI);
148
StructType *STy =
dyn_cast
<StructType>(F.getReturnType());
157
if (ReturnInst *RI =
dyn_cast
<ReturnInst>(BB.getTerminator())) {
218
if (Argument *A =
dyn_cast
<Argument>(New))
234
if (ExtractValueInst *EV =
dyn_cast
<ExtractValueInst>(Ins))
243
if (Argument *A =
dyn_cast
<Argument>(New))
/external/v8/tools/clang/plugins/
CheckIPCVisitor.cpp
113
if (auto* cast_expr =
dyn_cast
<ExplicitCastExpr>(arg_expr)) {
188
if (auto* tdef =
dyn_cast
<TypedefType>(type)) {
225
if (auto* spec =
dyn_cast
<TemplateSpecializationType>(type)) {
234
if (auto* record =
dyn_cast
<RecordType>(type)) {
235
if (auto* spec =
dyn_cast
<ClassTemplateSpecializationDecl>(
247
if (auto* tdef =
dyn_cast
<TypedefType>(type)) {
/external/llvm/lib/Transforms/InstCombine/
InstCombineMulDivRem.cpp
48
BinaryOperator *I =
dyn_cast
<BinaryOperator>(V);
221
else if (ConstantDataVector *CV =
dyn_cast
<ConstantDataVector>(C1))
243
if (ConstantInt *CI =
dyn_cast
<ConstantInt>(Op1)) {
271
if (SelectInst *SI =
dyn_cast
<SelectInst>(Op0))
308
BinaryOperator *BO =
dyn_cast
<BinaryOperator>(Op0);
313
BO =
dyn_cast
<BinaryOperator>(Op1);
323
if (PossiblyExactOperator *SDiv =
dyn_cast
<PossiblyExactOperator>(BO))
412
IntrinsicInst *II =
dyn_cast
<IntrinsicInst>(Op);
423
Instruction *I =
dyn_cast
<Instruction>(OpLog2Of);
468
Instruction *I =
dyn_cast
<Instruction>(V)
[
all
...]
InstCombineCompares.cpp
65
if (VectorType *VTy =
dyn_cast
<VectorType>(In1->getType())) {
100
if (VectorType *VTy =
dyn_cast
<VectorType>(In1->getType())) {
261
ConstantInt *Idx =
dyn_cast
<ConstantInt>(GEP->getOperand(i));
267
if (StructType *STy =
dyn_cast
<StructType>(EltTy))
269
else if (ArrayType *ATy =
dyn_cast
<ArrayType>(EltTy)) {
524
if (ConstantInt *CI =
dyn_cast
<ConstantInt>(GEP->getOperand(i))) {
529
if (StructType *STy =
dyn_cast
<StructType>(*GTI)) {
552
ConstantInt *CI =
dyn_cast
<ConstantInt>(GEP->getOperand(i));
559
if (StructType *STy =
dyn_cast
<StructType>(*GTI)) {
643
auto *CI =
dyn_cast
<CastInst>(V)
[
all
...]
/external/llvm/lib/Transforms/Utils/
InlineFunction.cpp
184
if (auto *FPI =
dyn_cast
<FuncletPadInst>(EHPad))
205
if (auto *CatchSwitch =
dyn_cast
<CatchSwitchInst>(CurrentPad)) {
255
if (auto *CleanupRet =
dyn_cast
<CleanupReturnInst>(U)) {
263
if (auto *Invoke =
dyn_cast
<InvokeInst>(U)) {
302
if (auto *UnwindPad =
dyn_cast
<Instruction>(UnwindDestToken))
309
ExitedPad =
dyn_cast
<Instruction>(getParentPad(ExitedPad))) {
349
if (auto *CPI =
dyn_cast
<CatchPadInst>(EHPad))
372
auto *AncestorPad =
dyn_cast
<Instruction>(AncestorToken);
396
if (auto *CatchSwitch =
dyn_cast
<CatchSwitchInst>(UselessPad)) {
425
CallInst *CI =
dyn_cast
<CallInst>(I)
[
all
...]
SimplifyCFG.cpp
216
CmpInst *Ci2 =
dyn_cast
<CmpInst>(SI2->getCondition());
250
for (BasicBlock::iterator I = Succ->begin(); (PN =
dyn_cast
<PHINode>(I)); ++I)
294
Instruction *I =
dyn_cast
<Instruction>(V);
298
if (ConstantExpr *C =
dyn_cast
<ConstantExpr>(V))
313
BranchInst *BI =
dyn_cast
<BranchInst>(PBB->getTerminator());
362
ConstantInt *CI =
dyn_cast
<ConstantInt>(V);
375
if (ConstantExpr *CE =
dyn_cast
<ConstantExpr>(V))
377
if (ConstantInt *CI =
dyn_cast
<ConstantInt>(CE->getOperand(0))) {
439
if (!((ICI =
dyn_cast
<ICmpInst>(I)) &&
581
Instruction *I =
dyn_cast
<Instruction>(V)
[
all
...]
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
IndVarSimplify.cpp
166
if (GEPOperator *GEP =
dyn_cast
<GEPOperator>(FromVal)) {
169
if (GEPOperator *GEP =
dyn_cast
<GEPOperator>(ToVal)) {
202
PHINode *PHI =
dyn_cast
<PHINode>(User);
259
dyn_cast
<ConstantFP>(PN->getIncomingValue(IncomingEdge));
268
dyn_cast
<BinaryOperator>(PN->getIncomingValue(BackEdge));
273
ConstantFP *IncValueVal =
dyn_cast
<ConstantFP>(Incr->getOperand(1));
289
FCmpInst *Compare =
dyn_cast
<FCmpInst>(U1);
291
Compare =
dyn_cast
<FCmpInst>(U2);
311
ConstantFP *ExitValueVal =
dyn_cast
<ConstantFP>(Compare->getOperand(1));
465
PHINode *PN =
dyn_cast
<PHINode>(I); ++I
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
Type.cpp
73
if (auto *thisPTy =
dyn_cast
<VectorType>(this)) {
74
if (auto *thatPTy =
dyn_cast
<VectorType>(Ty))
82
if (auto *thatPTy =
dyn_cast
<VectorType>(Ty))
90
if (auto *PTy =
dyn_cast
<PointerType>(this)) {
91
if (auto *OtherPTy =
dyn_cast
<PointerType>(Ty))
99
if (auto *ATy =
dyn_cast
<ArrayType>(this)) {
104
if (auto *STy =
dyn_cast
<StructType>(this)) {
135
if (auto *VTy =
dyn_cast
<VectorType>(this))
148
if (auto *ATy =
dyn_cast
<ArrayType>(this))
151
if (auto *VTy =
dyn_cast
<VectorType>(this)
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-opt-report/
OptReport.cpp
157
auto *Root =
dyn_cast
<yaml::MappingNode>(Doc.getRoot());
170
auto *Key =
dyn_cast
<yaml::ScalarNode>(RootChild.getKey());
175
auto *Value =
dyn_cast
<yaml::ScalarNode>(RootChild.getValue());
180
auto *Value =
dyn_cast
<yaml::ScalarNode>(RootChild.getValue());
185
auto *DebugLoc =
dyn_cast
<yaml::MappingNode>(RootChild.getValue());
190
auto *DLKey =
dyn_cast
<yaml::ScalarNode>(DLChild.getKey());
195
auto *Value =
dyn_cast
<yaml::ScalarNode>(DLChild.getValue());
200
auto *Value =
dyn_cast
<yaml::ScalarNode>(DLChild.getValue());
205
auto *Value =
dyn_cast
<yaml::ScalarNode>(DLChild.getValue());
212
auto *Args =
dyn_cast
<yaml::SequenceNode>(RootChild.getValue())
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/yaml2obj/
yaml2wasm.cpp
241
if (auto S =
dyn_cast
<WasmYAML::NameSection>(&Section)) {
244
} else if (auto S =
dyn_cast
<WasmYAML::LinkingSection>(&Section)) {
438
auto CustomSection =
dyn_cast
<WasmYAML::CustomSection>(&Sec);
492
if (auto S =
dyn_cast
<WasmYAML::CustomSection>(Sec.get())) {
495
} else if (auto S =
dyn_cast
<WasmYAML::TypeSection>(Sec.get())) {
498
} else if (auto S =
dyn_cast
<WasmYAML::ImportSection>(Sec.get())) {
501
} else if (auto S =
dyn_cast
<WasmYAML::FunctionSection>(Sec.get())) {
504
} else if (auto S =
dyn_cast
<WasmYAML::TableSection>(Sec.get())) {
507
} else if (auto S =
dyn_cast
<WasmYAML::MemorySection>(Sec.get())) {
510
} else if (auto S =
dyn_cast
<WasmYAML::GlobalSection>(Sec.get()))
[
all
...]
/external/swiftshader/third_party/LLVM/lib/VMCore/
ConstantFold.cpp
105
if (PointerType *PTy =
dyn_cast
<PointerType>(V->getType()))
106
if (PointerType *DPTy =
dyn_cast
<PointerType>(DestTy))
114
if (StructType *STy =
dyn_cast
<StructType>(ElTy)) {
119
dyn_cast
<SequentialType>(ElTy)) {
135
if (VectorType *DestPTy =
dyn_cast
<VectorType>(DestTy)) {
136
if (VectorType *SrcTy =
dyn_cast
<VectorType>(V->getType())) {
144
if (ConstantVector *CV =
dyn_cast
<ConstantVector>(V))
161
if (ConstantInt *CI =
dyn_cast
<ConstantInt>(V)) {
177
if (ConstantFP *FP =
dyn_cast
<ConstantFP>(V))
205
if (ConstantInt *CI =
dyn_cast
<ConstantInt>(C))
[
all
...]
/external/llvm/lib/Analysis/
GlobalsModRef.cpp
197
if (auto *F =
dyn_cast
<Function>(V))
200
if (GlobalValue *GV =
dyn_cast
<GlobalValue>(V)) {
338
if (LoadInst *LI =
dyn_cast
<LoadInst>(I)) {
341
} else if (StoreInst *SI =
dyn_cast
<StoreInst>(I)) {
366
} else if (ICmpInst *ICI =
dyn_cast
<ICmpInst>(I)) {
397
if (LoadInst *LI =
dyn_cast
<LoadInst>(U)) {
404
} else if (StoreInst *SI =
dyn_cast
<StoreInst>(U)) {
621
if (auto *LI =
dyn_cast
<LoadInst>(Input)) {
625
if (auto *SI =
dyn_cast
<SelectInst>(Input)) {
634
if (auto *PN =
dyn_cast
<PHINode>(Input))
[
all
...]
BasicAliasAnalysis.cpp
85
if (const Argument *A =
dyn_cast
<Argument>(V))
195
if (const ConstantInt *Const =
dyn_cast
<ConstantInt>(V)) {
206
if (const BinaryOperator *BOp =
dyn_cast
<BinaryOperator>(V)) {
207
if (ConstantInt *RHSC =
dyn_cast
<ConstantInt>(BOp->getOperand(1))) {
358
const Operator *Op =
dyn_cast
<Operator>(V);
361
if (const GlobalAlias *GA =
dyn_cast
<GlobalAlias>(V)) {
377
const GEPOperator *GEPOp =
dyn_cast
<GEPOperator>(Op);
387
if (const Instruction *I =
dyn_cast
<Instruction>(V))
416
if (StructType *STy =
dyn_cast
<StructType>(*GTI++)) {
428
if (const ConstantInt *CIdx =
dyn_cast
<ConstantInt>(Index))
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
GVNHoist.cpp
317
else if (auto *A =
dyn_cast
<Argument>(V))
397
if (const MemoryUse *MU =
dyn_cast
<MemoryUse>(&MA)) {
536
if (auto *UD =
dyn_cast
<MemoryUseOrDef>(D))
543
if (hasEHOrLoadsOnPath(NewPt,
dyn_cast
<MemoryDef>(U), NBBsOnAllPaths))
822
if (const auto *Inst =
dyn_cast
<Instruction>(&Op))
833
if (const auto *Inst =
dyn_cast
<Instruction>(&Op))
836
dyn_cast
<GetElementPtrInst>(Inst)) {
858
if (Instruction *Op =
dyn_cast
<Instruction>(Gep->getOperand(i))) {
[
all
...]
/external/clang/lib/Index/
IndexBody.cpp
61
if (auto ICE =
dyn_cast
<ImplicitCastExpr>(*It)) {
71
if (auto BO =
dyn_cast
<BinaryOperator>(Parent)) {
75
} else if (auto UO =
dyn_cast
<UnaryOperator>(Parent)) {
83
} else if (auto CA =
dyn_cast
<CompoundAssignOperator>(Parent)) {
89
} else if (auto CE =
dyn_cast
<CallExpr>(Parent)) {
92
if (auto *ME =
dyn_cast
<MemberExpr>(E)) {
103
} else if (auto CXXOp =
dyn_cast
<CXXOperatorCallExpr>(CE)) {
126
if (auto *FD =
dyn_cast
<FunctionDecl>(ParentDC))
128
else if (auto *MD =
dyn_cast
<ObjCMethodDecl>(ParentDC))
169
if (auto *RecE =
dyn_cast
<ObjCMessageExpr>
[
all
...]
Completed in 893 milliseconds
<<
11
12
13
14
15
16
17
18
19
20
>>