HomeSort by relevance Sort by last modified time
    Searched refs:dyn_cast (Results 151 - 175 of 1820) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/llvm/lib/Analysis/
MemoryLocation.cpp 69 if (ConstantInt *C = dyn_cast<ConstantInt>(MTI->getLength()))
82 if (ConstantInt *C = dyn_cast<ConstantInt>(MTI->getLength()))
101 if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(CS.getInstruction())) {
112 if (ConstantInt *LenCI = dyn_cast<ConstantInt>(II->getArgOperand(2)))
152 if (const ConstantInt *LenCI = dyn_cast<ConstantInt>(CS.getArgument(2)))
  /external/llvm/lib/TableGen/
Record.cpp 106 if (const BitsRecTy *BitsTy = dyn_cast<BitsRecTy>(RHS))
146 if (const auto *ListTy = dyn_cast<ListRecTy>(RHS))
156 return dyn_cast<RecordRecTy>(R->getDefInit()->getType());
164 const RecordRecTy *RTy = dyn_cast<RecordRecTy>(RHS);
185 if (RecordRecTy *RecTy1 = dyn_cast<RecordRecTy>(T1)) {
194 if (RecordRecTy *RecTy2 = dyn_cast<RecordRecTy>(T2)) {
220 if (auto *BRT = dyn_cast<BitsRecTy>(Ty)) {
247 if (auto *BRT = dyn_cast<BitsRecTy>(Ty)) {
294 if (auto *BRT = dyn_cast<BitsRecTy>(Ty)) {
304 if (auto *Bit = dyn_cast<BitInit>(getBit(i))
    [all...]
  /external/llvm/lib/Target/BPF/
BPFISelDAGToDAG.cpp 61 if (FrameIndexSDNode *FIN = dyn_cast<FrameIndexSDNode>(Addr)) {
73 ConstantSDNode *CN = dyn_cast<ConstantSDNode>(Addr.getOperand(1));
78 dyn_cast<FrameIndexSDNode>(Addr.getOperand(0)))
101 ConstantSDNode *CN = dyn_cast<ConstantSDNode>(Addr.getOperand(1));
106 dyn_cast<FrameIndexSDNode>(Addr.getOperand(0)))
  /external/llvm/lib/Transforms/IPO/
PartialInlining.cpp 62 BranchInst *BR = dyn_cast<BranchInst>(entryBlock->getTerminator());
102 PHINode* OldPhi = dyn_cast<PHINode>(I);
140 if (CallInst *CI = dyn_cast<CallInst>(User))
142 else if (InvokeInst *II = dyn_cast<InvokeInst>(User))
171 if (Instruction* I = dyn_cast<Instruction>(U))
  /external/llvm/lib/Transforms/Scalar/
LowerAtomic.cpp 117 if (FenceInst *FI = dyn_cast<FenceInst>(Inst))
119 else if (AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(Inst))
121 else if (AtomicRMWInst *RMWI = dyn_cast<AtomicRMWInst>(Inst))
123 else if (LoadInst *LI = dyn_cast<LoadInst>(Inst)) {
126 } else if (StoreInst *SI = dyn_cast<StoreInst>(Inst)) {
LoopInterchange.cpp 90 Instruction *Ins = dyn_cast<Instruction>(I);
93 LoadInst *Ld = dyn_cast<LoadInst>(I);
94 StoreInst *St = dyn_cast<StoreInst>(I);
113 Instruction *Src = dyn_cast<Instruction>(*I);
114 Instruction *Des = dyn_cast<Instruction>(*J);
314 dyn_cast<SCEVAddRecExpr>(SE->getSCEV(PhiVar));
318 const SCEVConstant *C = dyn_cast<SCEVConstant>(Step);
527 dyn_cast<BranchInst>(OuterMostLoopLatch->getTerminator());
603 PHINode *UserIns = dyn_cast<PHINode>(U);
614 if (LoadInst *L = dyn_cast<LoadInst>(I))
    [all...]
  /external/llvm/lib/Transforms/Utils/
FunctionImportUtils.cpp 27 if (auto *GA = dyn_cast<GlobalAlias>(SGV)) {
66 auto *GVar = dyn_cast<GlobalVariable>(SGV);
117 if (doImportAsDefinition(SGV) && !dyn_cast<GlobalAlias>(SGV))
150 if (doImportAsDefinition(SGV) && !dyn_cast<GlobalAlias>(SGV))
168 if (doImportAsDefinition(SGV) && !dyn_cast<GlobalAlias>(SGV))
  /external/swiftshader/third_party/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))
  /external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
LowerAtomic.cpp 118 if (FenceInst *FI = dyn_cast<FenceInst>(Inst))
120 else if (AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(Inst))
122 else if (AtomicRMWInst *RMWI = dyn_cast<AtomicRMWInst>(Inst))
124 else if (LoadInst *LI = dyn_cast<LoadInst>(Inst)) {
127 } else if (StoreInst *SI = dyn_cast<StoreInst>(Inst)) {
CodeGenPrepare.cpp 182 BranchInst *BI = dyn_cast<BranchInst>(BB->getTerminator());
223 while (const PHINode *PN = dyn_cast<PHINode>(BBI++)) {
233 if (const PHINode *UPN = dyn_cast<PHINode>(User))
235 Instruction *Insn = dyn_cast<Instruction>(UPN->getIncomingValue(I));
247 const PHINode *DestBBPN = dyn_cast<PHINode>(DestBB->begin());
252 if (const PHINode *BBPN = dyn_cast<PHINode>(BB->begin())) {
265 while (const PHINode *PN = dyn_cast<PHINode>(BBI++)) {
270 if (const PHINode *V2PN = dyn_cast<PHINode>(V2))
313 (PN = dyn_cast<PHINode>(BBI)); ++BBI) {
319 PHINode *InValPhi = dyn_cast<PHINode>(InVal)
    [all...]
JumpThreading.cpp 175 BranchInst *BI = dyn_cast<BranchInst>(BB->getTerminator());
241 if (const CallInst *CI = dyn_cast<CallInst>(I)) {
294 if (UndefValue *U = dyn_cast<UndefValue>(Val))
298 return dyn_cast<BlockAddress>(Val->stripPointerCasts());
300 return dyn_cast<ConstantInt>(Val);
334 Instruction *I = dyn_cast<Instruction>(V);
363 if (PHINode *PN = dyn_cast<PHINode>(I)) {
444 } else if (BinaryOperator *BO = dyn_cast<BinaryOperator>(I)) {
447 if (ConstantInt *CI = dyn_cast<ConstantInt>(BO->getOperand(1))) {
466 if (CmpInst *Cmp = dyn_cast<CmpInst>(I))
    [all...]
  /external/swiftshader/third_party/LLVM/unittests/Support/
Casting.cpp 55 return dyn_cast<foo>(this);
115 TEST(CastingTest, dyn_cast) {
116 const foo *F1 = dyn_cast<foo>(B2);
118 const foo *F2 = dyn_cast<foo>(B2);
120 const foo *F3 = dyn_cast<foo>(B4);
122 // foo *F4 = dyn_cast<foo>(fub()); // not permittible
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARC/InstPrinter/
ARCInstPrinter.cpp 107 if (const auto *CE = dyn_cast<MCConstantExpr>(Expr)) {
113 if (const auto *BE = dyn_cast<MCBinaryExpr>(Expr)) {
114 SRE = dyn_cast<MCSymbolRefExpr>(BE->getLHS());
115 const auto *CE = dyn_cast<MCConstantExpr>(BE->getRHS());
119 SRE = dyn_cast<MCSymbolRefExpr>(Expr);
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
LowerAtomic.cpp 116 if (FenceInst *FI = dyn_cast<FenceInst>(Inst))
118 else if (AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(Inst))
120 else if (AtomicRMWInst *RMWI = dyn_cast<AtomicRMWInst>(Inst))
122 else if (LoadInst *LI = dyn_cast<LoadInst>(Inst)) {
125 } else if (StoreInst *SI = dyn_cast<StoreInst>(Inst)) {
  /external/swiftshader/third_party/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...]
  /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);
314 EXPECT_TRUE(dyn_cast<pointer_wrappers::Derived>(MB) == nullptr);
315 EXPECT_TRUE(dyn_cast<pointer_wrappers::Derived>(CB) == nullptr)
    [all...]
  /external/llvm/lib/Transforms/InstCombine/
InstCombineSelect.cpp 205 if (BinaryOperator *BO = dyn_cast<BinaryOperator>(TI)) {
215 ConstantInt *C1I = dyn_cast<ConstantInt>(C1);
218 ConstantInt *C2I = dyn_cast<ConstantInt>(C2);
233 if (Instruction *TVI = dyn_cast<Instruction>(TrueVal)) {
263 if (Instruction *FVI = dyn_cast<Instruction>(FalseVal)) {
312 const ICmpInst *IC = dyn_cast<ICmpInst>(SI.getCondition());
428 if (ConstantInt *CI = dyn_cast<ConstantInt>(CmpRHS)) {
436 IntegerType *SelectTy = dyn_cast<IntegerType>(SI.getType());
516 if (IntegerType *Ty = dyn_cast<IntegerType>(CmpLHS->getType())) {
518 if (ConstantInt *Cmp = dyn_cast<ConstantInt>(CmpRHS))
    [all...]
InstCombineLoadStoreAlloca.cpp 35 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(V))
38 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(V)) {
69 if (LoadInst *LI = dyn_cast<LoadInst>(I)) {
80 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(I)) {
115 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) {
126 MemTransferInst *MI = dyn_cast<MemTransferInst>(I);
184 if (const ConstantInt *C = dyn_cast<ConstantInt>(AI.getArraySize())) {
254 AllocaInst *EntryAI = dyn_cast<AllocaInst>(FirstInst);
480 auto *SI = dyn_cast<StoreInst>(U);
504 if (auto* CI = dyn_cast<CastInst>(LI.user_back()))
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
WinEHPrepare.cpp 157 dyn_cast<AllocaInst>(CPI->getArgOperand(2)->stripPointerCasts()))
168 if (const auto *CRI = dyn_cast<CleanupReturnInst>(U))
178 auto *II = dyn_cast<InvokeInst>(BB.getTerminator());
188 dyn_cast<FuncletPadInst>(FuncletEntryBB->getFirstNonPHI());
192 else if (auto *CatchPad = dyn_cast<CatchPadInst>(FuncletPad))
194 else if (auto *CleanupPad = dyn_cast<CleanupPadInst>(FuncletPad))
224 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(TI)) {
242 if (auto *CatchSwitch = dyn_cast<CatchSwitchInst>(FirstNonPHI)) {
266 if (auto *InnerCatchSwitch = dyn_cast<CatchSwitchInst>(UserI)) {
271 if (auto *InnerCleanupPad = dyn_cast<CleanupPadInst>(UserI))
    [all...]
  /external/swiftshader/third_party/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/BPF/
BPFISelDAGToDAG.cpp 111 if (FrameIndexSDNode *FIN = dyn_cast<FrameIndexSDNode>(Addr)) {
123 ConstantSDNode *CN = dyn_cast<ConstantSDNode>(Addr.getOperand(1));
128 dyn_cast<FrameIndexSDNode>(Addr.getOperand(0)))
152 ConstantSDNode *CN = dyn_cast<ConstantSDNode>(Addr.getOperand(1));
156 if (FrameIndexSDNode *FIN = dyn_cast<FrameIndexSDNode>(Addr.getOperand(0)))
283 dyn_cast<GlobalAddressSDNode>(OP1N->getOperand(0).getNode());
284 const ConstantSDNode *CDN = dyn_cast<ConstantSDNode>(OP2.getNode());
294 dyn_cast<GlobalAddressSDNode>(OP1.getNode()))
372 const GlobalVariable *V = dyn_cast<GlobalVariable>(Node->getGlobal());
386 if (const ConstantStruct *CS = dyn_cast<ConstantStruct>(Init)
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
PPCLoopPreIncPrep.cpp 147 while (BitCastInst *BC = dyn_cast<BitCastInst>(StrippedBasePtr))
149 if (GetElementPtrInst *GEP = dyn_cast<GetElementPtrInst>(StrippedBasePtr))
156 if (LoadInst *LMemI = dyn_cast<LoadInst>(MemI)) {
158 } else if (StoreInst *SMemI = dyn_cast<StoreInst>(MemI)) {
160 } else if (IntrinsicInst *IMemI = dyn_cast<IntrinsicInst>(MemI)) {
207 PHINode *CurrentPHINode = dyn_cast<PHINode>(&CurrentPHI);
216 const SCEVAddRecExpr *PHIBasePtrSCEV = dyn_cast<SCEVAddRecExpr>(PHISCEV);
221 dyn_cast<SCEVConstant>(PHIBasePtrSCEV->getStepRecurrence(*SE));
268 if (LoadInst *LMemI = dyn_cast<LoadInst>(J)) {
271 } else if (StoreInst *SMemI = dyn_cast<StoreInst>(J))
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
HexagonLoopIdiomRecognition.cpp 275 Instruction *U = dyn_cast<Instruction>(Q.pop_front_val());
286 const auto *U = dyn_cast<const Instruction>(V);
324 if (Instruction *U = dyn_cast<Instruction>(V)) {
388 Instruction *U = dyn_cast<Instruction>(Q.pop_front_val());
422 Instruction *U = dyn_cast<Instruction>(V);
466 auto *InI = dyn_cast<const Instruction>(OpI);
467 auto *InJ = dyn_cast<const Instruction>(OpJ);
478 Instruction *SubI = dyn_cast<Instruction>(Sub);
486 Instruction *U = dyn_cast<Instruction>(V);
504 if (Instruction *OpI = dyn_cast<Instruction>(Op)
    [all...]
  /external/clang/lib/AST/
Expr.cpp 61 if (const CastExpr *CE = dyn_cast<CastExpr>(E)) {
76 } else if (const MemberExpr *ME = dyn_cast<MemberExpr>(E)) {
79 if (FieldDecl *Field = dyn_cast<FieldDecl>(ME->getMemberDecl())) {
87 } else if (const BinaryOperator *BO = dyn_cast<BinaryOperator>(E)) {
120 if (const UnaryOperator *UO = dyn_cast<UnaryOperator>(E)) {
133 if (const ImplicitCastExpr *CE = dyn_cast<ImplicitCastExpr>(E))
136 if (const BinaryOperator *BO = dyn_cast<BinaryOperator>(E)) {
162 if (const ConditionalOperator *CO = dyn_cast<ConditionalOperator>(E))
269 if (VarDecl *Var = dyn_cast<VarDecl>(D)) {
476 if (const NamedDecl *ND = dyn_cast<NamedDecl>(CurrentDecl))
    [all...]
  /external/swiftshader/third_party/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...]

Completed in 1035 milliseconds

1 2 3 4 5 67 8 91011>>