Home
last modified time | relevance | path

Searched refs:TBAA (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DTypeBasedAliasAnalysis.cpp381 if (Aliases(LocA.AATags.TBAA, LocB.AATags.TBAA)) in alias()
394 const MDNode *M = Loc.AATags.TBAA; in getModRefInfoMask()
432 if (const MDNode *L = Loc.AATags.TBAA) in getModRefInfo()
524 Result.TBAA = MDNode::getMostGenericTBAA(TBAA, Other.TBAA); in merge()
533 Result.TBAA = Result.TBAAStruct = nullptr; in concat()
825 if (!New.TBAA && M && M->getNumOperands() >= 3 && M->getOperand(0) && in adjustForAccess()
832 New.TBAA = cast<MDNode>(M->getOperand(2)); in adjustForAccess()
H A DLoopAccessAnalysis.cpp2557 Loc.AATags.TBAA = nullptr; in analyzeLoop()
2605 Loc.AATags.TBAA = nullptr; in analyzeLoop()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DMetadata.h763 : TBAA(T), TBAAStruct(TS), Scope(S), NoAlias(N) {} in AAMDNodes()
766 return TBAA == A.TBAA && TBAAStruct == A.TBAAStruct && Scope == A.Scope &&
773 return TBAA || TBAAStruct || Scope || NoAlias;
777 MDNode *TBAA = nullptr; member
796 static MDNode *extendToTBAA(MDNode *TBAA, ssize_t len);
805 Result.TBAA = Other.TBAA == TBAA ? TBAA : nullptr; in intersect()
816 Result.TBAA = TBAA ? shiftTBAA(TBAA, Offset) : nullptr; in shift()
829 Result.TBAA = TBAA ? extendToTBAA(TBAA, Len) : nullptr; in extendTo()
873 return DenseMapInfo<MDNode *>::getHashValue(Val.TBAA) ^
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineModuleSlotTracker.cpp23 if (AAInfo.TBAA) in processMachineFunctionMetadata()
24 AST->createMetadataSlot(AAInfo.TBAA); in processMachineFunctionMetadata()
H A DMachineOperand.cpp1252 if (AAInfo.TBAA) { in print()
1254 AAInfo.TBAA->printAsOperand(OS, MST); in print()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DInferAddressSpaces.cpp1043 MDNode *TBAA = MI->getMetadata(LLVMContext::MD_tbaa); in handleMemIntrinsicPtrUse() local
1050 TBAA, ScopeMD, NoAliasMD); in handleMemIntrinsicPtrUse()
1067 TBAA, TBAAStruct, ScopeMD, NoAliasMD); in handleMemIntrinsicPtrUse()
1073 TBAA, TBAAStruct, ScopeMD, NoAliasMD); in handleMemIntrinsicPtrUse()
1079 TBAA, ScopeMD, NoAliasMD); in handleMemIntrinsicPtrUse()
H A DLoopIdiomRecognize.cpp1095 /*isVolatile=*/false, AATags.TBAA, AATags.Scope, AATags.NoAlias); in processLoopStridedStore()
1117 if (AATags.TBAA) in processLoopStridedStore()
1118 NewCall->setMetadata(LLVMContext::MD_tbaa, AATags.TBAA); in processLoopStridedStore()
1395 /*isVolatile=*/false, AATags.TBAA, AATags.Scope, AATags.NoAlias); in processLoopStoreOfLoopLoad()
1399 NumBytes, /*isVolatile=*/false, AATags.TBAA, in processLoopStoreOfLoopLoad()
1424 AATags.TBAA, AATags.TBAAStruct, AATags.Scope, AATags.NoAlias); in processLoopStoreOfLoopLoad()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp405 TBAA.reset(new CodeGenTBAA(Context, getTypes(), TheModule, CodeGenOpts, in CodeGenModule()
1467 if (!TBAA) in getTBAATypeInfo()
1469 return TBAA->getTypeInfo(QTy); in getTBAATypeInfo()
1473 if (!TBAA) in getTBAAAccessInfo()
1488 return TBAA->getAccessInfo(AccessType); in getTBAAAccessInfo()
1493 if (!TBAA) in getTBAAVTablePtrAccessInfo()
1495 return TBAA->getVTablePtrAccessInfo(VTablePtrType); in getTBAAVTablePtrAccessInfo()
1499 if (!TBAA) in getTBAAStructInfo()
1501 return TBAA->getTBAAStructInfo(QTy); in getTBAAStructInfo()
1505 if (!TBAA) in getTBAABaseTypeInfo()
[all …]
H A DCodeGenModule.h316 std::unique_ptr<CodeGenTBAA> TBAA; variable
783 bool shouldUseTBAA() const { return TBAA != nullptr; } in shouldUseTBAA()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DCodeGenOptions.def237 CODEGENOPT(PointerTBAA, 1, 0) ///< Whether or not to use distinct TBAA tags for pointers.
238 CODEGENOPT(StructPathTBAA , 1, 0) ///< Whether or not to use struct-path TBAA.
239 CODEGENOPT(NewStructPathTBAA , 1, 0) ///< Whether or not to use enhanced struct-path TBAA.
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DMetadata.cpp1713 Result.TBAA = Info.lookup(LLVMContext::MD_tbaa); in getAAMetadata()
1722 setMetadata(LLVMContext::MD_tbaa, N.TBAA); in setAAMetadata()
H A DVerifier.cpp5199 if (MDNode *TBAA = I.getMetadata(LLVMContext::MD_tbaa)) in visitInstruction() local
5200 TBAAVerifyHelper.visitTBAAMetadata(I, TBAA); in visitInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp6963 MDNode *TBAA = I.getMetadata(LLVMContext::MD_tbaa); in materialize() local
6964 if (!TBAA || TBAAVerifyHelper.visitTBAAMetadata(I, TBAA)) in materialize()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIParser.cpp3440 if (parseMDNode(AAInfo.TBAA)) in parseMachineMemoryOperand()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp7870 NewAAInfo.TBAA = NewAAInfo.TBAAStruct = nullptr; in getMemcpyLoadsAndStores()
8065 NewAAInfo.TBAA = NewAAInfo.TBAAStruct = nullptr; in getMemmoveLoadsAndStores()
8194 NewAAInfo.TBAA = NewAAInfo.TBAAStruct = nullptr; in getMemsetStores()