Home
last modified time | relevance | path

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

/external/llvm/unittests/Transforms/IPO/
DLowerTypeTests.cpp59 BitSetInfo BSI = BSB.build(); in TEST() local
61 EXPECT_EQ(T.Bits, BSI.Bits); in TEST()
62 EXPECT_EQ(T.ByteOffset, BSI.ByteOffset); in TEST()
63 EXPECT_EQ(T.BitSize, BSI.BitSize); in TEST()
64 EXPECT_EQ(T.AlignLog2, BSI.AlignLog2); in TEST()
65 EXPECT_EQ(T.IsSingleOffset, BSI.isSingleOffset()); in TEST()
66 EXPECT_EQ(T.IsAllOnes, BSI.isAllOnes()); in TEST()
69 EXPECT_TRUE(BSI.containsGlobalOffset(Offset)); in TEST()
78 EXPECT_FALSE(BSI.containsGlobalOffset(NonOffset)); in TEST()
/external/llvm/lib/Transforms/IPO/
DLowerTypeTests.cpp128 BitSetInfo BSI; in build() local
129 BSI.ByteOffset = Min; in build()
131 BSI.AlignLog2 = 0; in build()
133 BSI.AlignLog2 = countTrailingZeros(Mask, ZB_Undefined); in build()
137 BSI.BitSize = ((Max - Min) >> BSI.AlignLog2) + 1; in build()
139 Offset >>= BSI.AlignLog2; in build()
140 BSI.Bits.insert(Offset); in build()
143 return BSI; in build()
233 ByteArrayInfo *createByteArray(BitSetInfo &BSI);
235 Value *createBitSetTest(IRBuilder<> &B, BitSetInfo &BSI, ByteArrayInfo *&BAI,
[all …]
/external/clang/lib/Sema/
DSemaExpr.cpp3060 if (const BlockScopeInfo *BSI = getCurBlock()) in BuildPredefinedExpr() local
3061 currentDecl = BSI->TheDecl; in BuildPredefinedExpr()
3976 else if (auto *BSI = dyn_cast<BlockScopeInfo>(CSI)) in CreateUnaryExprOrTypeTraitExpr() local
3977 DC = BSI->TheDecl; in CreateUnaryExprOrTypeTraitExpr()
12101 BlockScopeInfo *BSI = cast<BlockScopeInfo>(FunctionScopes.back()); in ActOnBlockStmtExpr() local
12103 if (BSI->HasImplicitReturnType) in ActOnBlockStmtExpr()
12104 deduceClosureReturnType(*BSI); in ActOnBlockStmtExpr()
12109 if (!BSI->ReturnType.isNull()) in ActOnBlockStmtExpr()
12110 RetTy = BSI->ReturnType; in ActOnBlockStmtExpr()
12112 bool NoReturn = BSI->TheDecl->hasAttr<NoReturnAttr>(); in ActOnBlockStmtExpr()
[all …]
DSemaCodeComplete.cpp4165 if (BlockScopeInfo *BSI = getCurBlock()) in CodeCompleteReturn() local
4166 ResultType = BSI->ReturnType; in CodeCompleteReturn()
/external/clang/test/Analysis/
Dsecurity-syntax-checks.m41 // Part of recommendation: 300-BSI (buildsecurityin.us-cert.gov)