Searched refs:MDHelper (Results 1 – 9 of 9) sorted by relevance
/external/llvm/unittests/IR/ |
D | MDBuilderTest.cpp | 26 MDBuilder MDHelper(Context); in TEST_F() local 27 MDString *Str0 = MDHelper.createString(""); in TEST_F() 28 MDString *Str1 = MDHelper.createString("string"); in TEST_F() 33 MDBuilder MDHelper(Context); in TEST_F() local 34 MDNode *MD0 = MDHelper.createFPMath(0.0); in TEST_F() 35 MDNode *MD1 = MDHelper.createFPMath(1.0); in TEST_F() 46 MDBuilder MDHelper(Context); in TEST_F() local 48 MDNode *R0 = MDHelper.createRange(A, A); in TEST_F() 49 MDNode *R1 = MDHelper.createRange(A, B); in TEST_F() 61 MDBuilder MDHelper(Context); in TEST_F() local [all …]
|
D | InstructionsTest.cpp | 396 MDBuilder MDHelper(Context); in TEST() local 398 MDNode *MD1 = MDHelper.createFPMath(1.0); in TEST()
|
/external/clang/lib/CodeGen/ |
D | CodeGenTBAA.cpp | 36 MDHelper(VMContext), Root(nullptr), Char(nullptr) { in CodeGenTBAA() 48 Root = MDHelper.createTBAARoot("Simple C/C++ TBAA"); in getRoot() 57 return MDHelper.createTBAAScalarTypeNode(Name, Parent); in createTBAAScalarType() 220 return MDHelper.createTBAAStructNode(Fields); in getTBAAStructInfo() 278 MDHelper.createTBAAStructTypeNode(OutName, Fields); in getTBAAStructTypeInfo() 304 MDHelper.createTBAAStructTagNode(AccessNode, AccessNode, 0); in getTBAAStructTagInfo() 307 MDHelper.createTBAAStructTagNode(BNode, AccessNode, Offset); in getTBAAStructTagInfo() 318 MDHelper.createTBAAStructTagNode(AccessNode, AccessNode, 0); in getTBAAScalarTagInfo()
|
D | CodeGenPGO.cpp | 803 llvm::MDBuilder MDHelper(CGM.getLLVMContext()); in createProfileWeights() local 804 return MDHelper.createBranchWeights(scaleBranchWeight(TrueCount, Scale), in createProfileWeights() 827 llvm::MDBuilder MDHelper(CGM.getLLVMContext()); in createProfileWeights() local 828 return MDHelper.createBranchWeights(ScaledWeights); in createProfileWeights()
|
D | CodeGenTBAA.h | 55 llvm::MDBuilder MDHelper; variable
|
D | CGExpr.cpp | 1232 llvm::MDBuilder MDHelper(getLLVMContext()); in getRangeForLoadFromType() local 1233 return MDHelper.createRange(Min, End); in getRangeForLoadFromType() 2481 llvm::MDBuilder MDHelper(getLLVMContext()); in EmitCheck() local 2482 llvm::MDNode *Node = MDHelper.createBranchWeights((1U << 20) - 1, 1); in EmitCheck() 2544 llvm::MDBuilder MDHelper(getLLVMContext()); in EmitCfiSlowPathCheck() local 2545 llvm::MDNode *Node = MDHelper.createBranchWeights((1U << 20) - 1, 1); in EmitCfiSlowPathCheck() 3959 llvm::MDBuilder MDHelper(getLLVMContext()); in SetFPAccuracy() local 3960 llvm::MDNode *Node = MDHelper.createFPMath(Accuracy); in SetFPAccuracy()
|
D | CGExprComplex.cpp | 636 llvm::MDBuilder MDHelper(CGF.getLLVMContext()); in EmitBinMul() local 678 llvm::MDNode *BrWeight = MDHelper.createBranchWeights(1, (1U << 20) - 1); in EmitBinMul()
|
D | CodeGenFunction.cpp | 1290 llvm::MDBuilder MDHelper(getLLVMContext()); in EmitBranchOnBoolExpr() local 1291 Unpredictable = MDHelper.createUnpredictable(); in EmitBranchOnBoolExpr()
|
D | CGStmt.cpp | 1545 llvm::MDBuilder MDHelper(getLLVMContext()); in EmitSwitchStmt() local 1547 MDHelper.createUnpredictable()); in EmitSwitchStmt()
|