Searched refs:Select (Results 26 - 50 of 120) sorted by relevance

12345

/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBPFISelDAGToDAG.cpp71 void Select(SDNode *N) override;
180 void BPFDAGToDAGISel::Select(SDNode *Node) { function in class:BPFDAGToDAGISel
240 // Select the default instruction
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineAddSub.cpp1114 Value *X, *Select; local
1119 m_Value(Select))))
1123 if (I.getOpcode() == Instruction::Sub && I.getOperand(1) != Select)
1159 SkipExtInMagic(Select);
1168 if (!match(Select, m_Select(m_ICmp(Pred, m_Specific(X), m_APInt(Thr)),
1922 [Ty = I.getType()](Value *Select, Value *OtherHandOfSub,
1925 if (!match(Select, m_OneUse(m_Select(m_Value(Cond), m_Value(TrueVal),
1940 NewSel->copyMetadata(cast<Instruction>(*Select));
1944 /*Select=*/Op0, /*OtherHandOfSub=*/Op1,
1951 /*Select
[all...]
H A DInstCombineInternal.h226 case Instruction::Select:
932 Instruction *foldICmpSelectConstant(ICmpInst &Cmp, SelectInst *Select,
H A DInstCombineSelect.cpp2081 if (auto *Select = dyn_cast<SelectInst>(SI.user_back()))
2082 if (Select->getCondition() == SI.getCondition())
2083 if (Select->getFalseValue() == SI.getTrueValue() ||
2084 Select->getTrueValue() == SI.getFalseValue())
2785 if (Instruction *Select = foldSelectCmpXchg(SI))
2786 return Select;
2788 if (Instruction *Select = foldSelectBinOpIdentity(SI, TLI))
2789 return Select;
H A DInstCombineCasts.cpp207 case Instruction::Select: {
428 case Instruction::Select: {
1059 case Instruction::Select:
1342 case Instruction::Select:
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp290 enum ShuffleMode { Unknown, Select, Permute }; enumerator in enum:ShuffleMode
324 CommonShuffleMode = Select;
327 if (CommonShuffleMode == Select && Vec2)
2817 case Instruction::Select:
3377 case Instruction::Select: {
4240 case Instruction::Select: {
5371 case Instruction::Select: {
6459 if (auto *Select = dyn_cast<SelectInst>(V)) {
6461 if (m_UMin(m_Value(LHS), m_Value(RHS)).match(Select)) {
6463 } else if (m_SMin(m_Value(LHS), m_Value(RHS)).match(Select)) {
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXGenericToNVVM.cpp295 case Instruction::Select:
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp174 case Instruction::Select:
626 // cost for a Select / ZExt or SExt instruction.
846 assert (Opcode == Instruction::Select);
877 case Instruction::Select:
880 return 1; // Load On Condition / Select Register.
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DBasicTTIImpl.h1167 Cost += ConcreteTTI->getCmpSelInstrCost(BinaryOperator::Select, RetTy,
1352 Cost += 2 * ConcreteTTI->getCmpSelInstrCost(BinaryOperator::Select, RetTy,
1368 Cost += ConcreteTTI->getCmpSelInstrCost(BinaryOperator::Select, RetTy,
1655 /// \param CondTy Conditional type for the Select instruction.
1690 ConcreteTTI->getCmpSelInstrCost(Instruction::Select, SubTy, CondTy,
1715 ConcreteTTI->getCmpSelInstrCost(Instruction::Select, Ty, CondTy,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionAttrs.cpp471 case Instruction::Select:
889 case Instruction::Select: {
1002 case Instruction::Select: {
H A DCalledValuePropagation.cpp183 case Instruction::Select:
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DOperator.h391 // This would make things consistent with Select/PHI (FP value type
397 case Instruction::Select:
/freebsd-11-stable/contrib/llvm-project/llvm/lib/CodeGen/
H A DStackProtector.cpp194 case Instruction::Select:
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DDemandedBits.cpp280 case Instruction::Select:
H A DCFLGraph.h542 case Instruction::Select: {
H A DObjCARCInstKind.cpp244 case Instruction::Select:
H A DValueTracking.cpp1125 case Instruction::Select: {
2402 static bool isSignedMinMaxClamp(const Value *Select, const Value *&In, argument
2404 assert(isa<Operator>(Select) &&
2405 cast<Operator>(Select)->getOpcode() == Instruction::Select &&
2406 "Input should be a Select!");
2409 SelectPatternFlavor SPF = matchSelectPattern(Select, LHS, RHS).Flavor;
2591 case Instruction::Select: {
3099 case Instruction::Select:
3214 case Instruction::Select
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DConstantsContext.h86 : ConstantExpr(C2->getType(), Instruction::Select, &Op<0>(), 3) {
542 case Instruction::Select:
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp795 Value *Select = Builder.CreateSelect(Cmp, Left, Right, "rdx.minmax.select"); local
796 return Select;
H A DSimplifyCFG.cpp335 /// Select whose cost is 2.
3579 static bool SimplifySwitchOnSelect(SwitchInst *SI, SelectInst *Select) { argument
3581 ConstantInt *TrueVal = dyn_cast<ConstantInt>(Select->getTrueValue());
3582 ConstantInt *FalseVal = dyn_cast<ConstantInt>(Select->getFalseValue());
3587 Value *Condition = Select->getCondition();
4704 if (SelectInst *Select = dyn_cast<SelectInst>(I)) {
4705 Constant *A = LookupConstant(Select->getCondition(), ConstantPool);
4709 return LookupConstant(Select->getTrueValue(), ConstantPool);
4711 return LookupConstant(Select->getFalseValue(), ConstantPool);
5702 if (SelectInst *Select
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprAgg.cpp1018 Value *Select; local
1020 Select = EmitCmpRes(CmpInfo.getEqualOrEquiv());
1025 Select = Builder.CreateSelect(EmitCmp(CK_Equal),
1035 Select = Builder.CreateSelect(
1046 CGF.EmitStoreThroughLValue(RValue::get(Select), FieldLV, /*IsInit*/ true);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonLoopIdiomRecognition.cpp989 case Instruction::Select:
1185 // Select is an exception, since the condition value does not have to be
1188 if (UseI->getOpcode() == Instruction::Select) {
1242 case Instruction::Select:
1276 case Instruction::Select:
/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/posix/
H A DConnectionFileDescriptorPosix.cpp583 Status error = select_helper.Select();
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DTailRecursionElimination.cpp159 case Instruction::Select:
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp134 case Instruction::Select:
522 Cost += getArithmeticInstrCost(Instruction::Select, Ty, Opd1Info, Opd2Info,
984 // Select shuffle kinds.

Completed in 441 milliseconds

12345