/external/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | SMTConv.h | 347 const llvm::SMTExprRef &LHS, QualType LTy, in getBinExpr() argument 352 doTypeConversion(Solver, Ctx, NewLHS, NewRHS, LTy, RTy); in getBinExpr() 363 *RetTy = LTy; in getBinExpr() 368 if (LTy->isAnyPointerType() && RTy->isAnyPointerType() && Op == BO_Sub) { in getBinExpr() 373 return LTy->isRealFloatingType() in getBinExpr() 376 LTy->isSignedIntegerOrEnumerationType()); in getBinExpr() 386 QualType LTy, RTy; in getSymBinExpr() local 391 getSymExpr(Solver, Ctx, SIE->getLHS(), <y, hasComparison); in getSymBinExpr() 396 return getBinExpr(Solver, Ctx, LHS, LTy, Op, RHS, RTy, RetTy); in getSymBinExpr() 401 std::tie(NewLInt, LTy) = fixAPSInt(Ctx, ISE->getLHS()); in getSymBinExpr() [all …]
|
D | SMTConstraintManager.h | 189 QualType LTy, RTy; in REGISTER_TRAIT_WITH_PROGRAMSTATE() local 190 std::tie(ConvertedLHS, LTy) = SMTConv::fixAPSInt(Ctx, *LHS); in REGISTER_TRAIT_WITH_PROGRAMSTATE() 193 Solver, Ctx, ConvertedLHS, LTy, ConvertedRHS, RTy); in REGISTER_TRAIT_WITH_PROGRAMSTATE()
|
/external/llvm/include/llvm/IR/ |
D | PatternMatch.h | 86 template <typename LTy, typename RTy> struct match_combine_or { 87 LTy L; 90 match_combine_or(const LTy &Left, const RTy &Right) : L(Left), R(Right) {} in match_combine_or() 101 template <typename LTy, typename RTy> struct match_combine_and { 102 LTy L; 105 match_combine_and(const LTy &Left, const RTy &Right) : L(Left), R(Right) {} in match_combine_and() 116 template <typename LTy, typename RTy> 117 inline match_combine_or<LTy, RTy> m_CombineOr(const LTy &L, const RTy &R) { in m_CombineOr() 118 return match_combine_or<LTy, RTy>(L, R); in m_CombineOr() 122 template <typename LTy, typename RTy> [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | PatternMatch.h | 112 template <typename LTy, typename RTy> struct match_combine_or { 113 LTy L; 116 match_combine_or(const LTy &Left, const RTy &Right) : L(Left), R(Right) {} in match_combine_or() 127 template <typename LTy, typename RTy> struct match_combine_and { 128 LTy L; 131 match_combine_and(const LTy &Left, const RTy &Right) : L(Left), R(Right) {} in match_combine_and() 142 template <typename LTy, typename RTy> 143 inline match_combine_or<LTy, RTy> m_CombineOr(const LTy &L, const RTy &R) { in m_CombineOr() 144 return match_combine_or<LTy, RTy>(L, R); in m_CombineOr() 148 template <typename LTy, typename RTy> [all …]
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | PatternMatch.h | 125 template <typename LTy, typename RTy> struct match_combine_or { 126 LTy L; 129 match_combine_or(const LTy &Left, const RTy &Right) : L(Left), R(Right) {} in match_combine_or() 140 template <typename LTy, typename RTy> struct match_combine_and { 141 LTy L; 144 match_combine_and(const LTy &Left, const RTy &Right) : L(Left), R(Right) {} in match_combine_and() 155 template <typename LTy, typename RTy> 156 inline match_combine_or<LTy, RTy> m_CombineOr(const LTy &L, const RTy &R) { in m_CombineOr() 157 return match_combine_or<LTy, RTy>(L, R); in m_CombineOr() 161 template <typename LTy, typename RTy> [all …]
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaExprCXX.cpp | 6075 QualType LTy = LHS.get()->getType(); in CXXCheckConditionalOperands() local 6077 bool LVoid = LTy->isVoidType(); in CXXCheckConditionalOperands() 6113 << (LVoid ? RTy : LTy) << (LVoid ? 0 : 1) in CXXCheckConditionalOperands() 6126 if (!Context.hasSameType(LTy, RTy) && in CXXCheckConditionalOperands() 6127 (LTy->isRecordType() || RTy->isRecordType())) { in CXXCheckConditionalOperands() 6139 << LTy << RTy << LHS.get()->getSourceRange() << RHS.get()->getSourceRange(); in CXXCheckConditionalOperands() 6149 LTy = LHS.get()->getType(); in CXXCheckConditionalOperands() 6170 if (!Context.hasSameType(LTy, RTy) && in CXXCheckConditionalOperands() 6180 if (CompareReferenceRelationship(QuestionLoc, LTy, RTy, &RefConv) == in CXXCheckConditionalOperands() 6186 RHS = ImpCastExprToType(RHS.get(), LTy, CK_NoOp, RVK); in CXXCheckConditionalOperands() [all …]
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngineC.cpp | 143 QualType LTy = getContext().getCanonicalType(LHS->getType()); in VisitBinaryOperator() local 146 V = svalBuilder.evalCast(V, CLHSTy, LTy); in VisitBinaryOperator() 161 LHSVal = svalBuilder.conjureSymbolVal(nullptr, B->getRHS(), LCtx, LTy, in VisitBinaryOperator() 164 Result = svalBuilder.evalCast(LHSVal, CTy, LTy); in VisitBinaryOperator() 169 LHSVal = svalBuilder.evalCast(Result, LTy, CTy); in VisitBinaryOperator()
|
/external/clang/lib/Sema/ |
D | SemaExprCXX.cpp | 5129 QualType LTy = LHS.get()->getType(); in CXXCheckConditionalOperands() local 5131 bool LVoid = LTy->isVoidType(); in CXXCheckConditionalOperands() 5156 << (LVoid ? RTy : LTy) << (LVoid ? 0 : 1) in CXXCheckConditionalOperands() 5167 if (!Context.hasSameType(LTy, RTy) && in CXXCheckConditionalOperands() 5168 (LTy->isRecordType() || RTy->isRecordType())) { in CXXCheckConditionalOperands() 5180 << LTy << RTy << LHS.get()->getSourceRange() << RHS.get()->getSourceRange(); in CXXCheckConditionalOperands() 5190 LTy = LHS.get()->getType(); in CXXCheckConditionalOperands() 5204 if (!Context.hasSameType(LTy, RTy) && in CXXCheckConditionalOperands() 5205 Context.hasSameUnqualifiedType(LTy, RTy) && in CXXCheckConditionalOperands() 5210 Qualifiers LCVR = Qualifiers::fromCVRMask(LTy.getCVRQualifiers()); in CXXCheckConditionalOperands() [all …]
|
/external/clang/lib/CodeGen/ |
D | CGObjCRuntime.cpp | 94 llvm::Type *LTy = CGF.CGM.getTypes().ConvertTypeForMem(IvarTy); in EmitValueForIvarAtOffset() local 99 V = CGF.Builder.CreateBitCast(V, llvm::PointerType::getUnqual(LTy)); in EmitValueForIvarAtOffset()
|
D | CGBlocks.cpp | 1339 llvm::FunctionType *LTy = CGM.getTypes().GetFunctionType(FI); in GenerateCopyHelperFunction() local 1342 llvm::Function::Create(LTy, llvm::GlobalValue::InternalLinkage, in GenerateCopyHelperFunction() 1515 llvm::FunctionType *LTy = CGM.getTypes().GetFunctionType(FI); in GenerateDestroyHelperFunction() local 1518 llvm::Function::Create(LTy, llvm::GlobalValue::InternalLinkage, in GenerateDestroyHelperFunction() 1799 llvm::FunctionType *LTy = CGF.CGM.getTypes().GetFunctionType(FI); in generateByrefCopyHelper() local 1804 llvm::Function::Create(LTy, llvm::GlobalValue::InternalLinkage, in generateByrefCopyHelper() 1872 llvm::FunctionType *LTy = CGF.CGM.getTypes().GetFunctionType(FI); in generateByrefDisposeHelper() local 1877 llvm::Function::Create(LTy, llvm::GlobalValue::InternalLinkage, in generateByrefDisposeHelper()
|
D | CGDeclCXX.cpp | 165 llvm::Type *LTy = CGM.getTypes().ConvertTypeForMem(T); in EmitCXXGlobalVarDeclInit() local 166 llvm::PointerType *PTy = llvm::PointerType::get(LTy, ExpectedAddrSpace); in EmitCXXGlobalVarDeclInit()
|
D | CGDecl.cpp | 205 llvm::Type *LTy = getTypes().ConvertTypeForMem(Ty); in getOrCreateStaticVarDecl() local 214 Init = llvm::UndefValue::get(LTy); in getOrCreateStaticVarDecl() 217 new llvm::GlobalVariable(getModule(), LTy, in getOrCreateStaticVarDecl() 242 llvm::PointerType *PTy = llvm::PointerType::get(LTy, ExpectedAddrSpace); in getOrCreateStaticVarDecl()
|
D | CGExprComplex.cpp | 1017 llvm::Type* LTy = CGF.ConvertType(Ty); in VisitInitListExpr() local 1018 llvm::Value* zeroConstant = llvm::Constant::getNullValue(LTy); in VisitInitListExpr()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGObjCRuntime.cpp | 65 llvm::Type *LTy = CGF.CGM.getTypes().ConvertTypeForMem(IvarTy); in EmitValueForIvarAtOffset() local 70 V = CGF.Builder.CreateBitCast(V, llvm::PointerType::getUnqual(LTy)); in EmitValueForIvarAtOffset()
|
D | CGBlocks.cpp | 1940 llvm::FunctionType *LTy = CGM.getTypes().GetFunctionType(FI); in GenerateCopyHelperFunction() local 1943 llvm::Function::Create(LTy, llvm::GlobalValue::LinkOnceODRLinkage, in GenerateCopyHelperFunction() 2135 llvm::FunctionType *LTy = CGM.getTypes().GetFunctionType(FI); in GenerateDestroyHelperFunction() local 2138 llvm::Function::Create(LTy, llvm::GlobalValue::LinkOnceODRLinkage, in GenerateDestroyHelperFunction() 2387 llvm::FunctionType *LTy = CGF.CGM.getTypes().GetFunctionType(FI); in generateByrefCopyHelper() local 2392 llvm::Function::Create(LTy, llvm::GlobalValue::InternalLinkage, in generateByrefCopyHelper() 2462 llvm::FunctionType *LTy = CGF.CGM.getTypes().GetFunctionType(FI); in generateByrefDisposeHelper() local 2467 llvm::Function::Create(LTy, llvm::GlobalValue::InternalLinkage, in generateByrefDisposeHelper()
|
D | CGDeclCXX.cpp | 199 llvm::Type *LTy = CGM.getTypes().ConvertTypeForMem(T); in EmitCXXGlobalVarDeclInit() local 200 llvm::PointerType *PTy = llvm::PointerType::get(LTy, ExpectedAddrSpace); in EmitCXXGlobalVarDeclInit()
|
D | CGCall.cpp | 1646 llvm::Type *LTy = ConvertTypeForMem(it->type); in GetFunctionType() local 1647 ArgTypes[FirstIRArg] = LTy->getPointerTo( in GetFunctionType() 1653 llvm::Type *LTy = ConvertTypeForMem(it->type); in GetFunctionType() local 1654 ArgTypes[FirstIRArg] = LTy->getPointerTo(ArgInfo.getIndirectAddrSpace()); in GetFunctionType() 2541 llvm::Type *LTy = ConvertType(Arg->getType()); in EmitFunctionProlog() local 2546 if (ArgI.getDirectOffset() == 0 && LTy->isPointerTy() && in EmitFunctionProlog() 2663 llvm::Type *LTy = ConvertType(Arg->getType()); in EmitFunctionProlog() local 2664 if (V->getType() != LTy) in EmitFunctionProlog() 2665 V = Builder.CreateBitCast(V, LTy); in EmitFunctionProlog()
|
D | CGDecl.cpp | 253 llvm::Type *LTy = getTypes().ConvertTypeForMem(Ty); in getOrCreateStaticVarDecl() local 262 Init = llvm::UndefValue::get(LTy); in getOrCreateStaticVarDecl() 267 getModule(), LTy, Ty.isConstant(getContext()), Linkage, Init, Name, in getOrCreateStaticVarDecl() 285 LTy->getPointerTo(getContext().getTargetAddressSpace(ExpectedAS))); in getOrCreateStaticVarDecl()
|
D | CGExprComplex.cpp | 1092 llvm::Type* LTy = CGF.ConvertType(Ty); in VisitInitListExpr() local 1093 llvm::Value* zeroConstant = llvm::Constant::getNullValue(LTy); in VisitInitListExpr()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngineC.cpp | 152 QualType LTy = getContext().getCanonicalType(LHS->getType()); in VisitBinaryOperator() local 155 V = svalBuilder.evalCast(V, CLHSTy, LTy); in VisitBinaryOperator() 170 LHSVal = svalBuilder.conjureSymbolVal(nullptr, B->getRHS(), LCtx, LTy, in VisitBinaryOperator() 173 Result = svalBuilder.evalCast(LHSVal, CTy, LTy); in VisitBinaryOperator() 178 LHSVal = svalBuilder.evalCast(Result, LTy, CTy); in VisitBinaryOperator()
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | X86ISelLowering.h | 982 bool isMultiStoresCheaperThanBitsMerge(EVT LTy, EVT HTy) const override { in isMultiStoresCheaperThanBitsMerge() argument 988 if ((LTy.isFloatingPoint() && HTy.isInteger()) || in isMultiStoresCheaperThanBitsMerge() 989 (LTy.isInteger() && HTy.isFloatingPoint())) in isMultiStoresCheaperThanBitsMerge()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.h | 870 bool isMultiStoresCheaperThanBitsMerge(EVT LTy, EVT HTy) const override { in isMultiStoresCheaperThanBitsMerge() argument 876 if ((LTy.isFloatingPoint() && HTy.isInteger()) || in isMultiStoresCheaperThanBitsMerge() 877 (LTy.isInteger() && HTy.isFloatingPoint())) in isMultiStoresCheaperThanBitsMerge()
|
/external/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 1751 Type *LTy = LI->getType(); in isVectorPromotionViableForSlice() local 1753 assert(LTy->isIntegerTy()); in isVectorPromotionViableForSlice() 1754 LTy = SplitIntTy; in isVectorPromotionViableForSlice() 1756 if (!canConvertValue(DL, SliceTy, LTy)) in isVectorPromotionViableForSlice() 2407 Type *LTy = TargetTy->getPointerTo(); in visitLoadInst() local 2408 LoadInst *NewLI = IRB.CreateAlignedLoad(getNewAllocaSlicePtr(IRB, LTy), in visitLoadInst()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 1849 Type *LTy = LI->getType(); in isVectorPromotionViableForSlice() local 1851 assert(LTy->isIntegerTy()); in isVectorPromotionViableForSlice() 1852 LTy = SplitIntTy; in isVectorPromotionViableForSlice() 1854 if (!canConvertValue(DL, SliceTy, LTy)) in isVectorPromotionViableForSlice() 2553 Type *LTy = TargetTy->getPointerTo(AS); in visitLoadInst() local 2555 TargetTy, getNewAllocaSlicePtr(IRB, LTy), getSliceAlign(TargetTy), in visitLoadInst()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | SROA.cpp | 1859 Type *LTy = LI->getType(); in isVectorPromotionViableForSlice() local 1861 assert(LTy->isIntegerTy()); in isVectorPromotionViableForSlice() 1862 LTy = SplitIntTy; in isVectorPromotionViableForSlice() 1864 if (!canConvertValue(DL, SliceTy, LTy)) in isVectorPromotionViableForSlice() 2572 Type *LTy = TargetTy->getPointerTo(AS); in visitLoadInst() local 2574 IRB.CreateAlignedLoad(TargetTy, getNewAllocaSlicePtr(IRB, LTy), in visitLoadInst()
|