Home
last modified time | relevance | path

Searched refs:MaxType (Results 1 – 6 of 6) sorted by relevance

/external/llvm-project/polly/lib/CodeGen/
DIslExprBuilder.cpp178 Type *MaxType = getType(Expr); in createOpUnary() local
179 assert(MaxType->isIntegerTy() && in createOpUnary()
183 MaxType = getWidestType(MaxType, V->getType()); in createOpUnary()
185 if (MaxType != V->getType()) in createOpUnary()
186 V = Builder.CreateSExt(V, MaxType); in createOpUnary()
189 return createSub(ConstantInt::getNullValue(MaxType), V); in createOpUnary()
352 Type *MaxType; in createOpBin() local
368 MaxType = getWidestType(LHSType, RHSType); in createOpBin()
388 MaxType = getWidestType(MaxType, getType(Expr)); in createOpBin()
394 if (MaxType != RHS->getType()) in createOpBin()
[all …]
DIslNodeBuilder.cpp444 Type *MaxType = ExprBuilder.getType(Iterator); in createForVector() local
445 MaxType = ExprBuilder.getWidestType(MaxType, ValueLB->getType()); in createForVector()
446 MaxType = ExprBuilder.getWidestType(MaxType, ValueInc->getType()); in createForVector()
448 if (MaxType != ValueLB->getType()) in createForVector()
449 ValueLB = Builder.CreateSExt(ValueLB, MaxType); in createForVector()
450 if (MaxType != ValueInc->getType()) in createForVector()
451 ValueInc = Builder.CreateSExt(ValueInc, MaxType); in createForVector()
516 Type *MaxType; in createForSequential() local
541 MaxType = ExprBuilder.getType(Iterator.get()); in createForSequential()
542 MaxType = ExprBuilder.getWidestType(MaxType, ValueLB->getType()); in createForSequential()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DDependenceAnalysis.cpp1017 Type *MaxType = in isKnownLessThan() local
1019 S = SE->getTruncateOrZeroExtend(S, MaxType); in isKnownLessThan()
1020 Size = SE->getTruncateOrZeroExtend(Size, MaxType); in isKnownLessThan()
DScalarEvolution.cpp4149 Type *MaxType = nullptr; in getUMinFromMismatchedTypes() local
4151 if (MaxType) in getUMinFromMismatchedTypes()
4152 MaxType = getWiderType(MaxType, S->getType()); in getUMinFromMismatchedTypes()
4154 MaxType = S->getType(); in getUMinFromMismatchedTypes()
4159 PromotedOps.push_back(getNoopOrZeroExtend(S, MaxType)); in getUMinFromMismatchedTypes()
/external/llvm-project/llvm/lib/Analysis/
DDependenceAnalysis.cpp1019 Type *MaxType = in isKnownLessThan() local
1021 S = SE->getTruncateOrZeroExtend(S, MaxType); in isKnownLessThan()
1022 Size = SE->getTruncateOrZeroExtend(Size, MaxType); in isKnownLessThan()
DScalarEvolution.cpp4106 Type *MaxType = nullptr; in getUMinFromMismatchedTypes() local
4108 if (MaxType) in getUMinFromMismatchedTypes()
4109 MaxType = getWiderType(MaxType, S->getType()); in getUMinFromMismatchedTypes()
4111 MaxType = S->getType(); in getUMinFromMismatchedTypes()
4112 assert(MaxType && "Failed to find maximum type!"); in getUMinFromMismatchedTypes()
4117 PromotedOps.push_back(getNoopOrZeroExtend(S, MaxType)); in getUMinFromMismatchedTypes()