Home
last modified time | relevance | path

Searched refs:TBAA (Results 1 – 14 of 14) 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()
828 if (!New.TBAA && M && M->getNumOperands() >= 3 && M->getOperand(0) && in adjustForAccess()
835 New.TBAA = cast<MDNode>(M->getOperand(2)); in adjustForAccess()
H A DLoopAccessAnalysis.cpp2625 Loc.AATags.TBAA = nullptr; in analyzeLoop()
2673 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 LLVM_ABI 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.cpp1277 if (AAInfo.TBAA) { in print()
1279 AAInfo.TBAA->printAsOperand(OS, MST); in print()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DTypeSanitizer.cpp489 if (MLoc.AATags.TBAA) in collectMemAccessInfo()
490 TBAAMetadata.insert(MLoc.AATags.TBAA); in collectMemAccessInfo()
551 IRB, MLoc.AATags.TBAA, const_cast<Value *>(MLoc.Ptr), in sanitizeFunction()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp473 TBAA.reset(new CodeGenTBAA(Context, getTypes(), TheModule, CodeGenOpts, in CodeGenModule()
1624 if (!TBAA) in getTBAATypeInfo()
1626 return TBAA->getTypeInfo(QTy); in getTBAATypeInfo()
1630 if (!TBAA) in getTBAAAccessInfo()
1645 return TBAA->getAccessInfo(AccessType); in getTBAAAccessInfo()
1650 if (!TBAA) in getTBAAVTablePtrAccessInfo()
1652 return TBAA->getVTablePtrAccessInfo(VTablePtrType); in getTBAAVTablePtrAccessInfo()
1656 if (!TBAA) in getTBAAStructInfo()
1658 return TBAA->getTBAAStructInfo(QTy); in getTBAAStructInfo()
1662 if (!TBAA) in getTBAABaseTypeInfo()
[all …]
H A DCodeGenModule.h361 std::unique_ptr<CodeGenTBAA> TBAA; variable
844 bool shouldUseTBAA() const { return TBAA != nullptr; } in shouldUseTBAA()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DCodeGenOptions.def240 CODEGENOPT(PointerTBAA , 1, 1, Benign) ///< Whether or not to use distinct TBAA tags for poin…
241 CODEGENOPT(StructPathTBAA , 1, 0, Benign) ///< Whether or not to use struct-path TBAA.
242 CODEGENOPT(NewStructPathTBAA , 1, 0, Benign) ///< Whether or not to use enhanced struct-path TBAA.
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DMetadata.cpp1777 Result.TBAA = Info.lookup(LLVMContext::MD_tbaa); in getAAMetadata()
1786 setMetadata(LLVMContext::MD_tbaa, N.TBAA); in setAAMetadata()
H A DVerifier.cpp5439 if (MDNode *TBAA = I.getMetadata(LLVMContext::MD_tbaa)) in visitInstruction() local
5440 TBAAVerifyHelper.visitTBAAMetadata(I, TBAA); in visitInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp7024 MDNode *TBAA = I.getMetadata(LLVMContext::MD_tbaa); in materialize() local
7025 if (!TBAA || TBAAVerifyHelper.visitTBAAMetadata(I, TBAA)) in materialize()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/MIRParser/
H A DMIParser.cpp3472 if (parseMDNode(AAInfo.TBAA)) in parseMachineMemoryOperand()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAG.cpp8445 NewAAInfo.TBAA = NewAAInfo.TBAAStruct = nullptr; in getMemcpyLoadsAndStores()
8640 NewAAInfo.TBAA = NewAAInfo.TBAAStruct = nullptr; in getMemmoveLoadsAndStores()
8770 NewAAInfo.TBAA = NewAAInfo.TBAAStruct = nullptr; in getMemsetStores()