Home
last modified time | relevance | path

Searched refs:ConstantRelocatable (Results 1 – 25 of 30) sorted by relevance

12

/external/swiftshader/third_party/subzero/src/
DIceFixups.cpp28 if (const auto *CR = llvm::dyn_cast<ConstantRelocatable>(ConstValue)) in offset()
38 if (const auto *CR = llvm::dyn_cast<ConstantRelocatable>(C)) { in symbol()
60 if (const auto *CR = llvm::dyn_cast<ConstantRelocatable>(ConstValue)) { in emit()
DIceASanInstrumentation.h48 ConstantRelocatable *instrumentReloc(ConstantRelocatable *Reloc);
DIceASanInstrumentation.cpp344 llvm::dyn_cast<ConstantRelocatable>(Instr->getCallTarget()); in instrumentCall()
367 if (auto *Reloc = llvm::dyn_cast<ConstantRelocatable>(Src)) { in instrumentLoad()
383 if (auto *Reloc = llvm::dyn_cast<ConstantRelocatable>(Data)) { in instrumentStore()
397 ConstantRelocatable *
398 ASanInstrumentation::instrumentReloc(ConstantRelocatable *Reloc) { in instrumentReloc()
402 return ConstantRelocatable::create( in instrumentReloc()
453 auto *Reloc = llvm::dyn_cast<ConstantRelocatable>(Op); in isOkGlobalAccess()
DIceInstX8632.cpp114 Mem->getOffset() && llvm::isa<ConstantRelocatable>(Mem->getOffset()); in validateMemOperandPIC()
160 llvm::dyn_cast<ConstantRelocatable>(getOffset())) { in emit()
233 assert(llvm::isa<ConstantRelocatable>(getOffset())); in dump()
278 llvm::dyn_cast<ConstantRelocatable>(getOffset())) { in toAsmAddress()
DIceOperand.h372 class ConstantRelocatable : public Constant {
373 ConstantRelocatable() = delete;
374 ConstantRelocatable(const ConstantRelocatable &) = delete;
375 ConstantRelocatable &operator=(const ConstantRelocatable &) = delete;
379 static ConstantRelocatable *create(T *AllocOwner, Type Ty, in create()
381 return new (AllocOwner->template allocate<ConstantRelocatable>()) in create()
382 ConstantRelocatable(Ty, Tuple.Offset, Tuple.OffsetExpr, Tuple.Name, in create()
410 ConstantRelocatable(Type Ty, const RelocOffsetT Offset, in ConstantRelocatable() function
DIceInstX8664.cpp128 } else if (const auto *CR = llvm::dyn_cast<ConstantRelocatable>(Offset)) { in emit()
230 assert(llvm::isa<ConstantRelocatable>(Offset)); in dump()
265 llvm::dyn_cast<ConstantRelocatable>(getOffset())) { in toAsmAddress()
DIceOperand.cpp604 void ConstantRelocatable::emit(TargetLowering *Target) const { in emit()
608 void ConstantRelocatable::emitWithoutPrefix(const TargetLowering *Target, in emitWithoutPrefix()
613 void ConstantRelocatable::dump(const Cfg *, Ostream &Str) const { in dump()
DIceAssemblerMIPS32.cpp240 if (const auto *OpRel = llvm::dyn_cast<ConstantRelocatable>(OpImm)) { in emitRtRsImm16Rel()
647 void AssemblerMIPS32::jal(const ConstantRelocatable *Target) { in jal()
671 if (const auto *OpRel = llvm::dyn_cast<ConstantRelocatable>(OpImm)) { in lui()
691 if (const auto *OpRel = llvm::dyn_cast<ConstantRelocatable>(OpOff)) { in ldc1()
753 if (const auto *OpRel = llvm::dyn_cast<ConstantRelocatable>(OpOff)) { in lwc1()
1079 if (const auto *OpRel = llvm::dyn_cast<ConstantRelocatable>(OpOff)) { in sdc1()
1135 if (const auto *OpRel = llvm::dyn_cast<ConstantRelocatable>(OpOff)) { in swc1()
DIceTargetLoweringX8632.cpp178 if (llvm::dyn_cast_or_null<ConstantRelocatable>(Mem->getOffset()) == in _sandbox_mem_reference()
278 llvm::cast<ConstantRelocatable>(Ctx->getConstantSymWithEmitString( in emitGetIP()
DIceTargetLoweringX8664.cpp379 if (llvm::isa<ConstantRelocatable>(Offset)) { in _sandbox_mem_reference()
447 } else if (const auto *CR = llvm::dyn_cast<ConstantRelocatable>(Offset)) { in _sandbox_mem_reference()
678 auto *ReturnReloc = ConstantRelocatable::create( in emitCallToTarget()
DIceTargetLowering.h316 void emitWithoutPrefix(const ConstantRelocatable *CR,
324 virtual void emit(const ConstantRelocatable *CR) const = 0;
DIceGlobalContext.cpp122 std::is_same<ValueType, ConstantRelocatable>::value>::type> {
212 TypePool<IceType_i32, RelocatableTuple, ConstantRelocatable> Relocatables;
213 TypePool<IceType_i32, RelocatableTuple, ConstantRelocatable>
DIceInstMIPS32.cpp164 if (auto *CR = llvm::dyn_cast<ConstantRelocatable>(Src0)) { in emit()
345 if (auto *CR = llvm::dyn_cast<ConstantRelocatable>(Offset)) { in emit()
568 llvm::dyn_cast<ConstantRelocatable>(getCallTarget())) { in emit()
589 llvm::dyn_cast<ConstantRelocatable>(getCallTarget())) { in emitIAS()
DIceTargetLoweringX86BaseImpl.h1481 } else if (auto *SymOffset = llvm::dyn_cast<ConstantRelocatable>(Offset)) {
2289 llvm::isa<ConstantRelocatable>(Const));
5162 assert(!llvm::isa<ConstantRelocatable>(Offset));
5180 assert(!llvm::isa<ConstantRelocatable>(Offset));
5448 inline void dumpAddressOpt(const ConstantRelocatable *const Relocatable,
5454 ConstantRelocatable **Relocatable,
5464 ConstantRelocatable **Relocatable,
5480 const ConstantRelocatable *const Relocatable, int32_t Offset,
5506 ConstantRelocatable **Relocatable,
5530 } else if (auto *AddReloc = llvm::dyn_cast<ConstantRelocatable>(SrcOp)) {
[all …]
DIceAssemblerX86Base.h281 void call(const ConstantRelocatable *label); // not testable.
288 void pushl(const ConstantRelocatable *Label);
708 void j(BrCond condition, const ConstantRelocatable *label); // not testable.
712 void jmp(const ConstantRelocatable *label); // not testable.
DIceTargetLoweringX86Base.h196 ConstantRelocatable *createGetIPForRegister(const Variable *Dest) { in createGetIPForRegister()
199 return llvm::cast<ConstantRelocatable>(Ctx->getConstantExternSym( in createGetIPForRegister()
212 void emit(const ConstantRelocatable *C) const final;
301 ConstantRelocatable *Relocatable = nullptr;
1193 ConstantRelocatable *lowerShuffleVector_CreatePshufbMask(
DIceTargetLoweringMIPS32.h158 void emit(const ConstantRelocatable *C) const final { in emit()
373 if (llvm::isa<ConstantRelocatable>(Src0)) {
387 if (llvm::isa<ConstantRelocatable>(Src0)) {
DIceAssemblerMIPS32.h189 void jal(const ConstantRelocatable *Target);
DIceAssemblerARM32.h116 BlRelocatableFixup *createBlFixup(const ConstantRelocatable *BlTarget);
199 void bl(const ConstantRelocatable *Target);
DIceInstX86BaseImpl.h572 if (const auto *CR = llvm::dyn_cast<ConstantRelocatable>(Src)) { in emit()
606 } else if (const auto *CR = llvm::dyn_cast<ConstantRelocatable>(Target)) { in emitIAS()
641 llvm::dyn_cast<ConstantRelocatable>(CallTarget)) { in emit()
663 } else if (const auto *CR = llvm::dyn_cast<ConstantRelocatable>(CallTarget)) { in emitIAS()
761 } else if (const auto *Reloc = llvm::dyn_cast<ConstantRelocatable>(Src)) { in emitIASRegOpTyGPR()
792 } else if (const auto *Reloc = llvm::dyn_cast<ConstantRelocatable>(Src)) { in emitIASAddrOpTyGPR()
2931 } else if (auto *CR = llvm::dyn_cast<ConstantRelocatable>(Src)) { in emitIAS()
DIceTargetLoweringARM32.cpp887 TargetARM32::createGotoffRelocation(const ConstantRelocatable *CR) { in createGotoffRelocation()
2418 return llvm::isa<Constant>(Src1) && !llvm::isa<ConstantRelocatable>(Src1); in hasConstOperand()
2461 if (llvm::isa<ConstantRelocatable>(S1) && in NonConstOperand()
2462 !llvm::isa<ConstantRelocatable>(S0)) in NonConstOperand()
2472 if (llvm::isa<ConstantRelocatable>(S1) && in ConstOperand()
2473 !llvm::isa<ConstantRelocatable>(S0)) in ConstOperand()
3819 if (!llvm::isa<ConstantRelocatable>(CallTarget)) { in lowerCall()
5718 assert(llvm::isa<ConstantRelocatable>(Src0)); in matchOffsetBase()
5723 assert(llvm::isa<ConstantRelocatable>(Src1)); in matchOffsetBase()
6237 if (llvm::isa<ConstantRelocatable>(Opnd)) { in operandNeedsGot()
[all …]
DIceTargetLoweringARM32.h161 void emit(const ConstantRelocatable *C) const final;
1010 GlobalString createGotoffRelocation(const ConstantRelocatable *CR);
DIceELFObjectWriter.cpp618 const auto *Sym = llvm::cast<ConstantRelocatable>(S); in setUndefinedSyms()
DIceInstARM32.cpp2241 llvm::dyn_cast<ConstantRelocatable>(getCallTarget())) { in emit()
2264 llvm::dyn_cast<ConstantRelocatable>(getCallTarget())) { in emitIAS()
2513 if (auto *CR = llvm::dyn_cast<ConstantRelocatable>(Src0)) { in emit()
2542 if (auto *CR = llvm::dyn_cast<ConstantRelocatable>(Src1)) { in emit()
DIceTargetLowering.cpp952 void TargetLowering::emitWithoutPrefix(const ConstantRelocatable *C, in emitWithoutPrefix()

12