Home
last modified time | relevance | path

Searched refs:LTy (Results 1 – 23 of 23) sorted by relevance

/external/llvm/include/llvm/IR/
DPatternMatch.h86 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-7.0/llvm/include/llvm/IR/
DPatternMatch.h94 template <typename LTy, typename RTy> struct match_combine_or {
95 LTy L;
98 match_combine_or(const LTy &Left, const RTy &Right) : L(Left), R(Right) {} in match_combine_or()
109 template <typename LTy, typename RTy> struct match_combine_and {
110 LTy L;
113 match_combine_and(const LTy &Left, const RTy &Right) : L(Left), R(Right) {} in match_combine_and()
124 template <typename LTy, typename RTy>
125 inline match_combine_or<LTy, RTy> m_CombineOr(const LTy &L, const RTy &R) { in m_CombineOr()
126 return match_combine_or<LTy, RTy>(L, R); in m_CombineOr()
130 template <typename LTy, typename RTy>
[all …]
/external/clang/lib/Sema/
DSemaExprCXX.cpp5129 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/StaticAnalyzer/Core/
DExprEngineC.cpp143 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/CodeGen/
DCGObjCRuntime.cpp94 llvm::Type *LTy = CGF.CGM.getTypes().ConvertTypeForMem(IvarTy); in EmitValueForIvarAtOffset() local
99 V = CGF.Builder.CreateBitCast(V, llvm::PointerType::getUnqual(LTy)); in EmitValueForIvarAtOffset()
DCGBlocks.cpp1339 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()
DCGDeclCXX.cpp165 llvm::Type *LTy = CGM.getTypes().ConvertTypeForMem(T); in EmitCXXGlobalVarDeclInit() local
166 llvm::PointerType *PTy = llvm::PointerType::get(LTy, ExpectedAddrSpace); in EmitCXXGlobalVarDeclInit()
DCGDecl.cpp205 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()
DCGExprComplex.cpp1017 llvm::Type* LTy = CGF.ConvertType(Ty); in VisitInitListExpr() local
1018 llvm::Value* zeroConstant = llvm::Constant::getNullValue(LTy); in VisitInitListExpr()
DCGObjC.cpp3208 llvm::FunctionType *LTy = CGM.getTypes().GetFunctionType(FI); in GenerateObjCAtomicSetterCopyHelperFunction() local
3211 llvm::Function::Create(LTy, llvm::GlobalValue::InternalLinkage, in GenerateObjCAtomicSetterCopyHelperFunction()
3289 llvm::FunctionType *LTy = CGM.getTypes().GetFunctionType(FI); in GenerateObjCAtomicGetterCopyHelperFunction() local
3292 llvm::Function::Create(LTy, llvm::GlobalValue::InternalLinkage, in GenerateObjCAtomicGetterCopyHelperFunction()
DCGCall.cpp1548 llvm::Type *LTy = ConvertTypeForMem(it->type); in GetFunctionType() local
1549 ArgTypes[FirstIRArg] = LTy->getPointerTo(); in GetFunctionType()
2313 llvm::Type *LTy = ConvertType(Arg->getType()); in EmitFunctionProlog() local
2314 if (V->getType() != LTy) in EmitFunctionProlog()
2315 V = Builder.CreateBitCast(V, LTy); in EmitFunctionProlog()
DTargetInfo.cpp3338 llvm::Type *LTy = CGF.ConvertTypeForMem(Ty); in EmitX86_64VAArgFromMemory() local
3341 llvm::PointerType::getUnqual(LTy)); in EmitX86_64VAArgFromMemory()
3432 llvm::Type *LTy = CGF.ConvertTypeForMem(Ty); in EmitVAArg() local
3470 RegAddr = CGF.Builder.CreateElementBitCast(Tmp, LTy); in EmitVAArg()
3474 RegAddr = CGF.Builder.CreateElementBitCast(RegAddr, LTy); in EmitVAArg()
3493 RegAddr = CGF.Builder.CreateElementBitCast(RegAddr, LTy); in EmitVAArg()
3521 RegAddr = CGF.Builder.CreateElementBitCast(Tmp, LTy); in EmitVAArg()
DCGExprScalar.cpp992 llvm::VectorType *LTy = cast<llvm::VectorType>(LHS->getType()); in VisitShuffleVectorExpr() local
993 unsigned LHSElts = LTy->getNumElements(); in VisitShuffleVectorExpr()
1010 llvm::VectorType *RTy = llvm::VectorType::get(LTy->getElementType(), in VisitShuffleVectorExpr()
DCGExpr.cpp1233 llvm::Type *LTy = CGF.ConvertTypeForMem(ED->getIntegerType()); in getRangeForType() local
1234 unsigned Bitwidth = LTy->getScalarSizeInBits(); in getRangeForType()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelLowering.h794 bool isMultiStoresCheaperThanBitsMerge(EVT LTy, EVT HTy) const override { in isMultiStoresCheaperThanBitsMerge() argument
800 if ((LTy.isFloatingPoint() && HTy.isInteger()) || in isMultiStoresCheaperThanBitsMerge()
801 (LTy.isInteger() && HTy.isFloatingPoint())) in isMultiStoresCheaperThanBitsMerge()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstructionCombining.cpp1646 ArrayType *LTy = dyn_cast<ArrayType>(LFilter->getType()); in visitLandingPadInst() local
1647 if (!LTy) in visitLandingPadInst()
1661 unsigned LElts = LTy->getNumElements(); in visitLandingPadInst()
/external/llvm/lib/Transforms/Scalar/
DSROA.cpp1751 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-7.0/llvm/lib/Transforms/Scalar/
DSROA.cpp1819 Type *LTy = LI->getType(); in isVectorPromotionViableForSlice() local
1821 assert(LTy->isIntegerTy()); in isVectorPromotionViableForSlice()
1822 LTy = SplitIntTy; in isVectorPromotionViableForSlice()
1824 if (!canConvertValue(DL, SliceTy, LTy)) in isVectorPromotionViableForSlice()
2510 Type *LTy = TargetTy->getPointerTo(AS); in visitLoadInst() local
2511 LoadInst *NewLI = IRB.CreateAlignedLoad(getNewAllocaSlicePtr(IRB, LTy), in visitLoadInst()
/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp2616 ArrayType *LTy = dyn_cast<ArrayType>(LFilter->getType()); in visitLandingPadInst() local
2617 if (!LTy) in visitLandingPadInst()
2631 unsigned LElts = LTy->getNumElements(); in visitLandingPadInst()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp2792 ArrayType *LTy = dyn_cast<ArrayType>(LFilter->getType()); in visitLandingPadInst() local
2793 if (!LTy) in visitLandingPadInst()
2807 unsigned LElts = LTy->getNumElements(); in visitLandingPadInst()
/external/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp1737 auto *LTy = L->getType(); in isPointerValueDeadOnEntryToFunction() local
1744 DL.getTypeStoreSize(LTy) <= DL.getTypeStoreSize(STy); in isPointerValueDeadOnEntryToFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp1825 auto *LTy = L->getType(); in isPointerValueDeadOnEntryToFunction() local
1832 DL.getTypeStoreSize(LTy) <= DL.getTypeStoreSize(STy); in isPointerValueDeadOnEntryToFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DTargetLowering.h451 virtual bool isMultiStoresCheaperThanBitsMerge(EVT LTy, EVT HTy) const { in isMultiStoresCheaperThanBitsMerge() argument