OLD | NEW |
1 //===- subzero/src/IceTargetLoweringARM32.cpp - ARM32 lowering ------------===// | 1 //===- subzero/src/IceTargetLoweringARM32.cpp - ARM32 lowering ------------===// |
2 // | 2 // |
3 // The Subzero Code Generator | 3 // The Subzero Code Generator |
4 // | 4 // |
5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
7 // | 7 // |
8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
9 /// | 9 /// |
10 /// \file | 10 /// \file |
(...skipping 5295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5306 formAddressingMode(Dest->getType(), Func, Instr, Addr)) { | 5306 formAddressingMode(Dest->getType(), Func, Instr, Addr)) { |
5307 Instr->setDeleted(); | 5307 Instr->setDeleted(); |
5308 Context.insert<InstLoad>(Dest, Mem); | 5308 Context.insert<InstLoad>(Dest, Mem); |
5309 } | 5309 } |
5310 } | 5310 } |
5311 | 5311 |
5312 void TargetARM32::randomlyInsertNop(float Probability, | 5312 void TargetARM32::randomlyInsertNop(float Probability, |
5313 RandomNumberGenerator &RNG) { | 5313 RandomNumberGenerator &RNG) { |
5314 RandomNumberGeneratorWrapper RNGW(RNG); | 5314 RandomNumberGeneratorWrapper RNGW(RNG); |
5315 if (RNGW.getTrueWithProbability(Probability)) { | 5315 if (RNGW.getTrueWithProbability(Probability)) { |
5316 UnimplementedError(Func->getContext()->getFlags()); | 5316 _nop(); |
5317 } | 5317 } |
5318 } | 5318 } |
5319 | 5319 |
5320 void TargetARM32::lowerPhi(const InstPhi * /*Instr*/) { | 5320 void TargetARM32::lowerPhi(const InstPhi * /*Instr*/) { |
5321 Func->setError("Phi found in regular instruction list"); | 5321 Func->setError("Phi found in regular instruction list"); |
5322 } | 5322 } |
5323 | 5323 |
5324 void TargetARM32::lowerRet(const InstRet *Instr) { | 5324 void TargetARM32::lowerRet(const InstRet *Instr) { |
5325 Variable *Reg = nullptr; | 5325 Variable *Reg = nullptr; |
5326 if (Instr->hasRetValue()) { | 5326 if (Instr->hasRetValue()) { |
(...skipping 1197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6524 Str << ".eabi_attribute 14, 3 @ Tag_ABI_PCS_R9_use: Not used\n"; | 6524 Str << ".eabi_attribute 14, 3 @ Tag_ABI_PCS_R9_use: Not used\n"; |
6525 } | 6525 } |
6526 | 6526 |
6527 llvm::SmallBitVector TargetARM32::TypeToRegisterSet[RegARM32::RCARM32_NUM]; | 6527 llvm::SmallBitVector TargetARM32::TypeToRegisterSet[RegARM32::RCARM32_NUM]; |
6528 llvm::SmallBitVector | 6528 llvm::SmallBitVector |
6529 TargetARM32::TypeToRegisterSetUnfiltered[RegARM32::RCARM32_NUM]; | 6529 TargetARM32::TypeToRegisterSetUnfiltered[RegARM32::RCARM32_NUM]; |
6530 llvm::SmallBitVector TargetARM32::RegisterAliases[RegARM32::Reg_NUM]; | 6530 llvm::SmallBitVector TargetARM32::RegisterAliases[RegARM32::Reg_NUM]; |
6531 | 6531 |
6532 } // end of namespace ARM32 | 6532 } // end of namespace ARM32 |
6533 } // end of namespace Ice | 6533 } // end of namespace Ice |
OLD | NEW |