OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:dyn_cast
(Results
626 - 650
of
1820
) sorted by null
<<
21
22
23
24
25
26
27
28
29
30
>>
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/
InstrEmitter.cpp
347
} else if (ConstantSDNode *C =
dyn_cast
<ConstantSDNode>(Op)) {
349
} else if (ConstantFPSDNode *F =
dyn_cast
<ConstantFPSDNode>(Op)) {
352
} else if (RegisterSDNode *R =
dyn_cast
<RegisterSDNode>(Op)) {
354
} else if (GlobalAddressSDNode *TGA =
dyn_cast
<GlobalAddressSDNode>(Op)) {
357
} else if (BasicBlockSDNode *BBNode =
dyn_cast
<BasicBlockSDNode>(Op)) {
359
} else if (FrameIndexSDNode *FI =
dyn_cast
<FrameIndexSDNode>(Op)) {
361
} else if (JumpTableSDNode *JT =
dyn_cast
<JumpTableSDNode>(Op)) {
364
} else if (ConstantPoolSDNode *CP =
dyn_cast
<ConstantPoolSDNode>(Op)) {
385
} else if (ExternalSymbolSDNode *ES =
dyn_cast
<ExternalSymbolSDNode>(Op)) {
388
} else if (BlockAddressSDNode *BA =
dyn_cast
<BlockAddressSDNode>(Op))
[
all
...]
/external/swiftshader/third_party/LLVM/lib/VMCore/
Type.cpp
44
if (VectorType *VTy =
dyn_cast
<VectorType>(this))
92
if (const VectorType *thisPTy =
dyn_cast
<VectorType>(this)) {
93
if (const VectorType *thatPTy =
dyn_cast
<VectorType>(Ty))
101
if (const VectorType *thatPTy =
dyn_cast
<VectorType>(Ty))
114
const ArrayType *ATy =
dyn_cast
<ArrayType>(this);
120
const StructType *STy =
dyn_cast
<StructType>(this);
157
if (const VectorType *VTy =
dyn_cast
<VectorType>(this))
175
if (const ArrayType *ATy =
dyn_cast
<ArrayType>(this))
178
if (const VectorType *VTy =
dyn_cast
<VectorType>(this))
577
if (StructType *STy =
dyn_cast
<StructType>(this))
[
all
...]
Metadata.cpp
122
if (Instruction *I =
dyn_cast
<Instruction>(V)) {
126
if (Argument *A =
dyn_cast
<Argument>(V))
128
if (BasicBlock *BB =
dyn_cast
<BasicBlock>(V))
130
if (MDNode *MD =
dyn_cast
<MDNode>(V))
143
if (MDNode *MD =
dyn_cast
<MDNode>(V))
398
return
dyn_cast
<MDNode>(&*getNMDOps(Operands)[i]);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
TargetTransformInfoImpl.h
593
dyn_cast
<ConstantInt>(VectorValue->getAggregateElement(i))) {
611
if (const auto* CI =
dyn_cast
<ConstantInt>(Val)) {
616
if (const auto* Cast =
dyn_cast
<SExtInst>(Val)) {
621
if (const auto* Cast =
dyn_cast
<ZExtInst>(Val)) {
639
return
dyn_cast
<SCEVConstant>(AddRec->getStepRecurrence(*SE));
707
BaseGV =
dyn_cast
<GlobalValue>(Ptr->stripPointerCasts());
727
const ConstantInt *ConstIdx =
dyn_cast
<ConstantInt>(*I);
730
ConstIdx =
dyn_cast
<ConstantInt>(Splat);
781
if (auto *A =
dyn_cast
<AllocaInst>(U))
785
if (const GEPOperator *GEP =
dyn_cast
<GEPOperator>(U))
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
CloneFunction.cpp
64
if (const AllocaInst *AI =
dyn_cast
<AllocaInst>(&I)) {
116
if (Argument *NewArg =
dyn_cast
<Argument>(VMap[&OldArg])) {
188
if (ReturnInst *RI =
dyn_cast
<ReturnInst>(CBB->getTerminator()))
359
if (const AllocaInst *AI =
dyn_cast
<AllocaInst>(II)) {
370
if (const BranchInst *BI =
dyn_cast
<BranchInst>(OldTI)) {
373
ConstantInt *Cond =
dyn_cast
<ConstantInt>(BI->getCondition());
388
} else if (const SwitchInst *SI =
dyn_cast
<SwitchInst>(OldTI)) {
390
ConstantInt *Cond =
dyn_cast
<ConstantInt>(SI->getCondition());
558
for (; (PN =
dyn_cast
<PHINode>(I)); ++I) {
574
while ((PN =
dyn_cast
<PHINode>(I++)))
[
all
...]
/external/clang/lib/Frontend/Rewrite/
RewriteModernObjC.cpp
192
if (ObjCInterfaceDecl *Class =
dyn_cast
<ObjCInterfaceDecl>(*I)) {
203
if (ObjCProtocolDecl *Proto =
dyn_cast
<ObjCProtocolDecl>(*I)) {
210
if (FunctionDecl *FDecl =
dyn_cast
<FunctionDecl>(*I)) {
229
if (TypedefNameDecl *TD =
dyn_cast
<TypedefNameDecl>(*I)) {
611
=
dyn_cast
<FunctionProtoType>(funcType.IgnoreParens())) {
726
if (FunctionDecl *FD =
dyn_cast
<FunctionDecl>(D)) {
728
} else if (VarDecl *FVD =
dyn_cast
<VarDecl>(D)) {
734
} else if (ObjCCategoryDecl *CD =
dyn_cast
<ObjCCategoryDecl>(D)) {
736
} else if (ObjCProtocolDecl *PD =
dyn_cast
<ObjCProtocolDecl>(D)) {
739
} else if (LinkageSpecDecl *LSD =
dyn_cast
<LinkageSpecDecl>(D))
[
all
...]
/external/llvm/lib/Transforms/InstCombine/
InstCombineSimplifyDemanded.cpp
34
ConstantInt *OpC =
dyn_cast
<ConstantInt>(I->getOperand(OpNo));
72
auto *UserI =
dyn_cast
<Instruction>(U.getUser());
117
if (ConstantInt *CI =
dyn_cast
<ConstantInt>(V)) {
144
Instruction *I =
dyn_cast
<Instruction>(V);
382
if (Instruction *LHSInst =
dyn_cast
<Instruction>(I->getOperand(0)))
450
if (VectorType *DstVTy =
dyn_cast
<VectorType>(I->getType())) {
452
dyn_cast
<VectorType>(I->getOperand(0)->getType())) {
554
if (ConstantInt *SA =
dyn_cast
<ConstantInt>(I->getOperand(1))) {
589
if (ConstantInt *SA =
dyn_cast
<ConstantInt>(I->getOperand(1))) {
630
if (ConstantInt *SA =
dyn_cast
<ConstantInt>(I->getOperand(1)))
[
all
...]
/external/llvm/lib/Transforms/Scalar/
LoopUnswitch.cpp
417
if (BinaryOperator *BO =
dyn_cast
<BinaryOperator>(Cond))
540
if (auto *II =
dyn_cast
<InvokeInst>(&I))
543
if (auto *II =
dyn_cast
<IntrinsicInst>(&I))
595
if (BranchInst *BI =
dyn_cast
<BranchInst>(TI)) {
609
} else if (SwitchInst *SI =
dyn_cast
<SwitchInst>(TI)) {
644
if (SelectInst *SI =
dyn_cast
<SelectInst>(BBI)) {
[
all
...]
Float2Int.cpp
222
if (Instruction *OI =
dyn_cast
<Instruction>(O)) {
295
if (Instruction *OI =
dyn_cast
<Instruction>(O)) {
299
} else if (ConstantFP *CF =
dyn_cast
<ConstantFP>(O)) {
375
Instruction *UI =
dyn_cast
<Instruction>(U);
441
} else if (Instruction *VI =
dyn_cast
<Instruction>(V)) {
443
} else if (ConstantFP *CF =
dyn_cast
<ConstantFP>(V)) {
/external/swiftshader/third_party/LLVM/lib/CodeGen/
SjLjEHPrepare.cpp
203
while (PHINode *PN =
dyn_cast
<PHINode>(II->getUnwindDest()->begin())) {
314
if (AllocaInst *AI =
dyn_cast
<AllocaInst>(Inst))
393
if (PHINode *PN =
dyn_cast
<PHINode>(I)) {
411
if (ReturnInst *RI =
dyn_cast
<ReturnInst>(BB->getTerminator())) {
415
} else if (InvokeInst *II =
dyn_cast
<InvokeInst>(BB->getTerminator())) {
417
} else if (UnwindInst *UI =
dyn_cast
<UnwindInst>(BB->getTerminator())) {
449
if (InvokeInst *II =
dyn_cast
<InvokeInst>(F.begin()->getTerminator())) {
459
if (CallInst *CI =
dyn_cast
<CallInst>(I)) {
468
} else if (AllocaInst *AI =
dyn_cast
<AllocaInst>(I)) {
470
} else if (InvokeInst *II =
dyn_cast
<InvokeInst>(I))
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
TargetTransformInfo.cpp
639
if (auto *CI =
dyn_cast
<ConstantInt>(V)) {
653
if (auto *CI =
dyn_cast
<ConstantInt>(Splat))
656
} else if (auto *CDS =
dyn_cast
<ConstantDataSequential>(V)) {
659
if (auto *CI =
dyn_cast
<ConstantInt>(CDS->getElementAsConstant(I)))
725
if (auto *SI =
dyn_cast
<SelectInst>(I)) {
762
ShuffleVectorInst *LS =
dyn_cast
<ShuffleVectorInst>(RD->LHS);
765
ShuffleVectorInst *RS =
dyn_cast
<ShuffleVectorInst>(RD->RHS);
833
ConstantInt *CI =
dyn_cast
<ConstantInt>(ReduxRoot->getOperand(1));
840
auto *RdxStart =
dyn_cast
<Instruction>(ReduxRoot->getOperand(0));
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DeadStoreElimination.cpp
133
if (Instruction *OpI =
dyn_cast
<Instruction>(Op))
156
if (IntrinsicInst *II =
dyn_cast
<IntrinsicInst>(I)) {
192
if (StoreInst *SI =
dyn_cast
<StoreInst>(Inst))
195
if (auto *MI =
dyn_cast
<AnyMemIntrinsic>(Inst)) {
201
if (IntrinsicInst *II =
dyn_cast
<IntrinsicInst>(Inst)) {
228
if (auto *MTI =
dyn_cast
<AnyMemTransferInst>(Inst))
237
if (StoreInst *SI =
dyn_cast
<StoreInst>(I))
240
if (IntrinsicInst *II =
dyn_cast
<IntrinsicInst>(I)) {
276
if (IntrinsicInst *II =
dyn_cast
<IntrinsicInst>(I)) {
[
all
...]
/external/clang/lib/StaticAnalyzer/Core/
RegionStore.cpp
233
if (const TypedValueRegion *TR =
dyn_cast
<TypedValueRegion>(R))
592
if (const SubRegion *R =
dyn_cast
<SubRegion>(K.getRegion())) {
762
if (const FieldRegion *FR =
dyn_cast
<FieldRegion>(R))
819
} else if (const FieldRegion *FR =
dyn_cast
<FieldRegion>(Top)) {
859
} else if (const SubRegion *BaseSR =
dyn_cast
<SubRegion>(Base)) {
[
all
...]
MemRegion.cpp
150
if (const SubRegion* sr =
dyn_cast
<SubRegion>(r))
162
if (const SubRegion *sr =
dyn_cast
<SubRegion>(superRegion)) {
171
const StackSpaceRegion *SSR =
dyn_cast
<StackSpaceRegion>(getMemorySpace());
676
const VarRegion *const VR =
dyn_cast
<VarRegion>(this->getBaseRegion());
677
const FieldRegion *const FR =
dyn_cast
<FieldRegion>(this);
798
if (const StackFrameContext *SFC =
dyn_cast
<StackFrameContext>(LC)) {
803
dyn_cast
<BlockInvocationContext>(LC)) {
810
if (const VarRegion *VR =
dyn_cast
<VarRegion>(I.getOriginalRegion()))
875
else if (const BlockDecl *BD =
dyn_cast
<BlockDecl>(STCD)) {
[
all
...]
/external/llvm/lib/TableGen/
TGParser.cpp
92
if (VarInit *VI =
dyn_cast
<VarInit>(V))
101
BitsInit *CurVal =
dyn_cast
<BitsInit>(RV->getValue());
134
if (BitsInit *BI =
dyn_cast
<BitsInit>(V))
300
ListInit *List =
dyn_cast
<ListInit>(CurLoop.ListValue);
325
TypedInit *IVal =
dyn_cast
<TypedInit>(IR.IterValue);
396
const TypedInit *CurRecName =
dyn_cast
<TypedInit>(CurRec->getNameInit());
741
VarInit *IterVar =
dyn_cast
<VarInit>(L.IterVar);
816
ListInit *LHSl =
dyn_cast
<ListInit>(LHS);
817
StringInit *LHSs =
dyn_cast
<StringInit>(LHS);
818
TypedInit *LHSt =
dyn_cast
<TypedInit>(LHS)
[
all
...]
/bionic/tools/versioner/src/
DeclarationDatabase.cpp
41
if (auto FD =
dyn_cast
<FunctionDecl>(decl)) {
67
if (auto var_decl =
dyn_cast
<VarDecl>(decl)) {
100
auto named_decl =
dyn_cast
<NamedDecl>(decl);
110
if (auto function_decl =
dyn_cast
<FunctionDecl>(decl)) {
112
} else if (auto var_decl =
dyn_cast
<VarDecl>(decl)) {
253
if (DeclaratorDecl* declarator_decl =
dyn_cast
<DeclaratorDecl>(child_decl)) {
/external/clang/lib/Index/
IndexSymbol.cpp
59
if (const TagDecl *TD =
dyn_cast
<TagDecl>(D)) {
77
if (const CXXRecordDecl *CXXRec =
dyn_cast
<CXXRecordDecl>(D))
112
CXXRec =
dyn_cast
<CXXRecordDecl>(D->getDeclContext())) {
123
const ObjCInterfaceDecl *ClsD =
dyn_cast
<ObjCInterfaceDecl>(D);
231
if (const FunctionDecl *FD =
dyn_cast
<FunctionDecl>(D)) {
297
if (auto *ND =
dyn_cast
<NamedDecl>(D)) {
/external/clang/lib/Sema/
CodeCompleteConsumer.cpp
267
const NamedDecl *ND =
dyn_cast
<NamedDecl>(DC);
284
if (const NamedDecl *ND =
dyn_cast
<NamedDecl>(DC)) {
304
if (const ObjCCategoryImplDecl *CatImpl =
dyn_cast
<ObjCCategoryImplDecl>(CurDC))
307
if (const ObjCCategoryDecl *Cat =
dyn_cast
<ObjCCategoryDecl>(CurDC)) {
384
const NamedDecl *ND =
dyn_cast
<NamedDecl>(DC);
559
if (const FunctionDecl *Function =
dyn_cast
<FunctionDecl>(Declaration))
/external/llvm/lib/CodeGen/
GlobalMerge.cpp
294
if (ConstantExpr *CE =
dyn_cast
<ConstantExpr>(U.getUser())) {
309
Instruction *I =
dyn_cast
<Instruction>(UI->getUser());
494
dyn_cast
<GlobalVariable>(InitList->getOperand(i)->stripPointerCasts()))
506
const InvokeInst *II =
dyn_cast
<InvokeInst>(IBB->getTerminator());
514
dyn_cast
<GlobalVariable>(LPInst->getClause(Idx)
543
PointerType *PT =
dyn_cast
<PointerType>(GV.getType());
/external/llvm/lib/Target/AMDGPU/
SIAnnotateControlFlow.cpp
244
if ((Phi =
dyn_cast
<PHINode>(Cond)) && L->contains(Phi)) {
288
CallInst *OldEnd =
dyn_cast
<CallInst>(Parent->getFirstInsertionPt());
290
OldEnd =
dyn_cast
<CallInst>(OldEnd->getNextNode());
304
} else if (Instruction *Inst =
dyn_cast
<Instruction>(Cond)) {
386
BranchInst *Term =
dyn_cast
<BranchInst>((*I)->getTerminator());
404
PHINode *Phi =
dyn_cast
<PHINode>(Term->getCondition());
/external/swiftshader/third_party/LLVM/lib/Analysis/
BranchProbabilityInfo.cpp
169
ConstantInt *Weight =
dyn_cast
<ConstantInt>(WeightsNode->getOperand(i));
225
BranchInst * BI =
dyn_cast
<BranchInst>(BB->getTerminator());
230
ICmpInst *CI =
dyn_cast
<ICmpInst>(Cond);
324
BranchInst * BI =
dyn_cast
<BranchInst>(BB->getTerminator());
329
ICmpInst *CI =
dyn_cast
<ICmpInst>(Cond);
334
ConstantInt *CV =
dyn_cast
<ConstantInt>(RHS);
/external/swiftshader/third_party/LLVM/lib/Target/PTX/
PTXAsmPrinter.cpp
101
type =
dyn_cast
<SequentialType>(type)->getElementType();
319
PointerType* pointerTy =
dyn_cast
<PointerType>(gv->getType());
330
ArrayType* arrayTy =
dyn_cast
<ArrayType>(elementTy);
337
arrayTy =
dyn_cast
<ArrayType>(elementTy);
361
if (const ConstantArray *CA =
dyn_cast
<ConstantArray>(C))
481
const PointerType *PtrType =
dyn_cast
<const PointerType>(ArgType);
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
StripSymbols.cpp
148
if (GlobalVariable *GV =
dyn_cast
<GlobalVariable>(C)) {
198
ConstantArray *Inits =
dyn_cast
<ConstantArray>(LLVMUsed->getInitializer());
203
dyn_cast
<GlobalValue>(Inits->getOperand(i)->stripPointerCasts()))
310
if (Constant *C =
dyn_cast
<Constant>(Arg1))
316
if (Constant *C =
dyn_cast
<Constant>(Arg2))
325
if (GlobalVariable *GV =
dyn_cast
<GlobalVariable>(C)) {
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
LoopUnroll.cpp
50
if (PHINode *PN =
dyn_cast
<PHINode>(I)) {
152
BranchInst *BI =
dyn_cast
<BranchInst>(LatchBlock->getTerminator());
258
if (Instruction *InValI =
dyn_cast
<Instruction>(InVal))
279
PHINode *phi =
dyn_cast
<PHINode>(BBI); ++BBI) {
315
if (Instruction *InValI =
dyn_cast
<Instruction>(InVal)) {
361
PHINode *Phi =
dyn_cast
<PHINode>(BBI); ++BBI) {
/external/swiftshader/third_party/LLVM/utils/TableGen/
DAGISelMatcher.cpp
357
if (const CheckOpcodeMatcher *COM =
dyn_cast
<CheckOpcodeMatcher>(M)) {
367
if (const CheckTypeMatcher *CT =
dyn_cast
<CheckTypeMatcher>(M)) {
381
if (const CheckTypeMatcher *CT =
dyn_cast
<CheckTypeMatcher>(M))
387
if (const CheckChildTypeMatcher *CC =
dyn_cast
<CheckChildTypeMatcher>(M)) {
399
if (const CheckIntegerMatcher *CIM =
dyn_cast
<CheckIntegerMatcher>(M))
405
if (const CheckValueTypeMatcher *CVT =
dyn_cast
<CheckValueTypeMatcher>(M))
Completed in 1417 milliseconds
<<
21
22
23
24
25
26
27
28
29
30
>>