Home
last modified time | relevance | path

Searched refs:BSI (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/Transforms/IPO/
H A DLowerTypeTests.cpp58 BitSetInfo BSI = BSB.build(); in TEST() local
60 EXPECT_EQ(T.Bits, BSI.Bits); in TEST()
61 EXPECT_EQ(T.ByteOffset, BSI.ByteOffset); in TEST()
62 EXPECT_EQ(T.BitSize, BSI.BitSize); in TEST()
63 EXPECT_EQ(T.AlignLog2, BSI.AlignLog2); in TEST()
64 EXPECT_EQ(T.IsSingleOffset, BSI.isSingleOffset()); in TEST()
65 EXPECT_EQ(T.IsAllOnes, BSI.isAllOnes()); in TEST()
68 EXPECT_TRUE(BSI.containsGlobalOffset(Offset)); in TEST()
77 EXPECT_FALSE(BSI.containsGlobalOffset(NonOffset)); in TEST()
/llvm-project-15.0.7/llvm/lib/Target/PowerPC/
H A DPPCReduceCRLogicals.cpp140 static bool splitMBB(BlockSplitInfo &BSI) { in splitMBB() argument
141 assert(BSI.allInstrsInSameMBB() && in splitMBB()
156 unsigned OrigBROpcode = BSI.OrigBranch->getOpcode(); in splitMBB()
184 if (BSI.MBPI) { in splitMBB()
185 if (BSI.BranchToFallThrough) { in splitMBB()
222 .addReg(BSI.SplitCond->getOperand(0).getReg()) in splitMBB()
227 if (BSI.MIToDelete) in splitMBB()
228 BSI.MIToDelete->eraseFromParent(); in splitMBB()
232 if (BSI.NewCond) { in splitMBB()
237 if (BSI.InvertOrigBranch) in splitMBB()
[all …]
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DLowerExpectIntrinsic.cpp262 template <class BrSelInst> static bool handleBrSelExpect(BrSelInst &BSI) { in handleBrSelExpect() argument
275 ICmpInst *CmpI = dyn_cast<ICmpInst>(BSI.getCondition()); in handleBrSelExpect()
279 CI = dyn_cast<CallInst>(BSI.getCondition()); in handleBrSelExpect()
334 BSI.setCondition(ArgValue); in handleBrSelExpect()
336 misexpect::checkFrontendInstrumentation(BSI, ExpectedWeights); in handleBrSelExpect()
338 BSI.setMetadata(LLVMContext::MD_prof, Node); in handleBrSelExpect()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DLowerTypeTests.cpp170 BitSetInfo BSI; in build() local
171 BSI.ByteOffset = Min; in build()
173 BSI.AlignLog2 = 0; in build()
179 BSI.BitSize = ((Max - Min) >> BSI.AlignLog2) + 1; in build()
181 Offset >>= BSI.AlignLog2; in build()
182 BSI.Bits.insert(Offset); in build()
185 return BSI; in build()
584 BAI->Bits = BSI.Bits; in createByteArray()
585 BAI->BitSize = BSI.BitSize; in createByteArray()
1109 BSI.print(dbgs()); in lowerTypeTestCalls()
[all …]
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExpr.cpp3531 currentDecl = BSI->TheDecl; in BuildPredefinedExpr()
4620 DC = BSI->TheDecl; in CreateUnaryExprOrTypeTraitExpr()
5843 DC = BSI->TheDecl; in CreateBuiltinArraySubscriptExpr()
16335 BlockDecl *BD = BSI->TheDecl; in ActOnBlockStmtExpr()
16337 if (BSI->HasImplicitReturnType) in ActOnBlockStmtExpr()
16338 deduceClosureReturnType(*BSI); in ActOnBlockStmtExpr()
16341 if (!BSI->ReturnType.isNull()) in ActOnBlockStmtExpr()
16342 RetTy = BSI->ReturnType; in ActOnBlockStmtExpr()
16348 if (!BSI->FunctionType.isNull()) { in ActOnBlockStmtExpr()
16364 BlockTy = BSI->FunctionType; in ActOnBlockStmtExpr()
[all …]
H A DSemaCodeComplete.cpp391 if (sema::BlockScopeInfo *BSI = S.getCurBlock()) { in enterReturn() local
393 Type = BSI->ReturnType; in enterReturn()
/llvm-project-15.0.7/clang/test/Analysis/
H A Dsecurity-syntax-checks.m94 // Part of recommendation: 300-BSI (buildsecurityin.us-cert.gov)