Searched refs:Cast (Results 26 - 50 of 75) sorted by relevance

123

/freebsd-13-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DStore.h156 /// \p Cast.
157 SVal evalDerivedToBase(SVal Derived, const CastExpr *Cast);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/
H A DThreadSafetyCommon.cpp188 if (const auto *CE = dyn_cast_or_null<til::Cast>(E)) {
326 if (const auto *C = dyn_cast<til::Cast>(E))
407 return new (Arena) til::Cast(til::CAST_objToPtr, E);
422 return new (Arena) til::Cast(til::CAST_objToPtr, E);
589 return new (Arena) til::Cast(til::CAST_none, E0);
H A DConsumed.cpp502 void VisitCastExpr(const CastExpr *Cast);
756 void ConsumedStmtVisitor::VisitCastExpr(const CastExpr *Cast) { argument
757 forwardInfo(Cast->getSubExpr(), Cast);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp573 static void visitIVCast(CastInst *Cast, WideIVInfo &WI, ScalarEvolution *SE, argument
575 bool IsSigned = Cast->getOpcode() == Instruction::SExt;
576 if (!IsSigned && Cast->getOpcode() != Instruction::ZExt)
579 Type *Ty = Cast->getType();
581 if (!Cast->getModule()->getDataLayout().isLegalInteger(Width))
584 // Check that `Cast` actually extends the induction variable (we rely on this
585 // later). This takes care of cases where `Cast` is extending a truncation of
592 // Cast is either an sext or zext up to this point.
601 Cast->getOperand(0)->getType())) {
1622 void visitCast(CastInst *Cast) overrid
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DStackColoring.cpp929 BitCastInst *Cast = new BitCastInst(Inst, From->getType()); local
930 Cast->insertAfter(Inst);
931 Inst = Cast;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSimplifyIndVar.cpp925 CastInst *Cast = dyn_cast<CastInst>(UseInst); local
926 if (V && Cast) {
927 V->visitCast(Cast);
H A DSimplifyLibCalls.cpp1255 if (FPExtInst *Cast = dyn_cast<FPExtInst>(Val)) {
1256 Value *Op = Cast->getOperand(0);
1283 FPTruncInst *Cast = dyn_cast<FPTruncInst>(U);
1284 if (!Cast || !Cast->getType()->isFloatTy())
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DIVDescriptors.cpp172 if (auto *Cast = dyn_cast<CastInst>(Val))
173 if (Cast->getSrcTy() == RecurrenceType) {
177 Casts.insert(Cast);
1036 // Record any Cast instructions that participate in the induction update
H A DConstantFolding.cpp359 Instruction::CastOps Cast = Instruction::BitCast; local
363 Cast = Instruction::IntToPtr;
365 Cast = Instruction::PtrToInt;
367 if (CastInst::castIsValid(Cast, C, DestTy))
368 return ConstantExpr::getCast(Cast, C, DestTy);
H A DScalarEvolution.cpp3957 if (const SCEVCastExpr *Cast = dyn_cast<SCEVCastExpr>(V)) {
3958 V = Cast->getOperand();
8215 if (const SCEVZeroExtendExpr *Cast = dyn_cast<SCEVZeroExtendExpr>(V)) {
8216 const SCEV *Op = getSCEVAtScope(Cast->getOperand(), L);
8217 if (Op == Cast->getOperand())
8218 return Cast; // must be loop invariant
8219 return getZeroExtendExpr(Op, Cast->getType());
8222 if (const SCEVSignExtendExpr *Cast = dyn_cast<SCEVSignExtendExpr>(V)) {
8223 const SCEV *Op = getSCEVAtScope(Cast->getOperand(), L);
8224 if (Op == Cast
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp291 if (auto *Cast = dyn_cast<CastInst>(SingleUser->getOperand(1)))
292 if (I->getOpcode() == unsigned(Cast->getOpcode()) &&
293 cast<CastInst>(I)->getSrcTy() == Cast->getSrcTy())
/freebsd-13-stable/contrib/llvm-project/lldb/source/API/
H A DSBValue.cpp583 lldb::SBValue SBValue::Cast(SBType type) { function in class:SBValue
584 LLDB_RECORD_METHOD(lldb::SBValue, SBValue, Cast, (lldb::SBType), type);
591 sb_value.SetSP(value_sp->Cast(type_sp->GetCompilerType(false)),
1584 LLDB_REGISTER_METHOD(lldb::SBValue, SBValue, Cast, (lldb::SBType));
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUCodeGenPrepare.cpp570 static SelectInst *findSelectThroughCast(Value *V, CastInst *&Cast) { argument
571 Cast = nullptr;
575 if ((Cast = dyn_cast<CastInst>(V))) {
576 if (SelectInst *Sel = dyn_cast<SelectInst>(Cast->getOperand(0)))
/freebsd-13-stable/contrib/llvm-project/lldb/bindings/interface/
H A DSBValue.i252 SBValue::Cast (lldb::SBType type);
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyTraverse.h244 R_SExpr reduceCast(Cast &Orig, R_SExpr E0) { return E0; }
784 void printCast(const Cast *E, StreamType &SS) {
H A DThreadSafetyTIL.h1250 /// Cast expressions.
1251 /// Cast expressions are essentially unary operations, but we treat them
1253 class Cast : public SExpr { class in namespace:clang::threadSafety
1255 Cast(TIL_CastOpcode Op, SExpr *E) : SExpr(COP_Cast), Expr0(E) { Flags = Op; } function in class:clang::threadSafety::Cast
1256 Cast(const Cast &C, SExpr *E) : SExpr(C), Expr0(E) { Flags = C.Flags; } function in class:clang::threadSafety::Cast
1274 typename C::CType compare(const Cast* E, C& Cmp) const {
/freebsd-13-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DStatepointLowering.cpp170 if (const BitCastInst *Cast = dyn_cast<BitCastInst>(Val))
171 return findPreviousSpillSlot(Cast->getOperand(0), Builder, LookUpDepth - 1);
H A DFastISel.cpp351 if (const auto *Cast = dyn_cast<CastInst>(I))
352 if (Cast->isNoopCast(DL) && !hasTrivialKill(Cast->getOperand(0)))
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp692 Value *Cast = IRB.CreateBitOrPointerCast(C, OrigTy); local
693 I->replaceAllUsesWith(Cast);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineLoadStoreAlloca.cpp390 Value *Cast = local
394 Instruction *NewI = replaceInstUsesWith(AI, Cast);
401 PtrReplacer.replacePointer(AI, Cast);
/freebsd-13-stable/contrib/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h654 static Matcher<T> Cast(const M& polymorphic_matcher_or_value) { function in class:testing::internal::MatcherCastImpl
722 static Matcher<T> Cast(const Matcher<U>& source_matcher) { function in class:testing::internal::MatcherCastImpl
773 static Matcher<T> Cast(const Matcher<T>& matcher) { return matcher; } function in class:testing::internal::MatcherCastImpl
784 return internal::MatcherCastImpl<T, M>::Cast(matcher);
800 static inline Matcher<T> Cast(const M& polymorphic_matcher_or_value) { function in class:testing::SafeMatcherCastImpl
801 return internal::MatcherCastImpl<T, M>::Cast(polymorphic_matcher_or_value);
814 static inline Matcher<T> Cast(const Matcher<U>& matcher) { function in class:testing::SafeMatcherCastImpl
839 return SafeMatcherCastImpl<T>::Cast(polymorphic_matcher);
2419 // To is a pointer. Cast and forward the result.
/freebsd-13-stable/contrib/llvm-project/clang/utils/TableGen/
H A DNeonEmitter.cpp1016 // Cast to vector of 8-bit elements.
1310 std::string Cast;
1315 Cast = "(" + T2.str() + ")";
1319 S += Cast + V.getName() + ".val[" + utostr(J) + "], ";
/freebsd-13-stable/contrib/llvm-project/lldb/include/lldb/Core/
H A DValueObject.h605 virtual lldb::ValueObjectSP Cast(const CompilerType &compiler_type);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmt.cpp276 if (const auto *Cast = dyn_cast<CastExpr>(E))
277 if (Cast->getCastKind() == CK_NoOp ||
278 Cast->getCastKind() == CK_ConstructorConversion)
279 E = Cast->getSubExpr()->IgnoreImpCasts();
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DGlobalOpt.cpp1576 Instruction *Cast = new BitCastInst(Malloc, CI->getType(), "tmp", CI);
1577 CI->replaceAllUsesWith(Cast);
2765 Constant *Cast
2767 UsedArray.push_back(Cast);

Completed in 406 milliseconds

123