Home
last modified time | relevance | path

Searched refs:BaseVar (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/subzero/src/
DIceTargetLoweringARM32.cpp5781 auto *BaseVar = llvm::dyn_cast<Variable>(Base); in formAddressingMode() local
5782 if (BaseVar == nullptr) in formAddressingMode()
5801 dumpAddressOpt(Func, BaseVar, OffsetImm, OffsetReg, OffsetRegShamt, in formAddressingMode()
5806 if (matchAssign(VMetadata, &BaseVar, &OffsetImm, &Reason)) { in formAddressingMode()
5815 if (CanHaveIndex && matchCombinedBaseIndex(VMetadata, &BaseVar, &OffsetReg, in formAddressingMode()
5827 matchShiftedOffsetReg(VMetadata, &BaseVar, &ShiftKind, in formAddressingMode()
5829 std::swap(BaseVar, OffsetReg); in formAddressingMode()
5834 if (matchOffsetBase(VMetadata, &BaseVar, &OffsetImm, &Reason)) { in formAddressingMode()
5839 if (BaseVar == nullptr) { in formAddressingMode()
5849 BaseVar = makeReg(PointerType); in formAddressingMode()
[all …]
DIceTargetLoweringMIPS32.cpp5365 auto *BaseVar = llvm::dyn_cast<Variable>(Base); in formAddressingMode() local
5366 if (BaseVar == nullptr) in formAddressingMode()
5374 dumpAddressOpt(Func, BaseVar, OffsetImm, Reason); in formAddressingMode()
5378 if (matchAssign(VMetadata, &BaseVar, &OffsetImm, &Reason)) { in formAddressingMode()
5382 if (matchOffsetBase(VMetadata, &BaseVar, &OffsetImm, &Reason)) { in formAddressingMode()
5387 if (BaseVar == nullptr) { in formAddressingMode()
5391 BaseVar = makeReg(PointerType); in formAddressingMode()
5392 Context.insert<InstAssign>(BaseVar, Ctx->getConstantInt32(OffsetImm)); in formAddressingMode()
5404 Context.insert<InstArithmetic>(Op, T, BaseVar, in formAddressingMode()
5406 BaseVar = T; in formAddressingMode()
[all …]
/external/clang/lib/Sema/
DAnalysisBasedWarnings.cpp1257 if (const VarDecl *BaseVar = dyn_cast<VarDecl>(Base)) in diagnoseRepeatedUseOfWeak() local
1258 if (BaseVar->hasLocalStorage() && !isa<ParmVarDecl>(Base)) in diagnoseRepeatedUseOfWeak()
/external/llvm-project/clang/lib/Sema/
DAnalysisBasedWarnings.cpp1405 if (const VarDecl *BaseVar = dyn_cast<VarDecl>(Base)) in diagnoseRepeatedUseOfWeak() local
1406 if (BaseVar->hasLocalStorage() && !isa<ParmVarDecl>(Base)) in diagnoseRepeatedUseOfWeak()