Home | History | Annotate | Download | only in PowerPC

Lines Matching refs:Constraint

11314 /// getConstraintType - Given a constraint, return the type of
11315 /// constraint it is for this target.
11317 PPCTargetLowering::getConstraintType(StringRef Constraint) const {
11318 if (Constraint.size() == 1) {
11319 switch (Constraint[0]) {
11329 // FIXME: While Z does indicate a memory constraint, it specifically
11337 } else if (Constraint == "wc") { // individual CR bits.
11339 } else if (Constraint == "wa" || Constraint == "wd" ||
11340 Constraint == "wf" || Constraint == "ws") {
11343 return TargetLowering::getConstraintType(Constraint);
11346 /// Examine constraint type and operand type and determine a weight value.
11348 /// and the current alternative constraint selected.
11351 AsmOperandInfo &info, const char *constraint) const {
11360 // Look at the constraint type.
11361 if (StringRef(constraint) == "wc" && type->isIntegerTy(1))
11363 else if ((StringRef(constraint) == "wa" ||
11364 StringRef(constraint) == "wd" ||
11365 StringRef(constraint) == "wf") &&
11368 else if (StringRef(constraint) == "ws" && type->isDoubleTy())
11371 switch (*constraint) {
11373 weight = TargetLowering::getSingleConstraintMatchWeight(info, constraint);
11403 StringRef Constraint,
11405 if (Constraint.size() == 1) {
11406 // GCC RS6000 Constraint Letters
11407 switch (Constraint[0]) {
11440 } else if (Constraint == "wc" && Subtarget.useCRBits()) {
11443 } else if ((Constraint == "wa" || Constraint == "wd" ||
11444 Constraint == "wf") && Subtarget.hasVSX()) {
11446 } else if (Constraint == "ws" && Subtarget.hasVSX()) {
11454 TargetLowering::getRegForInlineAsmConstraint(TRI, Constraint, VT);
11469 if (!R.second && StringRef("{cc}").equals_lower(Constraint)) {
11480 std::string &Constraint,
11486 if (Constraint.length() > 1) return;
11488 char Letter = Constraint[0];
11506 default: llvm_unreachable("Unknown constraint letter!");
11549 // Handle standard constraint letters.
11550 TargetLowering::LowerAsmOperandForConstraint(Op, Constraint, Ops, DAG);
11881 /// alignment can satisfy any constraint. Similarly if SrcAlign is zero it