Home
last modified time | relevance | path

Searched refs:Constraints (Results 1 – 25 of 87) sorted by relevance

1234

/external/llvm/lib/IR/
DInlineAsm.cpp29 StringRef Constraints, bool hasSideEffects, in get() argument
31 InlineAsmKeyType Key(AsmString, Constraints, hasSideEffects, isAlignStack, in get()
41 AsmString(asmString), Constraints(constraints), in InlineAsm()
209 InlineAsm::ParseConstraints(StringRef Constraints) { in ParseConstraints() argument
213 for (StringRef::iterator I = Constraints.begin(), in ParseConstraints()
214 E = Constraints.end(); I != E; ) { in ParseConstraints()
248 ConstraintInfoVector Constraints = ParseConstraints(ConstStr); in Verify() local
251 if (Constraints.empty() && !ConstStr.empty()) return false; in Verify()
256 for (unsigned i = 0, e = Constraints.size(); i != e; ++i) { in Verify()
257 switch (Constraints[i].Type) { in Verify()
[all …]
DConstantsContext.h377 StringRef Constraints;
382 InlineAsmKeyType(StringRef AsmString, StringRef Constraints,
385 : AsmString(AsmString), Constraints(Constraints),
389 : AsmString(Asm->getAsmString()), Constraints(Asm->getConstraintString()),
396 AsmString == X.AsmString && Constraints == X.Constraints;
403 Constraints == Asm->getConstraintString();
406 return hash_combine(AsmString, Constraints, HasSideEffects, IsAlignStack,
412 return new InlineAsm(Ty, AsmString, Constraints, HasSideEffects,
/external/guava/guava-tests/test/com/google/common/collect/
DConstraintsTest.java66 Constraint<? super String> constraint = Constraints.notNull(); in testNotNull()
77 Collection<String> constrained = Constraints.constrainedCollection( in testConstrainedCollectionLegal()
91 Collection<String> constrained = Constraints.constrainedCollection( in testConstrainedCollectionIllegal()
107 Set<String> constrained = Constraints.constrainedSet(set, TEST_CONSTRAINT); in testConstrainedSetLegal()
122 Set<String> constrained = Constraints.constrainedSet(set, TEST_CONSTRAINT); in testConstrainedSetIllegal()
137 SortedSet<String> constrained = Constraints.constrainedSortedSet( in testConstrainedSortedSetLegal()
156 SortedSet<String> constrained = Constraints.constrainedSortedSet( in testConstrainedSortedSetIllegal()
184 List<String> constrained = Constraints.constrainedList( in testConstrainedListLegal()
213 List<String> constrained = Constraints.constrainedList( in testConstrainedListRandomAccessFalse()
222 List<String> constrained = Constraints.constrainedList( in testConstrainedListIllegal()
[all …]
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DConstraintsTest.java64 Constraint<? super String> constraint = Constraints.notNull(); in testNotNull()
75 Collection<String> constrained = Constraints.constrainedCollection( in testConstrainedCollectionLegal()
89 Collection<String> constrained = Constraints.constrainedCollection( in testConstrainedCollectionIllegal()
105 Set<String> constrained = Constraints.constrainedSet(set, TEST_CONSTRAINT); in testConstrainedSetLegal()
120 Set<String> constrained = Constraints.constrainedSet(set, TEST_CONSTRAINT); in testConstrainedSetIllegal()
135 SortedSet<String> constrained = Constraints.constrainedSortedSet( in testConstrainedSortedSetLegal()
154 SortedSet<String> constrained = Constraints.constrainedSortedSet( in testConstrainedSortedSetIllegal()
182 List<String> constrained = Constraints.constrainedList( in testConstrainedListLegal()
211 List<String> constrained = Constraints.constrainedList( in testConstrainedListRandomAccessFalse()
220 List<String> constrained = Constraints.constrainedList( in testConstrainedListIllegal()
[all …]
/external/llvm/include/llvm/IR/
DInlineAsm.h46 std::string AsmString, Constraints; variable
52 const std::string &Constraints, bool hasSideEffects,
64 StringRef Constraints, bool hasSideEffects,
83 const std::string &getConstraintString() const { return Constraints; } in getConstraintString()
89 static bool Verify(FunctionType *Ty, StringRef Constraints);
181 return ParseConstraints(Constraints); in ParseConstraints()
/external/llvm/include/llvm/CodeGen/
DPBQPRAConstraint.h54 for (auto &C : Constraints) in apply()
60 Constraints.push_back(std::move(C)); in addConstraint()
63 std::vector<std::unique_ptr<PBQPRAConstraint>> Constraints;
/external/clang/lib/Parse/
DParseStmtAsm.cpp551 SmallVector<std::string, 4> Constraints; in ParseMicrosoftAsmStatement() local
554 NumInputs, OpExprs, Constraints, Clobbers, in ParseMicrosoftAsmStatement()
580 ConstraintRefs[i] = StringRef(Constraints[i]); in ParseMicrosoftAsmStatement()
654 ExprVector Constraints; in ParseAsmStatement() local
663 Constraints, Exprs, AsmString.get(), in ParseAsmStatement()
674 if (!AteExtraColon && ParseAsmOperandsOpt(Names, Constraints, Exprs)) in ParseAsmStatement()
690 if (!AteExtraColon && ParseAsmOperandsOpt(Names, Constraints, Exprs)) in ParseAsmStatement()
694 assert(Names.size() == Constraints.size() && in ParseAsmStatement()
695 Constraints.size() == Exprs.size() && "Input operand size mismatch!"); in ParseAsmStatement()
723 Constraints, Exprs, AsmString.get(), Clobbers, T.getCloseLocation()); in ParseAsmStatement()
[all …]
/external/clang/lib/CodeGen/
DCGStmt.cpp1836 std::string Constraints; in EmitAsmStmt() local
1866 if (!Constraints.empty()) in EmitAsmStmt()
1867 Constraints += ','; in EmitAsmStmt()
1872 Constraints += "=" + OutputConstraint; in EmitAsmStmt()
1911 Constraints += "=*"; in EmitAsmStmt()
1912 Constraints += OutputConstraint; in EmitAsmStmt()
1946 *this, ReturnSlot, Constraints, ResultRegTypes, ResultTruncRegTypes, in EmitAsmStmt()
1957 if (!Constraints.empty()) in EmitAsmStmt()
1958 Constraints += ','; in EmitAsmStmt()
1969 llvm::Value *Arg = EmitAsmInput(Info, InputExpr, Constraints); in EmitAsmStmt()
[all …]
DTargetInfo.h136 std::string &Constraints, std::vector<llvm::Type *> &ResultRegTypes, in addReturnRegisterOutputs() argument
/external/clang/lib/Sema/
DSemaStmtAsm.cpp117 StringLiteral **Constraints = in ActOnGCCAsmStmt() local
139 StringLiteral *Literal = Constraints[i]; in ActOnGCCAsmStmt()
214 StringLiteral *Literal = Constraints[i]; in ActOnGCCAsmStmt()
311 NumInputs, Names, Constraints, Exprs.data(), in ActOnGCCAsmStmt()
348 StringLiteral *Literal = Constraints[ConstraintIdx]; in ActOnGCCAsmStmt()
609 ArrayRef<StringRef> Constraints, in ActOnMSAsmStmt() argument
618 Constraints, Exprs, AsmString, in ActOnMSAsmStmt()
/external/llvm/include/llvm/MC/
DMCInstrDesc.h75 uint32_t Constraints; variable
163 (OpInfo[OpNum].Constraints & (1 << Constraint))) { in getOperandConstraint()
165 return (int)(OpInfo[OpNum].Constraints >> Pos) & 0xf; in getOperandConstraint()
/external/llvm/utils/TableGen/
DCodeGenInstruction.h105 std::vector<ConstraintInfo> Constraints; member
118 for (unsigned j = 0, e = Constraints.size(); j != e; ++j) { in getTiedRegister()
119 const CGIOperandList::ConstraintInfo &CI = Constraints[j]; in getTiedRegister()
DCodeGenInstruction.cpp128 OperandList[i].Constraints.resize(OperandList[i].MINumOperands); in CGIOperandList()
215 if (!Ops[Op.first].Constraints[Op.second].isNone()) in ParseConstraint()
217 Ops[Op.first].Constraints[Op.second] = in ParseConstraint()
249 if (!Ops[DestOp.first].Constraints[DestOp.second].isNone()) in ParseConstraint()
252 Ops[DestOp.first].Constraints[DestOp.second] = in ParseConstraint()
/external/llvm/lib/Target/SystemZ/
DSystemZInstrFormats.td575 let Constraints = "$R1 = $R1src";
764 let Constraints = "$R1 = $R1src";
775 let Constraints = "$R1 = $R1src";
815 let Constraints = "$R1 = $R1src";
832 let Constraints = "$R1 = $R1src";
843 let Constraints = "$R1 = $R1src";
904 let Constraints = "$R1 = $R1src";
915 let Constraints = "$R1 = $R1src";
966 let Constraints = "$R1 = $R1src";
993 let Constraints = "$R1 = $R1src";
[all …]
/external/llvm/lib/Target/X86/
DX86InstrCMovSetCC.td18 let Uses = [EFLAGS], Predicates = [HasCMov], Constraints = "$src1 = $dst",
40 let Uses = [EFLAGS], Predicates = [HasCMov], Constraints = "$src1 = $dst",
59 } // Uses = [EFLAGS], Predicates = [HasCMov], Constraints = "$src1 = $dst"
DX86InstrShiftRotate.td18 let Constraints = "$src1 = $dst", SchedRW = [WriteShift] in {
66 } // Constraints = "$src = $dst", SchedRW
124 let Constraints = "$src1 = $dst", SchedRW = [WriteShift] in {
168 } // Constraints = "$src = $dst", SchedRW
224 let Constraints = "$src1 = $dst", SchedRW = [WriteShift] in {
279 } // Constraints = "$src = $dst", SchedRW
342 let Constraints = "$src1 = $dst", SchedRW = [WriteShift] in {
409 } // Constraints = "$src = $dst"
468 let Constraints = "$src1 = $dst", SchedRW = [WriteShift] in {
519 } // Constraints = "$src = $dst", SchedRW
[all …]
DX86InstrArithmetic.td152 let Constraints = "$src1 = $dst" in {
199 } // Constraints = "$src1 = $dst"
376 let Constraints = "$src1 = $dst", SchedRW = [WriteALU] in {
392 } // Constraints = "$src1 = $dst", SchedRW
417 let Constraints = "$src1 = $dst", SchedRW = [WriteALU] in {
432 } // Constraints = "$src1 = $dst", SchedRW
453 let Constraints = "$src1 = $dst", SchedRW = [WriteALU] in {
482 } // Constraints = "$src1 = $dst", SchedRW
499 let Constraints = "$src1 = $dst", SchedRW = [WriteALU] in {
528 } // Constraints = "$src1 = $dst", SchedRW
[all …]
DX86InstrFMA.td18 let Constraints = "$src1 = $dst" in {
57 } // Constraints = "$src1 = $dst"
129 let Constraints = "$src1 = $dst" in {
151 } // Constraints = "$src1 = $dst"
/external/clang/include/clang/AST/
DStmt.h1550 StringLiteral **Constraints; variable
1565 Constraints(nullptr), Clobbers(nullptr), Names(nullptr) { } in GCCAsmStmt()
1649 return Constraints[i]; in getOutputConstraintLiteral()
1652 return Constraints[i]; in getOutputConstraintLiteral()
1677 return Constraints[i + NumOutputs]; in getInputConstraintLiteral()
1680 return Constraints[i + NumOutputs]; in getInputConstraintLiteral()
1693 StringLiteral **Constraints,
1731 StringRef *Constraints; variable
1746 NumAsmToks(0), AsmToks(nullptr), Constraints(nullptr), Clobbers(nullptr) { } in MSAsmStmt()
1768 return Constraints[i]; in getOutputConstraint()
[all …]
/external/llvm/lib/Target/MSP430/
DMSP430InstrInfo.td17 // Type Constraints.
284 let mayLoad = 1, hasExtraDefRegAllocReq = 1, Constraints = "$base = $base_wb" in {
338 let Constraints = "$src = $dst" in {
368 Constraints = "$base = $base_wb, $src = $dst" in {
391 let Constraints = "" in {
465 let Constraints = "" in {
540 Constraints = "$base = $base_wb, $src = $dst" in {
551 let Constraints = "" in {
618 Constraints = "$base = $base_wb, $src = $dst" in {
629 let Constraints = "" in {
[all …]
/external/llvm/lib/Target/Mips/
DMipsCondMov.td23 let Constraints = "$F = $rd";
31 let Constraints = "$F = $fd";
41 let Constraints = "$F = $rd";
51 let Constraints = "$F = $fd";
/external/sepolicy/
Dmls63 # Constraints for app data files only.
75 # Constraints for file types other than app data files.
/external/llvm/lib/Analysis/
DDependenceAnalysis.cpp2999 SmallVectorImpl<Constraint> &Constraints, in propagate() argument
3004 DEBUG(Constraints[LI].dump(dbgs())); in propagate()
3005 if (Constraints[LI].isDistance()) in propagate()
3006 Result |= propagateDistance(Src, Dst, Constraints[LI], Consistent); in propagate()
3007 else if (Constraints[LI].isLine()) in propagate()
3008 Result |= propagateLine(Src, Dst, Constraints[LI], Consistent); in propagate()
3009 else if (Constraints[LI].isPoint()) in propagate()
3010 Result |= propagatePoint(Src, Dst, Constraints[LI]); in propagate()
3550 SmallVector<Constraint, 4> Constraints(MaxLevels + 1); in depends() local
3552 Constraints[II].setAny(SE); in depends()
[all …]
/external/guava/guava/src/com/google/common/collect/
DConstraints.java49 public final class Constraints { class
50 private Constraints() {} in Constraints() method in Constraints
/external/clang/lib/AST/
DStmt.cpp421 StringLiteral **Constraints, in setOutputsAndInputsAndClobbers() argument
441 C.Deallocate(this->Constraints); in setOutputsAndInputsAndClobbers()
442 this->Constraints = new (C) StringLiteral*[NumExprs]; in setOutputsAndInputsAndClobbers()
443 std::copy(Constraints, Constraints + NumExprs, this->Constraints); in setOutputsAndInputsAndClobbers()
705 Constraints = new (C) StringLiteral*[NumExprs]; in GCCAsmStmt()
706 std::copy(constraints, constraints + NumExprs, Constraints); in GCCAsmStmt()
755 Constraints = new (C) StringRef[NumExprs]; in initialize()
757 Constraints[i] = copyIntoContext(C, constraints[i]); in initialize()

1234