Home
last modified time | relevance | path

Searched refs:isLegal (Results 1 – 25 of 51) sorted by relevance

123

/external/llvm-project/mlir/lib/Dialect/StandardOps/Transforms/
DFuncBufferize.cpp37 typeConverter.isLegal(&op.getBody()); in runOnOperation()
41 [&](CallOp op) { return typeConverter.isLegal(op); }); in runOnOperation()
48 [&](ReturnOp op) { return typeConverter.isLegal(op); }); in runOnOperation()
70 !typeConverter.isLegal(successorOperands.getValue().getTypes())) in runOnOperation()
DBufferize.cpp194 return typeConverter.isLegal(op.getType()) || in runOnFunction()
198 [&](DimOp op) { return typeConverter.isLegal(op); }); in runOnFunction()
DTensorConstantBufferize.cpp115 [&](ConstantOp op) { return typeConverter.isLegal(op.getType()); }); in runOnOperation()
/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/transforms/
Dbufferize_pass.cc141 return converter.isLegal(inputs) && converter.isLegal(results) && in runOnOperation()
142 converter.isLegal(&op.getBody()); in runOnOperation()
144 auto isLegalOp = [&](Operation* op) { return converter.isLegal(op); }; in runOnOperation()
179 return converter.isLegal(op->getOperandTypes()) && in runOnOperation()
180 converter.isLegal(op->getResultTypes()); in runOnOperation()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86DomainReassignment.cpp92 virtual bool isLegal(const MachineInstr *MI, in isLegal() function in __anonaf35e3140111::InstrConverterBase
119 assert(isLegal(MI, TII) && "Cannot convert instruction"); in convertInstr()
138 bool isLegal(const MachineInstr *MI, in isLegal() function in __anonaf35e3140111::InstrReplacer
140 if (!InstrConverterBase::isLegal(MI, TII)) in isLegal()
153 assert(isLegal(MI, TII) && "Cannot convert instruction"); in convertInstr()
181 assert(isLegal(MI, TII) && "Cannot convert instruction"); in convertInstr()
215 bool isLegal(const MachineInstr *MI, in isLegal() function in __anonaf35e3140111::InstrCOPYReplacer
217 if (!InstrConverterBase::isLegal(MI, TII)) in isLegal()
269 assert(isLegal(MI, TII) && "Cannot convert instruction"); in convertInstr()
328 bool isLegal(RegDomain RD) const { return LegalDstDomains[RD]; } in isLegal() function in __anonaf35e3140111::Closure
[all …]
DX86CallFrameOptimization.cpp97 bool isLegal(MachineFunction &MF);
134 bool X86CallFrameOptimization::isLegal(MachineFunction &MF) { in isLegal() function in X86CallFrameOptimization
248 if (skipFunction(MF.getFunction()) || !isLegal(MF)) in runOnMachineFunction()
/external/llvm-project/llvm/lib/Target/X86/
DX86DomainReassignment.cpp92 virtual bool isLegal(const MachineInstr *MI, in isLegal() function in __anon0d7edfa00111::InstrConverterBase
119 assert(isLegal(MI, TII) && "Cannot convert instruction"); in convertInstr()
138 bool isLegal(const MachineInstr *MI, in isLegal() function in __anon0d7edfa00111::InstrReplacer
140 if (!InstrConverterBase::isLegal(MI, TII)) in isLegal()
153 assert(isLegal(MI, TII) && "Cannot convert instruction"); in convertInstr()
181 assert(isLegal(MI, TII) && "Cannot convert instruction"); in convertInstr()
215 bool isLegal(const MachineInstr *MI, in isLegal() function in __anon0d7edfa00111::InstrCOPYReplacer
217 if (!InstrConverterBase::isLegal(MI, TII)) in isLegal()
267 assert(isLegal(MI, TII) && "Cannot convert instruction"); in convertInstr()
326 bool isLegal(RegDomain RD) const { return LegalDstDomains[RD]; } in isLegal() function in __anon0d7edfa00111::Closure
[all …]
DX86CallFrameOptimization.cpp98 bool isLegal(MachineFunction &MF);
135 bool X86CallFrameOptimization::isLegal(MachineFunction &MF) { in isLegal() function in X86CallFrameOptimization
248 if (skipFunction(MF.getFunction()) || !isLegal(MF)) in runOnMachineFunction()
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetUTF7.java83 private static boolean isLegal(char c, boolean useIMAP) { in isLegal() method in CharsetUTF7
98 (isLegal(c, true) && c != AMPERSAND) in inSetDIMAP()
237 if (!isLegal(b, useIMAP)) { in decodeLoop()
347 if (useIMAP && isLegal(c, useIMAP)) { in decodeLoop()
366 if(useIMAP && isLegal(c, useIMAP)) { in decodeLoop()
385 if (useIMAP && isLegal(c, useIMAP)) { in decodeLoop()
579 … if ((!useIMAP && c<=127 && encodeDirectly[c]==1) || (useIMAP && isLegal(c, useIMAP))) { in encodeLoop()
/external/llvm-project/mlir/lib/Dialect/Shape/Transforms/
DStructuralTypeConversions.cpp65 return typeConverter.isLegal(op.getResultTypes()); in populateShapeStructuralTypeConversionsAndLegality()
68 return typeConverter.isLegal(op.getOperandTypes()); in populateShapeStructuralTypeConversionsAndLegality()
/external/llvm-project/mlir/test/lib/Transforms/
DTestDecomposeCallGraphTypes.cpp41 return typeConverter.isLegal(op.getOperandTypes()); in runOnOperation()
44 [&](CallOp op) { return typeConverter.isLegal(op); }); in runOnOperation()
/external/llvm-project/mlir/lib/Dialect/SCF/Transforms/
DStructuralTypeConversions.cpp142 return typeConverter.isLegal(op->getResultTypes()); in populateSCFStructuralTypeConversionsAndLegality()
149 return typeConverter.isLegal(op.getOperandTypes()); in populateSCFStructuralTypeConversionsAndLegality()
/external/llvm-project/mlir/include/mlir/Transforms/
DDialectConversion.h169 bool isLegal(Type type);
175 isLegal(RangeT &&range) { in isLegal() function
176 return llvm::all_of(range, [this](Type type) { return isLegal(type); }); in isLegal()
179 bool isLegal(Operation *op);
182 bool isLegal(Region *region);
721 Optional<LegalOpDetails> isLegal(Operation *op) const;
/external/llvm-project/mlir/lib/Conversion/LinalgToSPIRV/
DLinalgToSPIRVPass.cpp41 typeConverter.isLegal(&op.getBody()); in runOnOperation()
/external/llvm/lib/Target/X86/
DX86CallFrameOptimization.cpp84 bool isLegal(MachineFunction &MF);
124 bool X86CallFrameOptimization::isLegal(MachineFunction &MF) { in isLegal() function in X86CallFrameOptimization
228 if (!isLegal(MF)) in runOnMachineFunction()
/external/llvm-project/mlir/lib/Conversion/OpenMPToLLVM/
DOpenMPToLLVM.cpp73 [&](Operation *op) { return converter.isLegal(&op->getRegion(0)); }); in runOnOperation()
/external/llvm-project/mlir/lib/Transforms/
DBufferize.cpp118 [&](Operation *op) { return typeConverter.isLegal(op); }); in runOnFunction()
/external/llvm-project/mlir/lib/Transforms/Utils/
DDialectConversion.cpp51 auto legalityInfo = target ? target->isLegal(&op) in computeConversionSet()
1595 if (auto legalityInfo = target.isLegal(op)) { in legalize()
2437 bool TypeConverter::isLegal(Type type) { return convertType(type) == type; } in isLegal() function in TypeConverter
2439 bool TypeConverter::isLegal(Operation *op) { in isLegal() function in TypeConverter
2440 return isLegal(op->getOperandTypes()) && isLegal(op->getResultTypes()); in isLegal()
2444 bool TypeConverter::isLegal(Region *region) { in isLegal() function in TypeConverter
2446 return isLegal(block.getArgumentTypes()); in isLegal()
2453 return isLegal(llvm::concat<const Type>(ty.getInputs(), ty.getResults())); in isSignatureLegal()
2566 auto ConversionTarget::isLegal(Operation *op) const in isLegal() function in ConversionTarget
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/
DBufferize.cpp334 return typeConverter.isLegal(op); in runOnOperation()
/external/llvm-project/mlir/test/lib/Dialect/Test/
DTestPatterns.cpp586 converter.isLegal(&op.getBody()); in runOnOperation()
830 converter.isLegal(&op.getBody()); in runOnOperation()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/lang/
DUCharacter.java4776 public static boolean isLegal(int ch) in isLegal() method in UCharacter
4806 public static boolean isLegal(String str) in isLegal() method in UCharacter
4813 if (!isLegal(codepoint)) { in isLegal()
5224 if (UCharacter.isLegal(char16)) { in getCodePoint()
/external/icu/android_icu4j/src/main/java/android/icu/lang/
DUCharacter.java4186 public static boolean isLegal(int ch) in isLegal() method in UCharacter
4215 public static boolean isLegal(String str) in isLegal() method in UCharacter
4222 if (!isLegal(codepoint)) { in isLegal()
4623 if (UCharacter.isLegal(char16)) { in getCodePoint()
/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
DLegalizerInfo.h1258 bool isLegal(const LegalityQuery &Query) const { in isLegal() function
1267 bool isLegal(const MachineInstr &MI, const MachineRegisterInfo &MRI) const;
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DLegalizerInfo.h1145 bool isLegal(const LegalityQuery &Query) const { in isLegal() function
1148 bool isLegal(const MachineInstr &MI, const MachineRegisterInfo &MRI) const;
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUCharacterTest.java1464 if (UCharacter.isLegal(illegal[count])) { in TestIsLegal()
1471 if (!UCharacter.isLegal(legal[count])) { in TestIsLegal()
1491 if (UCharacter.isLegal(str.toString())) { in TestIsLegal()
1508 if (!UCharacter.isLegal(str.toString())) { in TestIsLegal()

123