/external/swiftshader/third_party/llvm-7.0/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 | 412 MDBuilder MDHelper(Context); in TEST() local 414 MDNode *MD1 = MDHelper.createFPMath(1.0); in TEST()
|
/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 | 400 MDBuilder MDHelper(Context); in TEST() local 402 MDNode *MD1 = MDHelper.createFPMath(1.0); in TEST()
|
/external/clang/lib/CodeGen/ |
D | CodeGenTBAA.cpp | 36 MDHelper(VMContext), Root(nullptr), Char(nullptr) { in CodeGenTBAA() 49 Root = MDHelper.createTBAARoot("Simple C++ TBAA"); in getRoot() 51 Root = MDHelper.createTBAARoot("Simple C/C++ TBAA"); in getRoot() 61 return MDHelper.createTBAAScalarTypeNode(Name, Parent); in createTBAAScalarType() 224 return MDHelper.createTBAAStructNode(Fields); in getTBAAStructInfo() 282 MDHelper.createTBAAStructTypeNode(OutName, Fields); in getTBAAStructTypeInfo() 308 MDHelper.createTBAAStructTagNode(AccessNode, AccessNode, 0); in getTBAAStructTagInfo() 311 MDHelper.createTBAAStructTagNode(BNode, AccessNode, Offset); in getTBAAStructTagInfo() 322 MDHelper.createTBAAStructTagNode(AccessNode, AccessNode, 0); in getTBAAScalarTagInfo()
|
D | CodeGenPGO.cpp | 856 llvm::MDBuilder MDHelper(CGM.getLLVMContext()); in createProfileWeights() local 857 return MDHelper.createBranchWeights(scaleBranchWeight(TrueCount, Scale), in createProfileWeights() 880 llvm::MDBuilder MDHelper(CGM.getLLVMContext()); in createProfileWeights() local 881 return MDHelper.createBranchWeights(ScaledWeights); in createProfileWeights()
|
D | CodeGenTBAA.h | 52 llvm::MDBuilder MDHelper; variable
|
D | CGExpr.cpp | 1258 llvm::MDBuilder MDHelper(getLLVMContext()); in getRangeForLoadFromType() local 1259 return MDHelper.createRange(Min, End); in getRangeForLoadFromType() 2546 llvm::MDBuilder MDHelper(getLLVMContext()); in EmitCheck() local 2547 llvm::MDNode *Node = MDHelper.createBranchWeights((1U << 20) - 1, 1); in EmitCheck() 2610 llvm::MDBuilder MDHelper(getLLVMContext()); in EmitCfiSlowPathCheck() local 2611 llvm::MDNode *Node = MDHelper.createBranchWeights((1U << 20) - 1, 1); in EmitCfiSlowPathCheck() 4176 llvm::MDBuilder MDHelper(getLLVMContext()); in SetFPAccuracy() local 4177 llvm::MDNode *Node = MDHelper.createFPMath(Accuracy); in SetFPAccuracy()
|
D | CGExprComplex.cpp | 637 llvm::MDBuilder MDHelper(CGF.getLLVMContext()); in EmitBinMul() local 679 llvm::MDNode *BrWeight = MDHelper.createBranchWeights(1, (1U << 20) - 1); in EmitBinMul()
|
D | CGStmt.cpp | 1604 llvm::MDBuilder MDHelper(getLLVMContext()); in EmitSwitchStmt() local 1606 MDHelper.createUnpredictable()); in EmitSwitchStmt()
|
D | CodeGenFunction.cpp | 1361 llvm::MDBuilder MDHelper(getLLVMContext()); in EmitBranchOnBoolExpr() local 1362 Unpredictable = MDHelper.createUnpredictable(); in EmitBranchOnBoolExpr()
|
D | CGBuiltin.cpp | 338 llvm::MDBuilder MDHelper(CGF.getLLVMContext()); in emitRangedBuiltin() local 339 llvm::MDNode *RNode = MDHelper.createRange(APInt(32, low), APInt(32, high)); in emitRangedBuiltin()
|
/external/llvm/lib/ProfileData/ |
D | InstrProf.cpp | 691 MDBuilder MDHelper(Ctx); in annotateValueSite() local 694 Vals.push_back(MDHelper.createString("VP")); in annotateValueSite() 696 Vals.push_back(MDHelper.createConstant( in annotateValueSite() 700 MDHelper.createConstant(ConstantInt::get(Type::getInt64Ty(Ctx), Sum))); in annotateValueSite() 705 Vals.push_back(MDHelper.createConstant( in annotateValueSite() 707 Vals.push_back(MDHelper.createConstant( in annotateValueSite()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/ |
D | InstrProf.cpp | 833 MDBuilder MDHelper(Ctx); in annotateValueSite() local 836 Vals.push_back(MDHelper.createString("VP")); in annotateValueSite() 838 Vals.push_back(MDHelper.createConstant( in annotateValueSite() 842 MDHelper.createConstant(ConstantInt::get(Type::getInt64Ty(Ctx), Sum))); in annotateValueSite() 847 Vals.push_back(MDHelper.createConstant( in annotateValueSite() 849 Vals.push_back(MDHelper.createConstant( in annotateValueSite()
|