HomeSort by relevance Sort by last modified time
    Searched refs:Constraint (Results 1 - 25 of 50) sorted by null

1 2

  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/
DependencyGraph.java 53 /** Format to chain constraint dependencies: button 1 above button2 etc */
69 // the parent id from a constraint, only via parent-relative params
99 Constraint constraint = new Constraint(type, view, parentView); local
100 view.dependsOn.add(constraint);
101 parentView.dependedOnBy.add(constraint);
104 // id-based constraint.
115 Constraint constraint = new Constraint(type, view, target) local
302 Constraint constraint = path.get(i); local
    [all...]
ConstraintPainter.java 42 import com.android.ide.common.layout.relative.DependencyGraph.Constraint;
62 * Paints a given match as a constraint.
77 * Paints a constraint.
83 * @param constraint The constraint to be drawn
85 private static void paintConstraint(IGraphics graphics, Constraint constraint,
86 Set<Constraint> allConstraints) {
87 ViewData source = constraint.from;
88 ViewData target = constraint.to
    [all...]
GuidelinePainter.java 34 import com.android.ide.common.layout.relative.DependencyGraph.Constraint;
118 // the constraint arrows
141 /** Paints a particular match constraint */
149 // Display the constraint. Remove the @id/ and @+id/ prefixes to make the text
152 String constraint = m.getConstraint(false /* generateId */); local
153 String description = constraint.replace(NEW_ID_PREFIX, "").replace(ID_PREFIX, "");
163 /** Paints a constraint cycle */
164 void paintCycle(IGraphics gc, GuidelineHandler state, List<Constraint> cycle) {
179 for (Constraint constraint : cycle)
    [all...]
GuidelineHandler.java 64 import com.android.ide.common.layout.relative.DependencyGraph.Constraint;
76 * like move and resize, and performs various constraint computations.
80 * A dependency graph for the relative layout recording constraint relationships
113 * transitively, through horizontal constraints (a "horizontal constraint"
114 * is a constraint between two horizontal edges)
120 * transitively, through vertical constraints (a "vertical constraint"
121 * is a constraint between two vertical edges)
126 protected List<Constraint> mHorizontalCycle;
129 protected List<Constraint> mVerticalCycle;
275 List<Constraint> path = mDependencyGraph.getPathTo(from, to, vertical)
    [all...]
  /external/llvm/lib/Target/Blackfin/
BlackfinISelLowering.h 42 ConstraintType getConstraintType(const std::string &Constraint) const;
44 /// Examine constraint string and operand type and determine a weight value.
47 AsmOperandInfo &info, const char *constraint) const;
50 getRegForInlineAsmConstraint(const std::string &Constraint, EVT VT) const;
BlackfinISelLowering.cpp 508 /// getConstraintType - Given a constraint letter, return the type of
509 /// constraint it is for this target.
511 BlackfinTargetLowering::getConstraintType(const std::string &Constraint) const {
512 if (Constraint.size() != 1)
513 return TargetLowering::getConstraintType(Constraint);
515 switch (Constraint[0]) {
548 return TargetLowering::getConstraintType(Constraint);
551 /// Examine constraint type and operand type and determine a weight value.
553 /// and the current alternative constraint selected.
556 AsmOperandInfo &info, const char *constraint) const
    [all...]
  /external/llvm/lib/Target/Sparc/
SparcISelLowering.h 65 ConstraintType getConstraintType(const std::string &Constraint) const;
67 getRegForInlineAsmConstraint(const std::string &Constraint, EVT VT) const;
  /external/llvm/include/llvm/MC/
MCInstrDesc.h 147 /// getOperandConstraint - Returns the value of the specific constraint if
150 MCOI::OperandConstraint Constraint) const {
152 (OpInfo[OpNum].Constraints & (1 << Constraint))) {
153 unsigned Pos = 16 + Constraint * 4;
  /external/llvm/lib/Target/Alpha/
AlphaISelLowering.h 90 ConstraintType getConstraintType(const std::string &Constraint) const;
92 /// Examine constraint string and operand type and determine a weight value.
95 AsmOperandInfo &info, const char *constraint) const;
98 getRegForInlineAsmConstraint(const std::string &Constraint,
  /external/clang/lib/CodeGen/
TargetInfo.h 112 StringRef Constraint,
CGStmt.cpp     [all...]
  /external/clang/include/clang/StaticAnalyzer/Core/BugReporter/
BugReporterVisitor.h 98 DefinedSVal Constraint;
103 TrackConstraintBRVisitor(DefinedSVal constraint, bool assumption)
104 : Constraint(constraint), Assumption(assumption), isSatisfied(false) {}
  /external/llvm/lib/Target/CellSPU/
SPUISelLowering.h 135 /// Examine constraint string and operand type and determine a weight value.
138 AsmOperandInfo &info, const char *constraint) const;
141 getRegForInlineAsmConstraint(const std::string &Constraint,
144 void LowerAsmOperandForConstraint(SDValue Op, std::string &Constraint,
  /external/llvm/lib/Target/MBlaze/
MBlazeISelLowering.h 165 ConstraintType getConstraintType(const std::string &Constraint) const;
167 /// Examine constraint string and operand type and determine a weight value.
170 AsmOperandInfo &info, const char *constraint) const;
173 getRegForInlineAsmConstraint(const std::string &Constraint,
MBlazeISelLowering.cpp     [all...]
  /external/llvm/lib/Target/MSP430/
MSP430ISelLowering.h 98 getConstraintType(const std::string &Constraint) const;
100 getRegForInlineAsmConstraint(const std::string &Constraint, EVT VT) const;
  /external/llvm/lib/Target/Mips/
MipsISelLowering.h 171 ConstraintType getConstraintType(const std::string &Constraint) const;
173 /// Examine constraint string and operand type and determine a weight value.
176 AsmOperandInfo &info, const char *constraint) const;
179 getRegForInlineAsmConstraint(const std::string &Constraint,
  /external/llvm/lib/Target/SystemZ/
SystemZISelLowering.h 70 getRegForInlineAsmConstraint(const std::string &Constraint, EVT VT) const;
72 getConstraintType(const std::string &Constraint) const;
SystemZISelLowering.cpp 192 /// getConstraintType - Given a constraint letter, return the type of
193 /// constraint it is for this target.
195 SystemZTargetLowering::getConstraintType(const std::string &Constraint) const {
196 if (Constraint.size() == 1) {
197 switch (Constraint[0]) {
204 return TargetLowering::getConstraintType(Constraint);
209 getRegForInlineAsmConstraint(const std::string &Constraint,
211 if (Constraint.size() == 1) {
212 // GCC Constraint Letters
213 switch (Constraint[0])
    [all...]
  /external/llvm/utils/TableGen/
InstrInfoEmitter.cpp 109 // Fill in constraint info.
112 const CGIOperandList::ConstraintInfo &Constraint =
114 if (Constraint.isNone())
116 else if (Constraint.isEarlyClobber())
119 assert(Constraint.isTied());
120 Res += "((" + utostr(Constraint.getTiedOperand()) +
  /external/clang/include/clang/Basic/
TargetInfo.h 367 CI_ReadWrite = 0x04, // "+r" output constraint (read and write).
373 std::string ConstraintStr; // constraint: "=rm"
391 /// constraint that ties it to an output operand. If this returns true,
405 /// the specified output operand. Copy over the various constraint
411 // Don't copy Name or constraint string.
416 // a constraint is valid and provides information about it.
426 // Constraint parm will be left pointing at the last character of
427 // the constraint. In practice, it won't be changed unless the
428 // constraint is longer than one character.
429 virtual std::string convertConstraint(const char *&Constraint) const
    [all...]
  /external/llvm/lib/Target/ARM/
ARMISelLowering.h 315 ConstraintType getConstraintType(const std::string &Constraint) const;
317 /// Examine constraint string and operand type and determine a weight value.
320 AsmOperandInfo &info, const char *constraint) const;
323 getRegForInlineAsmConstraint(const std::string &Constraint,
328 /// true it means one of the asm constraint of the inline asm instruction
331 std::string &Constraint,
  /external/llvm/lib/Target/PowerPC/
PPCISelLowering.h 312 ConstraintType getConstraintType(const std::string &Constraint) const;
314 /// Examine constraint string and operand type and determine a weight value.
317 AsmOperandInfo &info, const char *constraint) const;
320 getRegForInlineAsmConstraint(const std::string &Constraint,
331 std::string &Constraint,
353 /// alignment can satisfy any constraint. Similarly if SrcAlign is zero it
  /external/clang/lib/StaticAnalyzer/Core/
BugReporterVisitors.cpp 254 ID.Add(Constraint);
265 // Check if in the previous state it was feasible for this constraint
267 if (PrevN->getState()->assume(Constraint, !Assumption)) {
271 // As a sanity check, make sure that the negation of the constraint
274 if (N->getState()->assume(Constraint, !Assumption))
277 // We found the transition point for the constraint. We now need to
278 // pretty-print the constraint. (work-in-progress)
282 if (isa<Loc>(Constraint)) {
  /external/llvm/lib/Target/X86/
X86ISelLowering.h 529 /// alignment can satisfy any constraint. Similarly if SrcAlign is zero it
608 ConstraintType getConstraintType(const std::string &Constraint) const;
610 /// Examine constraint string and operand type and determine a weight value.
613 AsmOperandInfo &info, const char *constraint) const;
619 /// true it means one of the asm constraint of the inline asm instruction
622 std::string &Constraint,
626 /// getRegForInlineAsmConstraint - Given a physical register constraint
631 getRegForInlineAsmConstraint(const std::string &Constraint,
    [all...]

Completed in 3185 milliseconds

1 2