OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:dyn_cast
(Results
101 - 125
of
1820
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
ScalarReplAggregates.cpp
355
if (VectorType *VInTy =
dyn_cast
<VectorType>(In)) {
418
if (LoadInst *LI =
dyn_cast
<LoadInst>(User)) {
430
if (StoreInst *SI =
dyn_cast
<StoreInst>(User)) {
441
if (BitCastInst *BCI =
dyn_cast
<BitCastInst>(User)) {
449
if (GetElementPtrInst *GEP =
dyn_cast
<GetElementPtrInst>(User)) {
468
if (MemSetInst *MSI =
dyn_cast
<MemSetInst>(User)) {
474
ConstantInt *Len =
dyn_cast
<ConstantInt>(MSI->getLength());
492
if (MemTransferInst *MTI =
dyn_cast
<MemTransferInst>(User)) {
493
ConstantInt *Len =
dyn_cast
<ConstantInt>(MTI->getLength());
502
if (IntrinsicInst *II =
dyn_cast
<IntrinsicInst>(User))
[
all
...]
DeadStoreElimination.cpp
129
if (Instruction *OpI =
dyn_cast
<Instruction>(Op))
146
if (IntrinsicInst *II =
dyn_cast
<IntrinsicInst>(I)) {
166
if (StoreInst *SI =
dyn_cast
<StoreInst>(Inst))
169
if (MemIntrinsic *MI =
dyn_cast
<MemIntrinsic>(Inst)) {
180
IntrinsicInst *II =
dyn_cast
<IntrinsicInst>(Inst);
209
if (MemTransferInst *MTI =
dyn_cast
<MemTransferInst>(Inst))
219
if (StoreInst *SI =
dyn_cast
<StoreInst>(I))
243
if (StoreInst *SI =
dyn_cast
<StoreInst>(I))
245
if (MemIntrinsic *MI =
dyn_cast
<MemIntrinsic>(I))
261
if (AllocaInst *A =
dyn_cast
<AllocaInst>(V))
[
all
...]
/external/llvm/lib/IR/
Instruction.cpp
219
if (auto *OB =
dyn_cast
<OverflowingBinaryOperator>(V)) {
227
if (auto *PE =
dyn_cast
<PossiblyExactOperator>(V))
232
if (auto *FP =
dyn_cast
<FPMathOperator>(V))
238
if (auto *OB =
dyn_cast
<OverflowingBinaryOperator>(V)) {
245
if (auto *PE =
dyn_cast
<PossiblyExactOperator>(V))
249
if (auto *FP =
dyn_cast
<FPMathOperator>(V)) {
346
if (const AllocaInst *AI =
dyn_cast
<AllocaInst>(I1))
350
if (const LoadInst *LI =
dyn_cast
<LoadInst>(I1))
356
if (const StoreInst *SI =
dyn_cast
<StoreInst>(I1))
362
if (const CmpInst *CI =
dyn_cast
<CmpInst>(I1)
[
all
...]
ConstantFold.cpp
107
if (PointerType *PTy =
dyn_cast
<PointerType>(V->getType()))
108
if (PointerType *DPTy =
dyn_cast
<PointerType>(DestTy))
117
if (StructType *STy =
dyn_cast
<StructType>(ElTy)) {
122
dyn_cast
<SequentialType>(ElTy)) {
139
if (VectorType *DestPTy =
dyn_cast
<VectorType>(DestTy)) {
140
if (VectorType *SrcTy =
dyn_cast
<VectorType>(V->getType())) {
165
if (ConstantInt *CI =
dyn_cast
<ConstantInt>(V)) {
182
if (ConstantFP *FP =
dyn_cast
<ConstantFP>(V)) {
223
if (ConstantInt *CI =
dyn_cast
<ConstantInt>(C)) {
233
ConstantExpr *CE =
dyn_cast
<ConstantExpr>(C)
[
all
...]
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
InstCombineLoadStoreAlloca.cpp
40
if (const ConstantInt *C =
dyn_cast
<ConstantInt>(AI.getArraySize())) {
96
if (PointerType *SrcTy =
dyn_cast
<PointerType>(CastOp->getType())) {
109
if (ArrayType *ASrcTy =
dyn_cast
<ArrayType>(SrcPTy))
110
if (Constant *CSrc =
dyn_cast
<Constant>(CastOp))
178
if (GetElementPtrInst *GEPI =
dyn_cast
<GetElementPtrInst>(Op)) {
205
if (ConstantExpr *CE =
dyn_cast
<ConstantExpr>(Op))
221
if (SelectInst *SI =
dyn_cast
<SelectInst>(Op)) {
236
if (Constant *C =
dyn_cast
<Constant>(SI->getOperand(1)))
243
if (Constant *C =
dyn_cast
<Constant>(SI->getOperand(2)))
261
PointerType *SrcTy =
dyn_cast
<PointerType>(CastOp->getType())
[
all
...]
InstructionCombining.cpp
118
OverflowingBinaryOperator *OBO =
dyn_cast
<OverflowingBinaryOperator>(&I);
130
ConstantInt *CB =
dyn_cast
<ConstantInt>(B);
131
ConstantInt *CC =
dyn_cast
<ConstantInt>(C);
183
BinaryOperator *Op0 =
dyn_cast
<BinaryOperator>(I.getOperand(0));
184
BinaryOperator *Op1 =
dyn_cast
<BinaryOperator>(I.getOperand(1));
368
BinaryOperator *Op0 =
dyn_cast
<BinaryOperator>(LHS);
369
BinaryOperator *Op1 =
dyn_cast
<BinaryOperator>(RHS);
490
if (ConstantInt *C =
dyn_cast
<ConstantInt>(V))
493
if (ConstantVector *C =
dyn_cast
<ConstantVector>(V))
509
if (ConstantFP *C =
dyn_cast
<ConstantFP>(V)
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
InferAddressSpaces.cpp
267
const ConstantInt *IsVolatile =
dyn_cast
<ConstantInt>(II->getArgOperand(4));
316
if (ConstantExpr *CE =
dyn_cast
<ConstantExpr>(V)) {
331
if (ConstantExpr *CE =
dyn_cast
<ConstantExpr>(Op->getOperand(I))) {
359
if (auto *GEP =
dyn_cast
<GetElementPtrInst>(&I)) {
362
} else if (auto *LI =
dyn_cast
<LoadInst>(&I))
364
else if (auto *SI =
dyn_cast
<StoreInst>(&I))
366
else if (auto *RMW =
dyn_cast
<AtomicRMWInst>(&I))
368
else if (auto *CmpX =
dyn_cast
<AtomicCmpXchgInst>(&I))
370
else if (auto *MI =
dyn_cast
<MemIntrinsic>(&I)) {
375
if (auto *MTI =
dyn_cast
<MemTransferInst>(MI)
[
all
...]
/external/llvm/lib/Target/PowerPC/
PPCLoopPreIncPrep.cpp
125
while (BitCastInst *BC =
dyn_cast
<BitCastInst>(StrippedBasePtr))
127
if (GetElementPtrInst *GEP =
dyn_cast
<GetElementPtrInst>(StrippedBasePtr))
134
if (LoadInst *LMemI =
dyn_cast
<LoadInst>(MemI)) {
136
} else if (StoreInst *SMemI =
dyn_cast
<StoreInst>(MemI)) {
138
} else if (IntrinsicInst *IMemI =
dyn_cast
<IntrinsicInst>(MemI)) {
191
if (LoadInst *LMemI =
dyn_cast
<LoadInst>(J)) {
194
} else if (StoreInst *SMemI =
dyn_cast
<StoreInst>(J)) {
197
} else if (IntrinsicInst *IMemI =
dyn_cast
<IntrinsicInst>(J)) {
217
if (const SCEVAddRecExpr *LARSCEV =
dyn_cast
<SCEVAddRecExpr>(LSCEV)) {
227
if (const auto *CDiff =
dyn_cast
<SCEVConstant>(Diff))
[
all
...]
/external/spirv-llvm/lib/SPIRV/
SPIRVLowerOCLBlocks.cpp
155
if (auto CE =
dyn_cast
<ConstantExpr>(U)){
174
auto CI =
dyn_cast
<CallInst>(*UI++);
185
auto CI =
dyn_cast
<CallInst>(*UI++);
212
if (auto Ret =
dyn_cast
<ReturnInst>(BlkUser)) {
217
} else if (auto CI =
dyn_cast
<CallInst>(BlkUser)){
262
auto Cast =
dyn_cast
<BitCastInst>(CallInv);
264
CallInv =
dyn_cast
<Instruction>(*CallInv->user_begin());
330
auto Inst =
dyn_cast
<Instruction>(U);
336
auto CI =
dyn_cast
<CallInst>(U);
359
if (auto CallBlkBind =
dyn_cast
<CallInst>(Blk))
[
all
...]
/external/swiftshader/third_party/LLVM/lib/Analysis/
ConstantFolding.cpp
55
VectorType *DestVTy =
dyn_cast
<VectorType>(DestTy);
67
ConstantVector *CV =
dyn_cast
<ConstantVector>(C);
111
CV =
dyn_cast
<ConstantVector>(C);
134
Constant *Src =
dyn_cast
<ConstantInt>(CV->getOperand(SrcElt++));
158
Constant *Src =
dyn_cast
<ConstantInt>(CV->getOperand(i));
186
if ((GV =
dyn_cast
<GlobalValue>(C))) {
192
ConstantExpr *CE =
dyn_cast
<ConstantExpr>(C);
216
ConstantInt *CI =
dyn_cast
<ConstantInt>(*i);
220
if (StructType *ST =
dyn_cast
<StructType>(*GTI)) {
249
if (ConstantInt *CI =
dyn_cast
<ConstantInt>(C))
[
all
...]
BasicAliasAnalysis.cpp
52
if (const Argument *A =
dyn_cast
<Argument>(V))
56
if (const GlobalValue *GV =
dyn_cast
<GlobalValue>(V))
76
if (const Argument *A =
dyn_cast
<Argument>(V))
105
if (const GlobalVariable *GV =
dyn_cast
<GlobalVariable>(V)) {
109
} else if (const AllocaInst *AI =
dyn_cast
<AllocaInst>(V)) {
117
if (const ConstantInt* C =
dyn_cast
<ConstantInt>(CI->getArgOperand(0)))
120
} else if (const Argument *A =
dyn_cast
<Argument>(V)) {
189
if (BinaryOperator *BOp =
dyn_cast
<BinaryOperator>(V)) {
190
if (ConstantInt *RHSC =
dyn_cast
<ConstantInt>(BOp->getOperand(1))) {
268
const Operator *Op =
dyn_cast
<Operator>(V)
[
all
...]
/external/swiftshader/third_party/LLVM/lib/VMCore/
Value.cpp
112
const Instruction *User =
dyn_cast
<Instruction>(*I);
129
if (Instruction *I =
dyn_cast
<Instruction>(V)) {
133
} else if (BasicBlock *BB =
dyn_cast
<BasicBlock>(V)) {
136
} else if (GlobalValue *GV =
dyn_cast
<GlobalValue>(V)) {
139
} else if (Argument *A =
dyn_cast
<Argument>(V)) {
297
if (Constant *C =
dyn_cast
<Constant>(U.getUser())) {
307
if (BasicBlock *BB =
dyn_cast
<BasicBlock>(this))
322
if (GEPOperator *GEP =
dyn_cast
<GEPOperator>(V)) {
328
} else if (GlobalAlias *GA =
dyn_cast
<GlobalAlias>(V)) {
355
if (const GlobalVariable *GV =
dyn_cast
<GlobalVariable>(this)
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
StackProtector.cpp
118
if (ArrayType *AT =
dyn_cast
<ArrayType>(Ty)) {
140
const StructType *ST =
dyn_cast
<StructType>(Ty);
161
if (const auto Intrinsic =
dyn_cast
<IntrinsicInst>(I)) {
170
if (const StoreInst *SI =
dyn_cast
<StoreInst>(U)) {
173
} else if (const PtrToIntInst *SI =
dyn_cast
<PtrToIntInst>(U)) {
176
} else if (const CallInst *CI =
dyn_cast
<CallInst>(U)) {
182
} else if (const SelectInst *SI =
dyn_cast
<SelectInst>(U)) {
185
} else if (const PHINode *PN =
dyn_cast
<PHINode>(U)) {
191
} else if (const GetElementPtrInst *GEP =
dyn_cast
<GetElementPtrInst>(U)) {
194
} else if (const BitCastInst *BI =
dyn_cast
<BitCastInst>(U))
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
AMDGPUPerfHintAnalysis.cpp
127
if (auto LI =
dyn_cast
<LoadInst>(Inst)) {
130
if (auto SI =
dyn_cast
<StoreInst>(Inst)) {
133
if (auto AI =
dyn_cast
<AtomicCmpXchgInst>(Inst)) {
136
if (auto AI =
dyn_cast
<AtomicRMWInst>(Inst)) {
139
if (auto MI =
dyn_cast
<AnyMemIntrinsic>(Inst)) {
162
if (auto LD =
dyn_cast
<LoadInst>(V)) {
171
if (auto GEP =
dyn_cast
<GetElementPtrInst>(V)) {
179
if (auto U =
dyn_cast
<UnaryInstruction>(V)) {
184
if (auto BO =
dyn_cast
<BinaryOperator>(V)) {
190
if (auto S =
dyn_cast
<SelectInst>(V))
[
all
...]
/external/llvm/lib/Analysis/
Loads.cpp
62
if (const BitCastOperator *BC =
dyn_cast
<BitCastOperator>(V))
76
if (const GEPOperator *GEP =
dyn_cast
<GEPOperator>(V)) {
96
if (const GCRelocateInst *RelocateInst =
dyn_cast
<GCRelocateInst>(V))
100
if (const AddrSpaceCastInst *ASC =
dyn_cast
<AddrSpaceCastInst>(V))
166
if (const Instruction *BI =
dyn_cast
<Instruction>(B))
208
if (const AllocaInst *AI =
dyn_cast
<AllocaInst>(Base)) {
212
} else if (const GlobalVariable *GV =
dyn_cast
<GlobalVariable>(Base)) {
267
if (LoadInst *LI =
dyn_cast
<LoadInst>(BBI)) {
270
} else if (StoreInst *SI =
dyn_cast
<StoreInst>(BBI)) {
349
if (LoadInst *LI =
dyn_cast
<LoadInst>(Inst)
[
all
...]
/external/llvm/lib/Transforms/Utils/
FlattenCFG.cpp
125
PHINode *PHI =
dyn_cast
<PHINode>(BB->begin());
139
BranchInst *PBI =
dyn_cast
<BranchInst>(Pred->getTerminator());
211
BranchInst *BPS =
dyn_cast
<BranchInst>(PS->getTerminator());
225
BranchInst *PBI1 =
dyn_cast
<BranchInst>(PS1->getTerminator());
226
BranchInst *PBI2 =
dyn_cast
<BranchInst>(PS2->getTerminator());
242
BranchInst *BI =
dyn_cast
<BranchInst>(CurrBlock->getTerminator());
243
CmpInst *CI =
dyn_cast
<CmpInst>(BI->getCondition());
263
PHI =
dyn_cast
<PHINode>(PS2->begin());
269
BranchInst *PBI =
dyn_cast
<BranchInst>(FirstCondBlock->getTerminator());
347
StoreInst *SI =
dyn_cast
<StoreInst>(CurI)
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
Loads.cpp
66
if (const BitCastOperator *BC =
dyn_cast
<BitCastOperator>(V))
80
if (const GEPOperator *GEP =
dyn_cast
<GEPOperator>(V)) {
102
if (const GCRelocateInst *RelocateInst =
dyn_cast
<GCRelocateInst>(V))
106
if (const AddrSpaceCastInst *ASC =
dyn_cast
<AddrSpaceCastInst>(V))
182
if (const Instruction *BI =
dyn_cast
<Instruction>(B))
224
if (const AllocaInst *AI =
dyn_cast
<AllocaInst>(Base)) {
228
} else if (const GlobalVariable *GV =
dyn_cast
<GlobalVariable>(Base)) {
283
if (LoadInst *LI =
dyn_cast
<LoadInst>(BBI)) {
286
} else if (StoreInst *SI =
dyn_cast
<StoreInst>(BBI)) {
373
if (LoadInst *LI =
dyn_cast
<LoadInst>(Inst)
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/AggressiveInstCombine/
TruncInstCombine.cpp
81
auto *I =
dyn_cast
<Instruction>(Curr);
176
if (auto *IOp =
dyn_cast
<Instruction>(Operand))
191
if (auto *IOp =
dyn_cast
<Instruction>(Operand)) {
244
if (auto *UI =
dyn_cast
<Instruction>(U))
280
if (auto *VTy =
dyn_cast
<VectorType>(V->getType()))
287
if (auto *C =
dyn_cast
<Constant>(V)) {
336
if (auto *NewCI =
dyn_cast
<TruncInst>(Res))
340
} else if (auto *NewCI =
dyn_cast
<TruncInst>(Res))
360
if (auto *ResI =
dyn_cast
<Instruction>(Res))
369
if (auto *ResI =
dyn_cast
<Instruction>(Res)
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
FlattenCFG.cpp
138
PHINode *PHI =
dyn_cast
<PHINode>(BB->begin());
152
BranchInst *PBI =
dyn_cast
<BranchInst>(Pred->getTerminator());
224
BranchInst *BPS =
dyn_cast
<BranchInst>(PS->getTerminator());
238
BranchInst *PBI1 =
dyn_cast
<BranchInst>(PS1->getTerminator());
239
BranchInst *PBI2 =
dyn_cast
<BranchInst>(PS2->getTerminator());
255
BranchInst *BI =
dyn_cast
<BranchInst>(CurrBlock->getTerminator());
256
CmpInst *CI =
dyn_cast
<CmpInst>(BI->getCondition());
276
PHI =
dyn_cast
<PHINode>(PS2->begin());
282
BranchInst *PBI =
dyn_cast
<BranchInst>(FirstCondBlock->getTerminator());
359
StoreInst *SI =
dyn_cast
<StoreInst>(CurI)
[
all
...]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/AsmParser/
LanaiAsmParser.cpp
213
const MCConstantExpr *MCE =
dyn_cast
<MCConstantExpr>(Imm.Value);
230
if (const MCConstantExpr *ConstExpr =
dyn_cast
<MCConstantExpr>(Imm.Value)) {
236
if (const LanaiMCExpr *SymbolRefExpr =
dyn_cast
<LanaiMCExpr>(Imm.Value))
240
if (const MCBinaryExpr *BinaryExpr =
dyn_cast
<MCBinaryExpr>(Imm.Value))
242
dyn_cast
<LanaiMCExpr>(BinaryExpr->getLHS()))
252
const MCConstantExpr *ConstExpr =
dyn_cast
<MCConstantExpr>(Imm.Value);
266
if (const MCConstantExpr *ConstExpr =
dyn_cast
<MCConstantExpr>(Imm.Value)) {
273
if (const LanaiMCExpr *SymbolRefExpr =
dyn_cast
<LanaiMCExpr>(Imm.Value))
277
if (const MCBinaryExpr *BinaryExpr =
dyn_cast
<MCBinaryExpr>(Imm.Value))
279
dyn_cast
<LanaiMCExpr>(BinaryExpr->getLHS())
[
all
...]
/external/llvm/lib/CodeGen/
WinEHPrepare.cpp
148
dyn_cast
<AllocaInst>(CPI->getArgOperand(2)->stripPointerCasts()))
159
if (const auto *CRI =
dyn_cast
<CleanupReturnInst>(U))
169
auto *II =
dyn_cast
<InvokeInst>(BB.getTerminator());
179
dyn_cast
<FuncletPadInst>(FuncletEntryBB->getFirstNonPHI());
183
else if (auto *CatchPad =
dyn_cast
<CatchPadInst>(FuncletPad))
185
else if (auto *CleanupPad =
dyn_cast
<CleanupPadInst>(FuncletPad))
215
if (auto *CatchSwitch =
dyn_cast
<CatchSwitchInst>(TI)) {
233
if (auto *CatchSwitch =
dyn_cast
<CatchSwitchInst>(FirstNonPHI)) {
257
if (auto *InnerCatchSwitch =
dyn_cast
<CatchSwitchInst>(UserI)) {
262
if (auto *InnerCleanupPad =
dyn_cast
<CleanupPadInst>(UserI))
[
all
...]
/external/llvm/include/llvm/IR/
IRBuilder.h
780
if (Constant *LC =
dyn_cast
<Constant>(LHS))
781
if (Constant *RC =
dyn_cast
<Constant>(RHS))
794
if (Constant *LC =
dyn_cast
<Constant>(LHS))
795
if (Constant *RC =
dyn_cast
<Constant>(RHS))
802
if (Constant *LC =
dyn_cast
<Constant>(LHS))
803
if (Constant *RC =
dyn_cast
<Constant>(RHS))
816
if (Constant *LC =
dyn_cast
<Constant>(LHS))
817
if (Constant *RC =
dyn_cast
<Constant>(RHS))
824
if (Constant *LC =
dyn_cast
<Constant>(LHS))
825
if (Constant *RC =
dyn_cast
<Constant>(RHS)
[
all
...]
/external/clang/lib/AST/
TemplateName.cpp
88
if (TemplateDecl *Template = Storage.
dyn_cast
<TemplateDecl *>())
102
Storage.
dyn_cast
<UncommonTemplateNameStorage *>())
111
Storage.
dyn_cast
<UncommonTemplateNameStorage *>())
120
Storage.
dyn_cast
<UncommonTemplateNameStorage *>())
127
return Storage.
dyn_cast
<QualifiedTemplateName *>();
131
return Storage.
dyn_cast
<DependentTemplateName *>();
164
=
dyn_cast
<TemplateTemplateParmDecl>(Template))
180
if (TemplateDecl *Template = Storage.
dyn_cast
<TemplateDecl *>())
/external/clang/lib/CodeGen/
CGCUDARuntime.cpp
41
if (const ImplicitCastExpr *CE =
dyn_cast
<ImplicitCastExpr>(E->getCallee())) {
42
if (const DeclRefExpr *DRE =
dyn_cast
<DeclRefExpr>(CE->getSubExpr())) {
/external/clang/lib/Serialization/
ASTCommon.h
60
if (const BuiltinType *BT =
dyn_cast
<BuiltinType>(T.getTypePtr()))
99
if (auto *FD =
dyn_cast
<FriendDecl>(LexicalD))
Completed in 913 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>