Home
last modified time | relevance | path

Searched refs:Loc1 (Results 1 – 17 of 17) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DRecordOps.cpp88 bool recordsEqual(const RecordStorageLocation &Loc1, const Environment &Env1, in recordsEqual() argument
92 Loc1.getType().getCanonicalType().getUnqualifiedType()) { in recordsEqual()
93 llvm::dbgs() << "Loc1 type " << Loc1.getType() << "\n"; in recordsEqual()
98 Loc1.getType().getCanonicalType().getUnqualifiedType()); in recordsEqual()
100 for (auto [Field, FieldLoc1] : Loc1.children()) { in recordsEqual()
118 for (const auto &[Name, SynthFieldLoc1] : Loc1.synthetic_fields()) { in recordsEqual()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DRecordOps.h60 bool recordsEqual(const RecordStorageLocation &Loc1, const Environment &Env1,
63 inline bool recordsEqual(const RecordStorageLocation &Loc1, in recordsEqual() argument
66 return recordsEqual(Loc1, Env, Loc2, Env); in recordsEqual()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCallingConvLower.cpp276 auto AreCompatible = [](const CCValAssign &Loc1, const CCValAssign &Loc2) { in resultsCompatible() argument
277 assert(!Loc1.isPendingLoc() && !Loc2.isPendingLoc() && in resultsCompatible()
280 if (Loc1.getLocInfo() != Loc2.getLocInfo()) in resultsCompatible()
283 if (Loc1.isRegLoc() && Loc2.isRegLoc()) in resultsCompatible()
284 return Loc1.getLocReg() == Loc2.getLocReg(); in resultsCompatible()
285 if (Loc1.isMemLoc() && Loc2.isMemLoc()) in resultsCompatible()
286 return Loc1.getLocMemOffset() == Loc2.getLocMemOffset(); in resultsCompatible()
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Extract/
H A DSourceExtraction.cpp61 bool areOnSameLine(SourceLocation Loc1, SourceLocation Loc2, in areOnSameLine() argument
63 return !Loc1.isMacroID() && !Loc2.isMacroID() && in areOnSameLine()
64 SM.getSpellingLineNumber(Loc1) == SM.getSpellingLineNumber(Loc2); in areOnSameLine()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXAliasAnalysis.cpp70 AliasResult NVPTXAAResult::alias(const MemoryLocation &Loc1, in alias() argument
73 unsigned AS1 = Loc1.Ptr->getType()->getPointerAddressSpace(); in alias()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DAliasAnalysisEvaluator.cpp36 std::pair<const Value *, Type *> Loc1, in PrintResults() argument
40 Type *Ty1 = Loc1.second, *Ty2 = Loc2.second; in PrintResults()
41 unsigned AS1 = Loc1.first->getType()->getPointerAddressSpace(); in PrintResults()
46 Loc1.first->printAsOperand(os1, false, M); in PrintResults()
H A DLoopCacheAnalysis.cpp546 const auto &Loc1 = MemoryLocation::get(&StoreOrLoadInst); in isAliased() local
548 return AA.isMustAlias(Loc1, Loc2); in isAliased()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DMergedLoadStoreMotion.cpp193 MemoryLocation Loc1 = MemoryLocation::get(Store1); in canSinkFromBlock() local
195 if (AA->isMustAlias(Loc0, Loc1) && in canSinkFromBlock()
196 !isStoreSinkBarrierInRange(*Store1->getNextNode(), BB1->back(), Loc1) && in canSinkFromBlock()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.cpp567 void transferSwap(RecordStorageLocation *Loc1, RecordStorageLocation *Loc2, in transferSwap() argument
573 if (Loc1 == nullptr) { in transferSwap()
579 setHasValue(*Loc1, Env.makeAtomicBoolValue(), Env); in transferSwap()
589 BoolValue *BoolVal1 = getHasValue(Env, Loc1); in transferSwap()
597 setHasValue(*Loc1, *BoolVal2, Env); in transferSwap()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCallLowering.cpp1221 const CCValAssign &Loc1 = ArgLocs1[i]; in resultsCompatible() local
1226 if (Loc1.isRegLoc() != Loc2.isRegLoc()) in resultsCompatible()
1229 if (Loc1.isRegLoc()) { in resultsCompatible()
1231 if (Loc1.getLocReg() != Loc2.getLocReg()) in resultsCompatible()
1239 if (Loc1.getLocMemOffset() != Loc2.getLocMemOffset()) in resultsCompatible()
H A DLoadStoreOpt.cpp286 LocationSize Loc1 = in instMayAlias() local
291 MemoryLocation(MUC1.MMO->getValue(), Loc1, MUC1.MMO->getAAInfo()))) in instMayAlias()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DInitialization.h631 InitializationKind(InitKind Kind, InitContext Context, SourceLocation Loc1, in InitializationKind() argument
634 Locations[0] = Loc1; in InitializationKind()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DSourceManager.h1493 bool isWrittenInSameFile(SourceLocation Loc1, SourceLocation Loc2) const { in isWrittenInSameFile() argument
1494 return getFileID(Loc1) == getFileID(Loc2); in isWrittenInSameFile()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DAnalysisBasedWarnings.cpp1942 SourceLocation Loc1, in handleExclusiveAndShared() argument
1944 PartialDiagnosticAt Warning(Loc1, in handleExclusiveAndShared()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp8543 Value *Val0, *Val1; LocTy Loc0, Loc1; in parseInsertValue() local
8548 parseTypeAndValue(Val1, Loc1, PFS) || in parseInsertValue()
8559 return error(Loc1, "insertvalue operand and field disagree in type: '" + in parseInsertValue()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp3383 /// \p Loc1 is the location of \p Inst1. It is passed explicitly because it
3385 bool isAliased(const MemoryLocation &Loc1, Instruction *Inst1, in isAliased() argument
3387 if (!Loc1.Ptr || !isSimple(Inst1) || !isSimple(Inst2)) in isAliased()
3394 bool Aliased = isModOrRefSet(BatchAA.getModRefInfo(Inst2, Loc1)); in isAliased()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DDAGCombiner.cpp28393 LocationSize Loc1 = in mayAlias() local
28398 MemoryLocation(MUC1.MMO->getValue(), Loc1, in mayAlias()