Searched refs:Constraints (Results 1 - 25 of 37) sorted by relevance

12

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DPBQPRAConstraint.h48 /// Constraints added to this list will be applied, in the order that they are
53 for (auto &C : Constraints)
59 Constraints.push_back(std::move(C));
63 std::vector<std::unique_ptr<PBQPRAConstraint>> Constraints; member in class:llvm::PBQPRAConstraintList
/freebsd-11-stable/contrib/llvm-project/llvm/lib/IR/
H A DInlineAsm.cpp34 AsmString(asmString), Constraints(constraints), FTy(FTy),
43 StringRef Constraints, bool hasSideEffects,
45 InlineAsmKeyType Key(AsmString, Constraints, FTy, hasSideEffects,
217 InlineAsm::ParseConstraints(StringRef Constraints) { argument
221 for (StringRef::iterator I = Constraints.begin(),
222 E = Constraints.end(); I != E; ) {
256 ConstraintInfoVector Constraints = ParseConstraints(ConstStr);
259 if (Constraints.empty() && !ConstStr.empty()) return false;
264 for (unsigned i = 0, e = Constraints.size(); i != e; ++i) {
265 switch (Constraints[
42 get(FunctionType *FTy, StringRef AsmString, StringRef Constraints, bool hasSideEffects, bool isAlignStack, AsmDialect asmDialect) argument
[all...]
H A DConstantsContext.h414 StringRef Constraints; member in struct:llvm::InlineAsmKeyType
420 InlineAsmKeyType(StringRef AsmString, StringRef Constraints, argument
423 : AsmString(AsmString), Constraints(Constraints), FTy(FTy),
428 : AsmString(Asm->getAsmString()), Constraints(Asm->getConstraintString()),
435 AsmString == X.AsmString && Constraints == X.Constraints &&
444 Constraints == Asm->getConstraintString() &&
449 return hash_combine(AsmString, Constraints, HasSideEffects, IsAlignStack,
457 return new InlineAsm(FTy, AsmString, Constraints, HasSideEffect
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DInlineAsm.h41 std::string AsmString, Constraints; member in class:llvm::final
48 const std::string &Constraints, bool hasSideEffects,
62 StringRef Constraints, bool hasSideEffects,
81 const std::string &getConstraintString() const { return Constraints; }
87 static bool Verify(FunctionType *Ty, StringRef Constraints);
181 return ParseConstraints(Constraints);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmtAsm.cpp211 getClobberConflictLocation(MultiExprArg Exprs, StringLiteral **Constraints, argument
219 StringRef Constraint = Constraints[i]->getString();
249 StringLiteral **Constraints = local
264 StringLiteral *Literal = Constraints[i];
278 NumInputs, Names, Constraints, Exprs.data(), AsmString,
339 NumInputs, Names, Constraints, Exprs.data(), AsmString,
347 StringLiteral *Literal = Constraints[i];
361 NumInputs, Names, Constraints, Exprs.data(), AsmString,
454 NumInputs, Names, Constraints, Exprs.data(), AsmString,
461 NumInputs, Names, Constraints, Expr
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCInstrDesc.h91 uint32_t Constraints; member in class:llvm::MCOperandInfo
215 (OpInfo[OpNum].Constraints & (1 << Constraint))) {
217 return (int)(OpInfo[OpNum].Constraints >> Pos) & 0xf;
/freebsd-11-stable/contrib/llvm-project/clang/lib/Parse/
H A DParseStmtAsm.cpp647 SmallVector<std::string, 4> Constraints;
650 NumInputs, OpExprs, Constraints, Clobbers,
677 ConstraintRefs[i] = StringRef(Constraints[i]);
763 ExprVector Constraints;
772 Constraints, Exprs, AsmString.get(),
790 if (!AteExtraColon && ParseAsmOperandsOpt(Names, Constraints, Exprs))
806 if (!AteExtraColon && ParseAsmOperandsOpt(Names, Constraints, Exprs))
810 assert(Names.size() == Constraints.size() &&
811 Constraints.size() == Exprs.size() && "Input operand size mismatch!");
879 Constraints, Expr
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DInstrDocsEmitter.cpp186 // Constraints.
187 StringRef Constraints = Inst->getValueAsString("Constraints"); local
188 if (!Constraints.empty()) {
189 OS << "Constraints: ``" << Constraints << "``\n\n"; local
H A DCodeGenInstruction.h116 std::vector<ConstraintInfo> Constraints; member in struct:llvm::CGIOperandList::OperandInfo
129 for (unsigned j = 0, e = Constraints.size(); j != e; ++j) {
130 const CGIOperandList::ConstraintInfo &CI = Constraints[j];
H A DCodeGenInstruction.cpp143 OpInfo.Constraints.resize(OpInfo.MINumOperands);
245 if (!Ops[Op.first].Constraints[Op.second].isNone())
249 Ops[Op.first].Constraints[Op.second] =
300 if (!Ops[SrcOp.first].Constraints[SrcOp.second].isNone())
312 if (Op.Constraints[i] == NewConstraint)
318 Ops[SrcOp.first].Constraints[SrcOp.second] = NewConstraint;
422 // Parse Constraints.
423 ParseConstraints(R->getValueAsString("Constraints"), Operands, R);
H A DInstrInfoEmitter.cpp181 Op.Constraints[j];
H A DX86RecognizableInstr.cpp413 if (!OperandList[operandIndex].Constraints.empty()) {
415 OperandList[operandIndex].Constraints[0];
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSMTConstraintManager.h129 // Constraints are unsatisfiable
214 ConstraintSMTType Constraints = State->get<ConstraintSMT>(); variable
217 if (Constraints.isEmpty()) {
224 for (ConstraintSMTType::iterator I = Constraints.begin();
225 I != Constraints.end(); ++I) {
231 if (std::next(I) != Constraints.end())
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmt.cpp1997 std::string Constraints; local
2039 if (!Constraints.empty())
2040 Constraints += ',';
2048 Constraints += "=" + OutputConstraint;
2099 Constraints += "=*";
2100 Constraints += OutputConstraint;
2139 *this, ReturnSlot, Constraints, ResultRegTypes, ResultTruncRegTypes,
2153 if (!Constraints.empty())
2154 Constraints += ',';
2166 llvm::Value *Arg = EmitAsmInput(Info, InputExpr, Constraints);
[all...]
H A DTargetInfo.h136 std::string &Constraints, std::vector<llvm::Type *> &ResultRegTypes,
134 addReturnRegisterOutputs( CodeGen::CodeGenFunction &CGF, CodeGen::LValue ReturnValue, std::string &Constraints, std::vector<llvm::Type *> &ResultRegTypes, std::vector<llvm::Type *> &ResultTruncRegTypes, std::vector<CodeGen::LValue> &ResultRegDests, std::string &AsmString, unsigned NumOutputs) const argument
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DStmt.cpp475 StringLiteral **Constraints,
499 C.Deallocate(this->Constraints);
500 this->Constraints = new (C) StringLiteral*[NumConstraints];
501 std::copy(Constraints, Constraints + NumConstraints, this->Constraints);
773 Constraints = new (C) StringLiteral*[NumConstraints];
774 std::copy(constraints, constraints + NumConstraints, Constraints);
816 Constraints = new (C) StringRef[exprs.size()];
817 std::transform(constraints.begin(), constraints.end(), Constraints,
473 setOutputsAndInputsAndClobbers(const ASTContext &C, IdentifierInfo **Names, StringLiteral **Constraints, Stmt **Exprs, unsigned NumOutputs, unsigned NumInputs, unsigned NumLabels, StringLiteral **Clobbers, unsigned NumClobbers) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DRangeConstraintManager.cpp765 ConstraintRangeTy Constraints = State->get<ConstraintRange>();
768 if (Constraints.isEmpty()) {
775 for (ConstraintRangeTy::iterator I = Constraints.begin();
776 I != Constraints.end(); ++I) {
782 if (std::next(I) != Constraints.end())
H A DBugReporterVisitors.cpp2818 : Constraints(ConstraintRangeTy::Factory().getEmptyMap()) {}
2831 for (const auto &I : Constraints) {
2835 llvm::SMTExprRef Constraints = SMTConv::getRangeExpr( local
2839 Constraints = RefutationSolver->mkOr(
2840 Constraints, SMTConv::getRangeExpr(RefutationSolver, Ctx, Sym,
2845 RefutationSolver->addConstraint(Constraints);
2867 if (!Constraints.contains(Sym)) {
2868 Constraints = CF.add(Constraints, Sym, C.second);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DDependenceAnalysis.cpp430 // of the Constraints X and Y. Returns true if X has changed.
3066 SmallVectorImpl<Constraint> &Constraints,
3071 LLVM_DEBUG(Constraints[LI].dump(dbgs()));
3072 if (Constraints[LI].isDistance())
3073 Result |= propagateDistance(Src, Dst, Constraints[LI], Consistent);
3074 else if (Constraints[LI].isLine())
3075 Result |= propagateLine(Src, Dst, Constraints[LI], Consistent);
3076 else if (Constraints[LI].isPoint())
3077 Result |= propagatePoint(Src, Dst, Constraints[LI]);
3628 SmallVector<Constraint, 4> Constraints(MaxLevel
3064 propagate(const SCEV *&Src, const SCEV *&Dst, SmallBitVector &Loops, SmallVectorImpl<Constraint> &Constraints, bool &Consistent) argument
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DStmt.h2900 StringLiteral **Constraints = nullptr; member in class:clang::GCCAsmStmt
2995 return Constraints[i];
2998 return Constraints[i];
3023 return Constraints[i + NumOutputs];
3026 return Constraints[i + NumOutputs];
3084 StringLiteral **Constraints,
3125 StringRef *Constraints = nullptr; member in class:clang::MSAsmStmt
3159 return Constraints[i];
3172 return Constraints[i + NumOutputs];
3185 return llvm::makeArrayRef(Constraints, NumInput
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/MC/MCParser/
H A DMCAsmParser.h175 SmallVectorImpl<std::string> &Constraints,
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/BugReporter/
H A DBugReporterVisitors.h376 ConstraintRangeTy Constraints; member in class:clang::ento::final
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DDependenceAnalysis.h855 /// of the Constraints X and Y. Returns true if X has changed.
867 SmallVectorImpl<Constraint> &Constraints,
/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderStmt.cpp374 SmallVector<StringLiteral*, 16> Constraints; local
378 Constraints.push_back(cast_or_null<StringLiteral>(Record.readSubStmt()));
382 // Constraints
392 Names.data(), Constraints.data(),
429 SmallVector<StringRef, 16> Constraints; local
432 Constraints.reserve(NumOperands);
436 Constraints.push_back(ConstraintsData.back());
440 Constraints, Exprs, Clobbers);
/freebsd-11-stable/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DAsmParser.cpp242 SmallVectorImpl<std::string> &Constraints,
5763 SmallVectorImpl<std::string> &Constraints,
5879 Constraints.resize(NumExprs);
5882 Constraints[i] = OutputConstraints[i];
5886 Constraints[j] = InputConstraints[i];
5760 parseMSInlineAsm( void *AsmLoc, std::string &AsmString, unsigned &NumOutputs, unsigned &NumInputs, SmallVectorImpl<std::pair<void *, bool>> &OpDecls, SmallVectorImpl<std::string> &Constraints, SmallVectorImpl<std::string> &Clobbers, const MCInstrInfo *MII, const MCInstPrinter *IP, MCAsmParserSemaCallback &SI) argument

Completed in 327 milliseconds

12