Searched refs:MDHelper (Results 1 – 12 of 12) sorted by relevance
/openbsd/gnu/llvm/clang/lib/CodeGen/ |
H A D | CodeGenTBAA.cpp | 36 Features(Features), MContext(MContext), MDHelper(M.getContext()), in CodeGenTBAA() 50 Root = MDHelper.createTBAARoot("Simple C++ TBAA"); in getRoot() 52 Root = MDHelper.createTBAARoot("Simple C/C++ TBAA"); in getRoot() 62 llvm::Metadata *Id = MDHelper.createString(Name); in createScalarTypeNode() 63 return MDHelper.createTBAATypeNode(Parent, Size, Id); in createScalarTypeNode() 65 return MDHelper.createTBAAScalarTypeNode(Name, Parent); in createScalarTypeNode() 328 return MDHelper.createTBAAStructNode(Fields); in getTBAAStructInfo() 402 llvm::Metadata *Id = MDHelper.createString(OutName); in getBaseTypeInfoHelper() 403 return MDHelper.createTBAATypeNode(Parent, Size, Id, Fields); in getBaseTypeInfoHelper() 410 return MDHelper.createTBAAStructTypeNode(OutName, OffsetsAndTypes); in getBaseTypeInfoHelper() [all …]
|
H A D | CodeGenPGO.cpp | 1087 llvm::MDBuilder MDHelper(CGM.getLLVMContext()); in createProfileWeights() local 1088 return MDHelper.createBranchWeights(scaleBranchWeight(TrueCount, Scale), in createProfileWeights() 1111 llvm::MDBuilder MDHelper(CGM.getLLVMContext()); in createProfileWeights() local 1112 return MDHelper.createBranchWeights(ScaledWeights); in createProfileWeights()
|
H A D | CodeGenTBAA.h | 124 llvm::MDBuilder MDHelper; variable
|
H A D | CGDeclCXX.cpp | 420 llvm::MDBuilder MDHelper(CGM.getLLVMContext()); in EmitCXXGuardedInitBranch() local 421 Weights = MDHelper.createBranchWeights(1, NumInits - 1); in EmitCXXGuardedInitBranch()
|
H A D | CGExpr.cpp | 1635 llvm::MDBuilder MDHelper(getLLVMContext()); in getRangeForLoadFromType() local 1636 return MDHelper.createRange(Min, End); in getRangeForLoadFromType() 3312 llvm::MDBuilder MDHelper(getLLVMContext()); in EmitCheck() local 3313 llvm::MDNode *Node = MDHelper.createBranchWeights((1U << 20) - 1, 1); in EmitCheck() 3380 llvm::MDBuilder MDHelper(getLLVMContext()); in EmitCfiSlowPathCheck() local 3381 llvm::MDNode *Node = MDHelper.createBranchWeights((1U << 20) - 1, 1); in EmitCfiSlowPathCheck() 5546 llvm::MDBuilder MDHelper(getLLVMContext()); in SetFPAccuracy() local 5547 llvm::MDNode *Node = MDHelper.createFPMath(Accuracy); in SetFPAccuracy()
|
H A D | CGExprComplex.cpp | 748 llvm::MDBuilder MDHelper(CGF.getLLVMContext()); in EmitBinMul() local 791 llvm::MDNode *BrWeight = MDHelper.createBranchWeights(1, (1U << 20) - 1); in EmitBinMul()
|
H A D | CGStmt.cpp | 2062 llvm::MDBuilder MDHelper(getLLVMContext()); in EmitSwitchStmt() local 2064 MDHelper.createUnpredictable()); in EmitSwitchStmt() 2082 llvm::MDBuilder MDHelper(CGM.getLLVMContext()); in EmitSwitchStmt() local
|
H A D | CodeGenFunction.cpp | 1896 llvm::MDBuilder MDHelper(getLLVMContext()); in EmitBranchOnBoolExpr() local 1897 Unpredictable = MDHelper.createUnpredictable(); in EmitBranchOnBoolExpr()
|
H A D | CGObjCMac.cpp | 4088 llvm::MDBuilder MDHelper(CGM.getLLVMContext()); in GenerateDirectMethodPrologue() local 4090 ContBlock, MDHelper.createBranchWeights(1, 1 << 20)); in GenerateDirectMethodPrologue()
|
H A D | CGBuiltin.cpp | 686 llvm::MDBuilder MDHelper(CGF.getLLVMContext()); in emitRangedBuiltin() local 687 llvm::MDNode *RNode = MDHelper.createRange(APInt(32, low), APInt(32, high)); in emitRangedBuiltin() 16798 llvm::MDBuilder MDHelper(CGF.getLLVMContext()); in EmitAMDGPUWorkGroupSize() local 16799 llvm::MDNode *RNode = MDHelper.createRange(APInt(16, 1), in EmitAMDGPUWorkGroupSize()
|
/openbsd/gnu/llvm/llvm/lib/ProfileData/ |
H A D | InstrProf.cpp | 1038 MDBuilder MDHelper(Ctx); in annotateValueSite() local 1041 Vals.push_back(MDHelper.createString("VP")); in annotateValueSite() 1043 Vals.push_back(MDHelper.createConstant( in annotateValueSite() 1047 MDHelper.createConstant(ConstantInt::get(Type::getInt64Ty(Ctx), Sum))); in annotateValueSite() 1052 Vals.push_back(MDHelper.createConstant( in annotateValueSite() 1054 Vals.push_back(MDHelper.createConstant( in annotateValueSite()
|
/openbsd/gnu/llvm/clang/include/clang/Basic/ |
H A D | riscv_vector.td | 1593 llvm::MDBuilder MDHelper(Context);
|