Home
last modified time | relevance | path

Searched refs:hasSideEffects (Results 1 – 25 of 79) sorted by relevance

1234

/external/proguard/src/proguard/optimize/info/
DSideEffectInstructionChecker.java60 private boolean hasSideEffects; field in SideEffectInstructionChecker
82 public boolean hasSideEffects(Clazz clazz, in hasSideEffects() method in SideEffectInstructionChecker
88 hasSideEffects = false; in hasSideEffects()
92 return hasSideEffects; in hasSideEffects()
127 hasSideEffects = OPTIMIZE_CONSERVATIVELY; in visitSimpleInstruction()
142 hasSideEffects = true; in visitSimpleInstruction()
152 hasSideEffects = includeReturnInstructions; in visitSimpleInstruction()
167 hasSideEffects = includeReturnInstructions; in visitVariableInstruction()
197 hasSideEffects = true; in visitConstantInstruction()
212 hasSideEffects = true; in visitConstantInstruction()
[all …]
DSideEffectMethodMarker.java50 private boolean hasSideEffects; field in SideEffectMethodMarker
83 if (!hasSideEffects(programMethod) && in visitProgramMethod()
87 hasSideEffects = in visitProgramMethod()
93 if (!hasSideEffects) in visitProgramMethod()
100 if (hasSideEffects) in visitProgramMethod()
118 hasSideEffects = hasSideEffects(clazz, method, codeAttribute); in visitCodeAttribute()
127 private boolean hasSideEffects(Clazz clazz, in hasSideEffects() method in SideEffectMethodMarker
147 if (checker.hasSideEffects(clazz, in hasSideEffects()
175 public static boolean hasSideEffects(Method method) in hasSideEffects() method in SideEffectMethodMarker
179 info.hasSideEffects(); in hasSideEffects()
DMethodOptimizationInfo.java36 private boolean hasSideEffects = false; field in MethodOptimizationInfo
88 hasSideEffects = true; in setSideEffects()
92 public boolean hasSideEffects() in hasSideEffects() method in MethodOptimizationInfo
94 return hasSideEffects; in hasSideEffects()
284 this.hasSideEffects |= other.hasSideEffects; in merge()
297 this.hasSideEffects = true; in merge()
DSideEffectMethodFilter.java59 if (SideEffectMethodMarker.hasSideEffects(programMethod)) in visitProgramMethod()
68 if (SideEffectMethodMarker.hasSideEffects(libraryMethod)) in visitLibraryMethod()
/external/llvm/lib/Target/Hexagon/
DHexagonInstrInfoV3.td24 let isCall = 1, hasSideEffects = 1, Defs = VolatileV3.Regs, isPredicable = 1,
39 let isCall = 1, hasSideEffects = 1, Defs = VolatileV3.Regs, isPredicated = 1,
67 let isCodeGenOnly = 1, isCall = 1, hasSideEffects = 1, Defs = VolatileV3.Regs in
101 let hasSideEffects = 0, isAsmParserOnly = 1 in
109 let hasSideEffects = 0 in
193 let Defs = [USR_OVF], hasSideEffects = 0 in
216 let hasSideEffects = 0, isAsmParserOnly = 1 in
222 let Defs = [USR_OVF], hasSideEffects = 0 in
DHexagonInstrInfo.td66 let hasSideEffects = 0, isCompare = 1, InputType = "imm", isExtendable = 1,
118 let hasSideEffects = 0, hasNewValue = 1, InputType = "reg" in
141 let hasSideEffects = 0, hasNewValue = 1 in
255 let hasSideEffects = 0, hasNewValue = 1, isCompare = 1, InputType = "reg" in
310 let hasSideEffects = 0;
349 let hasNewValue = 1, hasSideEffects = 0 in
375 let hasNewValue = 1, hasSideEffects = 0 in
454 opExtentBits = 10, InputType = "imm", hasNewValue = 1, hasSideEffects = 0 in
471 let hasSideEffects = 0 in
484 let hasSideEffects = 0, hasNewValue = 1 in
[all …]
DHexagonInstrInfoV4.td36 let hasSideEffects = 0 in
171 let hasSideEffects = 0;
216 let hasSideEffects = 0;
292 let hasSideEffects = 0, isExtentSigned = 1, isExtendable = 1,
328 let hasSideEffects = 0, isExtendable = 1, opExtentBits = 6, opExtendable = 2 in
394 hasSideEffects = 0 in
583 let hasSideEffects = 0, addrMode = BaseRegOffset in
992 let addrMode = BaseRegOffset, InputType = "reg", hasSideEffects = 0 in {
1126 let hasSideEffects = 0, addrMode = BaseImmOffset,
1313 let mayStore = 1, isNVStore = 1, isNewValue = 1, hasSideEffects = 0,
[all …]
/external/llvm/lib/Target/R600/
DSIInstrFormats.td96 let hasSideEffects = 0;
228 let hasSideEffects = 0;
239 let hasSideEffects = 0;
253 let hasSideEffects = 0;
266 let hasSideEffects = 0;
278 let hasSideEffects = 0;
294 let hasSideEffects = 0;
590 let hasSideEffects = 0;
613 let hasSideEffects = 0;
625 let hasSideEffects = 0;
[all …]
DR600Instructions.td85 let mayLoad = 0, mayStore = 0, hasSideEffects = 0 in {
214 } // End mayLoad = 1, mayStore = 0, hasSideEffects = 0
772 let hasSideEffects = 1 in {
776 } // end hasSideEffects
843 let mayLoad = 0, mayStore = 0, hasSideEffects = 0 in {
878 } // End mayLoad = 0, mayStore = 0, hasSideEffects = 0
1002 let mayLoad = 0, mayStore = 0, hasSideEffects = 0 in {
1018 } // End mayLoad = 0, mayStore = 0, hasSideEffects = 0
1319 let mayLoad = 0, mayStore = 0, hasSideEffects = 1 in {
1328 } // End mayLoad = 0, mayStore = 0, hasSideEffects = 1
[all …]
/external/llvm/lib/IR/
DInlineAsm.cpp29 StringRef Constraints, bool hasSideEffects, in get() argument
31 InlineAsmKeyType Key(AsmString, Constraints, hasSideEffects, isAlignStack, in get()
38 const std::string &constraints, bool hasSideEffects, in InlineAsm() argument
42 HasSideEffects(hasSideEffects), IsAlignStack(isAlignStack), in InlineAsm()
/external/clang/lib/ARCMigrate/
DTransEmptyStatementsAndDealloc.cpp103 if (hasSideEffects(condE, Ctx)) in VisitIfStmt()
117 if (hasSideEffects(condE, Ctx)) in VisitWhileStmt()
127 if (hasSideEffects(condE, Ctx)) in VisitDoStmt()
137 if (hasSideEffects(Exp, Ctx)) in VisitObjCForCollectionStmt()
/external/llvm/include/llvm/IR/
DInlineAsm.h52 const std::string &Constraints, bool hasSideEffects,
64 StringRef Constraints, bool hasSideEffects,
68 bool hasSideEffects() const { return HasSideEffects; } in hasSideEffects() function
/external/llvm/lib/Target/X86/
DX86InstrExtension.td14 let hasSideEffects = 0 in {
42 let hasSideEffects = 0 in {
50 } // hasSideEffects = 0
68 let hasSideEffects = 0 in {
76 } // hasSideEffects = 0
97 let hasSideEffects = 0, isCodeGenOnly = 1 in {
DX86InstrArithmetic.td18 let hasSideEffects = 0 in
68 let Defs = [AX,DX,EFLAGS], Uses = [AX], hasSideEffects = 0 in
73 let Defs = [EAX,EDX,EFLAGS], Uses = [EAX], hasSideEffects = 0 in
79 let Defs = [RAX,RDX,EFLAGS], Uses = [RAX], hasSideEffects = 0 in
94 let mayLoad = 1, hasSideEffects = 0 in {
110 let hasSideEffects = 0 in {
148 } // hasSideEffects
295 let hasSideEffects = 1 in { // so that we don't speculatively execute
367 } // hasSideEffects = 0
474 let CodeSize = 1, hasSideEffects = 0 in {
[all …]
DX86InstrFMA.td72 let hasSideEffects = 0 in {
84 } // hasSideEffects = 0
158 let hasSideEffects = 0 in {
242 let isCodeGenOnly = 1, ForceDisassemble = 1, hasSideEffects = 0 in
319 let isCodeGenOnly = 1, ForceDisassemble = 1, hasSideEffects = 0 in {
DX86InstrControl.td62 let hasSideEffects = 0, isCodeGenOnly = 1, ForceDisassemble = 1 in {
75 let hasSideEffects = 0, isCodeGenOnly = 1, ForceDisassemble = 1 in {
102 let isBranch = 1, isTerminator = 1, hasSideEffects = 0, SchedRW = [WriteJump] in {
184 let hasSideEffects = 0 in
DX86InstrMMX.td257 let isCodeGenOnly = 1, ForceDisassemble = 1, hasSideEffects = 0, mayLoad = 1 in
271 let hasSideEffects = 0 in
275 let isCodeGenOnly = 1, ForceDisassemble = 1, hasSideEffects = 0 in {
282 let isCodeGenOnly = 1, ForceDisassemble = 1, hasSideEffects = 0, mayStore = 1 in
318 let isCodeGenOnly = 1, hasSideEffects = 1 in {
DX86InstrInfo.td960 let hasSideEffects = 0, SchedRW = [WriteZero] in {
974 let Defs = [EBP, ESP], Uses = [EBP, ESP], mayLoad = 1, hasSideEffects=0 in
979 let Defs = [RBP,RSP], Uses = [RBP,RSP], mayLoad = 1, hasSideEffects = 0 in
989 let Defs = [ESP], Uses = [ESP], hasSideEffects=0 in {
1034 let Defs = [ESP, EFLAGS], Uses = [ESP], mayLoad = 1, hasSideEffects=0,
1042 let Defs = [ESP], Uses = [ESP, EFLAGS], mayStore = 1, hasSideEffects=0,
1050 let Defs = [RSP], Uses = [RSP], hasSideEffects=0 in {
1069 let Defs = [RSP], Uses = [RSP], hasSideEffects = 0, mayStore = 1,
1081 let Defs = [RSP, EFLAGS], Uses = [RSP], mayLoad = 1, hasSideEffects=0 in
1084 let Defs = [RSP], Uses = [RSP, EFLAGS], mayStore = 1, hasSideEffects=0 in
[all …]
/external/llvm/lib/Target/XCore/
DXCoreInstrInfo.td373 let hasSideEffects = 1 in
384 let hasSideEffects = 0 in {
435 let hasSideEffects = 0 in
446 let hasSideEffects = 0 in
465 let hasSideEffects = 1 in {
541 let hasSideEffects = 0, isReMaterializable = 1 in
567 let mayLoad = 1, isReMaterializable = 1, hasSideEffects = 0 in {
596 let hasSideEffects = 0 in {
631 let hasSideEffects = 0 in
642 let hasSideEffects = 0 in
[all …]
/external/llvm/lib/Target/AArch64/
DAArch64InstrFormats.td783 let mayLoad = 0, mayStore = 0, hasSideEffects = 1 in
809 let mayStore = 1, mayLoad = 1, hasSideEffects = 1 in
971 let mayLoad = 0, mayStore = 0, hasSideEffects = 1, isReturn = 1 in
1172 let mayLoad = 0, mayStore = 0, hasSideEffects = 0 in
1187 let mayLoad = 0, mayStore = 0, hasSideEffects = 0 in
1463 let mayLoad = 0, mayStore = 0, hasSideEffects = 0 in
1491 let mayLoad = 0, mayStore = 0, hasSideEffects = 0 in
1603 let mayLoad = 0, mayStore = 0, hasSideEffects = 0 in
1638 let hasSideEffects = 0, isReMaterializable = 1, isAsCheapAsAMove = 1 in {
1671 let AddedComplexity = 1, hasSideEffects = 0 in {
[all …]
/external/llvm/include/llvm/Target/
DTarget.td402 // hasSideEffects - The instruction has side effects that are not
405 bit hasSideEffects = ?;
696 // The instruction properties mayLoad, mayStore, and hasSideEffects are unset
742 let hasSideEffects = 0; // Note side effect is encoded in an operand.
769 let hasSideEffects = 0;
775 let hasSideEffects = 0;
781 let hasSideEffects = 0;
788 let hasSideEffects = 0;
796 let hasSideEffects = 0;
802 let hasSideEffects = 0;
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCInstr64Bit.td238 let mayLoad = 1, hasSideEffects = 0 in {
248 let Defs = [CR0], mayStore = 1, hasSideEffects = 0 in
300 let hasSideEffects = 0 in {
317 } // hasSideEffects = 0
319 let hasSideEffects = 1, isBarrier = 1, usesCustomInserter = 1 in {
351 let hasSideEffects = 1, Defs = [CTR8] in {
390 let hasSideEffects = 0 in {
541 let isCompare = 1, hasSideEffects = 0 in {
553 let hasSideEffects = 0 in {
657 let hasSideEffects = 0 in {
[all …]
/external/llvm/lib/Target/SystemZ/
DSystemZInstrInfo.td19 let hasSideEffects = 0 in {
276 let hasSideEffects = 0 in {
299 let hasSideEffects = 0, isAsCheapAsAMove = 1, isMoveImm = 1,
415 let hasSideEffects = 0 in {
421 let hasSideEffects = 0 in {
465 let hasSideEffects = 0 in {
477 let hasSideEffects = 0 in {
559 let hasSideEffects = 0 in {
579 let hasSideEffects = 0, isAsCheapAsAMove = 1, isReMaterializable = 1,
593 let hasSideEffects = 0, isAsCheapAsAMove = 1, isMoveImm = 1,
[all …]
/external/llvm/utils/TableGen/
DCodeGenDAGPatterns.cpp2698 bool hasSideEffects; member in InstAnalyzer
2705 : CDP(cdp), hasSideEffects(false), mayStore(false), mayLoad(false), in InstAnalyzer()
2719 if (hasSideEffects || mayLoad || mayStore || isVariadic) in IsNodeBitcast()
2751 if (CP.hasProperty(SDNPSideEffect)) hasSideEffects = true; in AnalyzeNode()
2770 if (N->NodeHasProperty(SDNPSideEffect, CDP)) hasSideEffects = true; in AnalyzeNode()
2783 hasSideEffects = true; in AnalyzeNode()
2799 if (InstInfo.hasSideEffects != PatInfo.hasSideEffects && in InferFromPattern()
2804 if (!InstInfo.hasSideEffects) { in InferFromPattern()
2807 Twine(InstInfo.hasSideEffects)); in InferFromPattern()
2828 InstInfo.hasSideEffects |= PatInfo.hasSideEffects; in InferFromPattern()
[all …]
/external/llvm/lib/Target/ARM/
DARMInstrThumb.td251 // FIXME: Marking these as hasSideEffects is necessary to prevent machine DCE
254 let Defs = [SP], Uses = [SP], hasSideEffects = 1 in {
717 let hasSideEffects = 0 in {
757 } // hasSideEffects
891 let hasSideEffects = 0 in
1051 let hasSideEffects = 0 in {
1073 } // hasSideEffects
1251 let hasSideEffects = 0, isReMaterializable = 1 in
1255 let hasSideEffects = 1 in
1287 hasSideEffects = 1, isBarrier = 1, isCodeGenOnly = 1,
[all …]

1234