Home
last modified time | relevance | path

Searched refs:Cast (Results 1 – 25 of 154) sorted by relevance

1234567

/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DConversionChecker.cpp65 if (Cast->getExprLoc().isMacroID()) in checkPreStmt()
81 LossOfSign = isLossOfSign(Cast, C); in checkPreStmt()
82 LossOfPrecision = isLossOfPrecision(Cast, Cast->getType(), C); in checkPreStmt()
87 LossOfSign = isLossOfSign(Cast, C); in checkPreStmt()
90 LossOfSign = isLossOfSign(Cast, C); in checkPreStmt()
93 LossOfSign = isLossOfSign(Cast, C); in checkPreStmt()
96 LossOfSign = isLossOfSign(Cast, C); in checkPreStmt()
99 LossOfSign = isLossOfSign(Cast, C); in checkPreStmt()
102 LossOfSign = isLossOfSign(Cast, C); in checkPreStmt()
103 LossOfPrecision = isLossOfPrecision(Cast, Cast->getType(), C); in checkPreStmt()
[all …]
H A DValistChecker.cpp170 if (const auto *Cast = dyn_cast<CastExpr>(E)) { in getVAListAsRegion() local
171 QualType Ty = Cast->getType(); in getVAListAsRegion()
/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DPHITransAddr.cpp188 if (CastInst *Cast = dyn_cast<CastInst>(Inst)) { in PHITranslateSubExpr() local
189 if (!isSafeToSpeculativelyExecute(Cast)) return nullptr; in PHITranslateSubExpr()
192 if (PHIIn == Cast->getOperand(0)) in PHITranslateSubExpr()
193 return Cast; in PHITranslateSubExpr()
199 return AddAsInput(ConstantExpr::getCast(Cast->getOpcode(), in PHITranslateSubExpr()
200 C, Cast->getType())); in PHITranslateSubExpr()
206 if (CastI->getOpcode() == Cast->getOpcode() && in PHITranslateSubExpr()
207 CastI->getType() == Cast->getType() && in PHITranslateSubExpr()
381 if (CastInst *Cast = dyn_cast<CastInst>(Inst)) { in InsertPHITranslatedSubExpr() local
382 if (!isSafeToSpeculativelyExecute(Cast)) return nullptr; in InsertPHITranslatedSubExpr()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/
H A DSystemZTDC.cpp239 if (auto *Cast = dyn_cast<BitCastInst>(Op0)) { in convertICmp() local
241 if (!Cast->getSrcTy()->isFloatTy() && in convertICmp()
242 !Cast->getSrcTy()->isDoubleTy() && in convertICmp()
243 !Cast->getSrcTy()->isFP128Ty()) in convertICmp()
245 Value *V = Cast->getOperand(0); in convertICmp()
257 PossibleJunk.insert(Cast); in convertICmp()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp180 auto *Cast = CastInst::CreateBitOrPointerCast(CS.getInstruction(), RetTy, "", in createRetBitCast() local
183 *RetBitCast = Cast; in createRetBitCast()
187 U->replaceUsesOfWith(CS.getInstruction(), Cast); in createRetBitCast()
408 auto *Cast = CastInst::CreateBitOrPointerCast(Arg, FormalTy, "", in promoteCall() local
410 CS.setArgument(ArgNo, Cast); in promoteCall()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Core/
H A DValueObjectConstResultCast.cpp61 ValueObjectConstResultCast::Cast(const CompilerType &compiler_type) { in Cast() function in ValueObjectConstResultCast
62 return m_impl.Cast(compiler_type); in Cast()
H A DValueObjectConstResultChild.cpp73 ValueObjectConstResultChild::Cast(const CompilerType &compiler_type) { in Cast() function in ValueObjectConstResultChild
74 return m_impl.Cast(compiler_type); in Cast()
H A DValueObjectConstResult.cpp289 ValueObjectConstResult::Cast(const CompilerType &compiler_type) { in Cast() function in ValueObjectConstResult
290 return m_impl.Cast(compiler_type); in Cast()
H A DValueObjectConstResultImpl.cpp146 ValueObjectConstResultImpl::Cast(const CompilerType &compiler_type) { in Cast() function in ValueObjectConstResultImpl
/freebsd-12.1/contrib/gcclibs/libcpp/
H A DChangeLog275 (init_iconv_desc): Cast return value of alloca.
280 (_cpp_interpret_identifier): Cast return value of alloca.
286 (save_registered_pragmas): Cast return value of xmemdup.
289 (do_assert): Cast allocated storage to proper type.
295 * expr.c (CPP_UPLUS): Cast value to type cpp_ttype.
306 (cpp_included): Cast return value of htab_find_with_hash.
317 (read_original_directory): Cast return value of alloca.
323 * macro.c (builtin_macro): Cast return value of alloca.
335 (deps_add_default_target): Cast return value of alloca.
341 (count_defs): Cast return value of htab_find.
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DStore.cpp249 SVal StoreManager::evalDerivedToBase(SVal Derived, const CastExpr *Cast) { in evalDerivedToBase() argument
252 if (!regionMatchesCXXRecordType(Derived, Cast->getSubExpr()->getType())) in evalDerivedToBase()
257 for (CastExpr::path_const_iterator I = Cast->path_begin(), in evalDerivedToBase()
258 E = Cast->path_end(); in evalDerivedToBase()
/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFixFunctionBitcasts.cpp190 Instruction *Cast = in CreateWrapper() local
192 BB->getInstList().push_back(Cast); in CreateWrapper()
193 ReturnInst::Create(M->getContext(), Cast, BB); in CreateWrapper()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp245 if (!Cast || !Cast->hasOneUse()) in simplifyAssocCastAssoc()
249 auto CastOpcode = Cast->getOpcode(); in simplifyAssocCastAssoc()
276 Cast->setOperand(0, BinOp2->getOperand(0)); in simplifyAssocCastAssoc()
789 if (auto *Cast = dyn_cast<CastInst>(&I)) in foldOperationIntoSelectOperand() local
1255 if (CastInst *Cast = dyn_cast<CastInst>(Op)) { in Descale() local
1256 if (Cast->getOpcode() == Instruction::SExt) { in Descale()
1273 Parent = std::make_pair(Cast, 0); in Descale()
1278 if (Cast->getOpcode() == Instruction::Trunc) { in Descale()
1290 Parent = std::make_pair(Cast, 0); in Descale()
2387 auto *Cast = dyn_cast<CastInst>(&Inst); in tryToMoveFreeBeforeNullTest() local
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGOpenCLRuntime.cpp150 if (auto Cast = dyn_cast<CastExpr>(E)) { in emitOpenCLEnqueuedBlock() local
151 E = Cast->getSubExpr(); in emitOpenCLEnqueuedBlock()
/freebsd-12.1/contrib/llvm/include/llvm/Transforms/Utils/
H A DSimplifyIndVar.h44 virtual void visitCast(CastInst *Cast) = 0;
/freebsd-12.1/contrib/llvm/lib/Transforms/Scalar/
H A DSeparateConstOffsetFromGEP.cpp657 if (CastInst *Cast = dyn_cast<CastInst>(U)) { in distributeExtsAndCloneChain() local
659 (isa<SExtInst>(Cast) || isa<ZExtInst>(Cast) || isa<TruncInst>(Cast)) && in distributeExtsAndCloneChain()
661 ExtInsts.push_back(Cast); in distributeExtsAndCloneChain()
/freebsd-12.1/crypto/heimdal/
H A DChangeLog153 * lib/krb5/ticket.c: Cast krb5_error_code to int to avoid warning.
155 * lib/krb5/scache.c: Cast krb5_error_code to int to avoid warning.
157 * lib/krb5/principal.c: Cast enum to int to avoid warning.
159 * lib/krb5/pkinit.c: Cast krb5_error_code to int to avoid warning.
161 * lib/krb5/pac.c: Cast size_t to unsigned long to avoid warning.
163 * lib/krb5/error_string.c: Cast krb5_error_code to int to avoid
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Core/
H A DValueObjectConstResultCast.h62 lldb::ValueObjectSP Cast(const CompilerType &compiler_type) override;
H A DValueObjectConstResultImpl.h62 lldb::ValueObjectSP Cast(const CompilerType &compiler_type);
H A DValueObjectConstResultChild.h72 lldb::ValueObjectSP Cast(const CompilerType &compiler_type) override;
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyOps.def42 TIL_OPCODE_DEF(Cast)
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DTargetTransformInfoImpl.h630 if (const auto* Cast = dyn_cast<SExtInst>(Val)) { in minRequiredElementSize() local
632 return Cast->getSrcTy()->getScalarSizeInBits() - 1; in minRequiredElementSize()
635 if (const auto* Cast = dyn_cast<ZExtInst>(Val)) { in minRequiredElementSize() local
637 return Cast->getSrcTy()->getScalarSizeInBits(); in minRequiredElementSize()
/freebsd-12.1/contrib/gcclibs/libdecnumber/
H A DChangeLog121 * decNumber.c (decStrEq): Cast string contents to unsigned char
126 * decNumber.c (decStrEq): Cast operands to int before calling
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DThreadSafetyCommon.cpp189 if (const auto *CE = dyn_cast_or_null<til::Cast>(E)) { in translateAttrExpr()
323 if (const auto *C = dyn_cast<til::Cast>(E)) in hasAnyPointerType()
404 return new (Arena) til::Cast(til::CAST_objToPtr, E); in translateCXXMemberCallExpr()
419 return new (Arena) til::Cast(til::CAST_objToPtr, E); in translateCXXOperatorCallExpr()
586 return new (Arena) til::Cast(til::CAST_none, E0); in translateCastExpr()
/freebsd-12.1/contrib/gcclibs/libiberty/
H A DChangeLog.gcc4323 * pex-unix.c (writeerr): Cast write result to void.

1234567