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

12 3 4 5 6 7 8 91011>>

  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/
LanaiSelectionDAGInfo.cpp 28 ConstantSDNode *ConstantSize = dyn_cast<ConstantSDNode>(Size);
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
LowerExpectIntrinsic.cpp 58 CallInst *CI = dyn_cast<CallInst>(SI.getCondition());
67 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1));
96 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(Expect->getArgOperand(1));
114 if (ZExtInst *ZExt = dyn_cast<ZExtInst>(V)) {
120 if (SExtInst *SExt = dyn_cast<SExtInst>(V)) {
126 BinaryOperator *BinOp = dyn_cast<BinaryOperator>(V);
130 ConstantInt *CInt = dyn_cast<ConstantInt>(BinOp->getOperand(1));
159 auto *PhiDef = dyn_cast<PHINode>(V);
165 BranchInst *BI = dyn_cast<BranchInst>(BB->getTerminator());
171 BI = dyn_cast<BranchInst>(BB->getTerminator())
    [all...]
  /external/clang/lib/Sema/
ScopeInfo.cpp 85 dyn_cast<ObjCPropertyRefExpr>(POE->getSyntacticForm());
91 if (const OpaqueValueExpr *OVE = dyn_cast<OpaqueValueExpr>(DoubleBase))
108 if (auto *LSI = dyn_cast<LambdaScopeInfo>(this))
110 else if (auto CRSI = dyn_cast<CapturedRegionScopeInfo>(this))
166 if (const PseudoObjectExpr *POE = dyn_cast<PseudoObjectExpr>(E)) {
171 if (const ConditionalOperator *Cond = dyn_cast<ConditionalOperator>(E)) {
178 dyn_cast<BinaryConditionalOperator>(E)) {
186 if (const ObjCPropertyRefExpr *RefExpr = dyn_cast<ObjCPropertyRefExpr>(E)) {
196 else if (const ObjCIvarRefExpr *IvarE = dyn_cast<ObjCIvarRefExpr>(E))
198 else if (const DeclRefExpr *DRE = dyn_cast<DeclRefExpr>(E)
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
Evaluator.cpp 67 if (auto *GV = dyn_cast<GlobalValue>(C))
138 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(C))
142 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(C)) {
154 ConstantInt *CI = dyn_cast<ConstantInt>(*std::next(CE->op_begin()));
179 auto *GV = dyn_cast<GlobalVariable>(C);
192 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(P)) {
198 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(P)) {
222 if (auto *Fn = dyn_cast<Function>(C))
225 if (auto *Alias = dyn_cast<GlobalAlias>(C))
226 if (auto *Fn = dyn_cast<Function>(Alias->getAliasee())
    [all...]
  /external/llvm/lib/Transforms/Scalar/
LowerExpectIntrinsic.cpp 57 CallInst *CI = dyn_cast<CallInst>(SI.getCondition());
66 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1));
101 ICmpInst *CmpI = dyn_cast<ICmpInst>(BI.getCondition());
103 CI = dyn_cast<CallInst>(BI.getCondition());
107 CI = dyn_cast<CallInst>(CmpI->getOperand(0));
118 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1));
146 if (BranchInst *BI = dyn_cast<BranchInst>(BB.getTerminator())) {
149 } else if (SwitchInst *SI = dyn_cast<SwitchInst>(BB.getTerminator())) {
156 CallInst *CI = dyn_cast<CallInst>(BI++);
  /external/swiftshader/third_party/LLVM/lib/Analysis/
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)) {
193 if (LoadInst *LI = dyn_cast<LoadInst>(Inst))
197 if (StoreInst *SI = dyn_cast<StoreInst>(Inst)) {
MemoryBuiltins.cpp 61 const CallInst *CI = dyn_cast<CallInst>(I);
66 CallInst *CI = dyn_cast<CallInst>(I);
74 return isMallocCall(dyn_cast<CallInst>(BCI->getOperand(0)));
80 BitCastInst *BCI = dyn_cast<BitCastInst>(I);
86 const BitCastInst *BCI = dyn_cast<BitCastInst>(I);
102 if (StructType *ST = dyn_cast<StructType>(T))
145 if (const BitCastInst *BCI = dyn_cast<BitCastInst>(*UI++)) {
189 const CallInst *CI = dyn_cast<CallInst>(I);
  /external/swiftshader/third_party/LLVM/lib/VMCore/
Instruction.cpp 197 if (const LoadInst *LI = dyn_cast<LoadInst>(this))
202 if (const StoreInst *SI = dyn_cast<StoreInst>(this))
207 if (const CmpInst *CI = dyn_cast<CmpInst>(this))
209 if (const CallInst *CI = dyn_cast<CallInst>(this))
213 if (const InvokeInst *CI = dyn_cast<InvokeInst>(this))
216 if (const InsertValueInst *IVI = dyn_cast<InsertValueInst>(this))
218 if (const ExtractValueInst *EVI = dyn_cast<ExtractValueInst>(this))
220 if (const FenceInst *FI = dyn_cast<FenceInst>(this))
223 if (const AtomicCmpXchgInst *CXI = dyn_cast<AtomicCmpXchgInst>(this))
227 if (const AtomicRMWInst *RMWI = dyn_cast<AtomicRMWInst>(this)
    [all...]
  /external/clang/tools/libclang/
CIndexCXX.cpp 94 if (const CXXRecordDecl *CXXRecord = dyn_cast<CXXRecordDecl>(D)) {
96 = dyn_cast<ClassTemplatePartialSpecializationDecl>(CXXRecord))
99 = dyn_cast<ClassTemplateSpecializationDecl>(CXXRecord)) {
110 } else if (const FunctionDecl *Function = dyn_cast<FunctionDecl>(D)) {
114 } else if (const VarDecl *Var = dyn_cast<VarDecl>(D)) {
118 = dyn_cast<RedeclarableTemplateDecl>(D))
  /external/llvm/lib/Analysis/
TypeMetadataUtils.cpp 30 } else if (auto CI = dyn_cast<CallInst>(User)) {
32 } else if (auto II = dyn_cast<InvokeInst>(User)) {
51 } else if (auto GEP = dyn_cast<GetElementPtrInst>(User)) {
72 auto AssumeCI = dyn_cast<CallInst>(CIU.getUser());
94 auto *Offset = dyn_cast<ConstantInt>(CI->getArgOperand(1));
102 if (auto EVI = dyn_cast<ExtractValueInst>(CIU)) {
  /external/llvm/lib/Target/Hexagon/
HexagonOptimizeSZextends.cpp 111 BinaryOperator *Ashr = dyn_cast<BinaryOperator>(&I);
115 ConstantInt *C = dyn_cast<ConstantInt>(AshrOp1);
121 Instruction *Shl = dyn_cast<Instruction>(Ashr->getOperand(0));
126 C = dyn_cast<ConstantInt>(ShlOp1);
132 if (IntrinsicInst *I = dyn_cast<IntrinsicInst>(Intr)) {
139 if (Instruction *J = dyn_cast<Instruction>(TheUse.getUser())) {
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
TypeMetadataUtils.cpp 30 } else if (auto CI = dyn_cast<CallInst>(User)) {
32 } else if (auto II = dyn_cast<InvokeInst>(User)) {
51 } else if (auto GEP = dyn_cast<GetElementPtrInst>(User)) {
72 if (auto *AssumeCI = dyn_cast<CallInst>(CIU.getUser())) {
94 auto *Offset = dyn_cast<ConstantInt>(CI->getArgOperand(1));
102 if (auto EVI = dyn_cast<ExtractValueInst>(CIU)) {
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
TypeFinder.cpp 104 if (StructType *STy = dyn_cast<StructType>(Ty))
122 if (const auto *M = dyn_cast<MetadataAsValue>(V)) {
123 if (const auto *N = dyn_cast<MDNode>(M->getMetadata()))
125 if (const auto *MDV = dyn_cast<ValueAsMetadata>(M->getMetadata()))
160 if (auto *N = dyn_cast<MDNode>(Op)) {
164 if (auto *C = dyn_cast<ConstantAsMetadata>(Op)) {
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
HexagonOptimizeSZextends.cpp 106 BinaryOperator *Ashr = dyn_cast<BinaryOperator>(&I);
110 ConstantInt *C = dyn_cast<ConstantInt>(AshrOp1);
116 Instruction *Shl = dyn_cast<Instruction>(Ashr->getOperand(0));
121 C = dyn_cast<ConstantInt>(ShlOp1);
127 if (IntrinsicInst *I = dyn_cast<IntrinsicInst>(Intr)) {
134 if (Instruction *J = dyn_cast<Instruction>(TheUse.getUser())) {
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/MCTargetDesc/
WebAssemblyWasmObjectWriter.cpp 48 if (auto SyExp = dyn_cast<MCSymbolRefExpr>(Expr))
51 if (auto BinOp = dyn_cast<MCBinaryExpr>(Expr))
54 if (auto UnOp = dyn_cast<MCUnaryExpr>(Expr))
66 if (auto SyExp = dyn_cast<MCSymbolRefExpr>(Expr)) {
72 if (auto BinOp = dyn_cast<MCBinaryExpr>(Expr)) {
78 if (auto UnOp = dyn_cast<MCUnaryExpr>(Expr))
  /external/llvm/lib/Transforms/Utils/
Evaluator.cpp 51 if (auto *GV = dyn_cast<GlobalValue>(C))
122 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(C))
126 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(C)) {
138 ConstantInt *CI = dyn_cast<ConstantInt>(*std::next(CE->op_begin()));
171 if (GlobalVariable *GV = dyn_cast<GlobalVariable>(P)) {
178 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(P))
200 if (StoreInst *SI = dyn_cast<StoreInst>(CurInst)) {
206 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(Ptr)) {
227 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(Ptr)) {
244 if (StructType *STy = dyn_cast<StructType>(NewTy))
    [all...]
  /external/clang/lib/StaticAnalyzer/Checkers/
DeadStoresChecker.cpp 56 if (const VarDecl *D = dyn_cast<VarDecl>(DR->getDecl()))
106 dyn_cast<BinaryOperator>(Ex->IgnoreParenCasts());
231 if (const VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl()))
240 const BinaryOperator* BRHS = dyn_cast<BinaryOperator>(RHS);
247 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getLHS()->IgnoreParenCasts())))
251 if ((DR = dyn_cast<DeclRefExpr>(BRHS->getRHS()->IgnoreParenCasts())))
269 if (const BinaryOperator* B = dyn_cast<BinaryOperator>(S)) {
272 if (DeclRefExpr *DR = dyn_cast<DeclRefExpr>(B->getLHS()))
273 if (VarDecl *VD = dyn_cast<VarDecl>(DR->getDecl())) {
290 if (const DeclRefExpr *RhsDR = dyn_cast<DeclRefExpr>(RHS)
    [all...]
  /external/clang/lib/StaticAnalyzer/Core/
DynamicTypeMap.cpp 31 if (const TypedRegion *TR = dyn_cast<TypedRegion>(Reg))
34 if (const SymbolicRegion *SR = dyn_cast<SymbolicRegion>(Reg)) {
  /external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
LowerExpectIntrinsic.cpp 47 CallInst *CI = dyn_cast<CallInst>(SI->getCondition());
56 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1));
90 ICmpInst *CmpI = dyn_cast<ICmpInst>(BI->getCondition());
94 CallInst *CI = dyn_cast<CallInst>(CmpI->getOperand(0));
103 ConstantInt *ExpectedValue = dyn_cast<ConstantInt>(CI->getArgOperand(1));
132 if (BranchInst *BI = dyn_cast<BranchInst>(BB->getTerminator())) {
135 } else if (SwitchInst *SI = dyn_cast<SwitchInst>(BB->getTerminator())) {
143 CallInst *CI = dyn_cast<CallInst>(BI++);
  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
CFLAliasAnalysisUtils.h 46 if (auto *Inst = dyn_cast<Instruction>(Val)) {
51 if (auto *Arg = dyn_cast<Argument>(Val))
  /external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
GlobalOpt.cpp 163 if (const Constant *CU = dyn_cast<Constant>(*UI)) {
180 if (const ConstantExpr *CE = dyn_cast<ConstantExpr>(U)) {
188 } else if (const Instruction *I = dyn_cast<Instruction>(U)) {
196 if (const LoadInst *LI = dyn_cast<LoadInst>(I)) {
200 } else if (const StoreInst *SI = dyn_cast<StoreInst>(I)) {
211 if (const GlobalVariable *GV = dyn_cast<GlobalVariable>(
238 } else if (const PHINode *PN = dyn_cast<PHINode>(I)) {
246 } else if (const MemTransferInst *MTI = dyn_cast<MemTransferInst>(I)) {
252 } else if (const MemSetInst *MSI = dyn_cast<MemSetInst>(I)) {
259 } else if (const Constant *C = dyn_cast<Constant>(U))
    [all...]
  /external/llvm/lib/Target/NVPTX/
NVPTXTargetTransformInfo.cpp 52 if (const Argument *Arg = dyn_cast<Argument>(V))
55 if (const Instruction *I = dyn_cast<Instruction>(V)) {
58 if (const LoadInst *LI = dyn_cast<LoadInst>(I)) {
73 if (const IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) {
  /external/swiftshader/third_party/LLVM/include/llvm/Support/
DataFlow.h 69 if (const User *U = dyn_cast<User>(N))
75 if(const User *U = dyn_cast<User>(N))
90 if (User *U = dyn_cast<User>(N))
96 if (User *U = dyn_cast<User>(N))
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/XCore/InstPrinter/
XCoreInstPrinter.cpp 55 if (const MCBinaryExpr *BE = dyn_cast<MCBinaryExpr>(Expr)) {
56 SRE = dyn_cast<MCSymbolRefExpr>(BE->getLHS());
57 const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(BE->getRHS());
61 SRE = dyn_cast<MCSymbolRefExpr>(Expr);
  /external/v8/tools/clang/blink_gc_plugin/
Config.cpp 33 dyn_cast<clang::ClassTemplateSpecializationDecl>(record);

Completed in 1171 milliseconds

12 3 4 5 6 7 8 91011>>