Home
last modified time | relevance | path

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

12

/external/llvm/lib/Transforms/Scalar/
DLowerAtomic.cpp30 LoadInst *Orig = Builder.CreateLoad(Ptr); in LowerAtomicCmpXchgInst() local
31 Value *Equal = Builder.CreateICmpEQ(Orig, Cmp); in LowerAtomicCmpXchgInst()
32 Value *Res = Builder.CreateSelect(Equal, Val, Orig); in LowerAtomicCmpXchgInst()
35 Res = Builder.CreateInsertValue(UndefValue::get(CXI->getType()), Orig, 0); in LowerAtomicCmpXchgInst()
48 LoadInst *Orig = Builder.CreateLoad(Ptr); in LowerAtomicRMWInst() local
57 Res = Builder.CreateAdd(Orig, Val); in LowerAtomicRMWInst()
60 Res = Builder.CreateSub(Orig, Val); in LowerAtomicRMWInst()
63 Res = Builder.CreateAnd(Orig, Val); in LowerAtomicRMWInst()
66 Res = Builder.CreateNot(Builder.CreateAnd(Orig, Val)); in LowerAtomicRMWInst()
69 Res = Builder.CreateOr(Orig, Val); in LowerAtomicRMWInst()
[all …]
/external/clang/include/clang/Analysis/Analyses/
DThreadSafetyTraverse.h183 R_SExpr reduceUndefined(Undefined &Orig) { return true; } in reduceUndefined() argument
184 R_SExpr reduceWildcard(Wildcard &Orig) { return true; } in reduceWildcard() argument
186 R_SExpr reduceLiteral(Literal &Orig) { return true; } in reduceLiteral() argument
188 R_SExpr reduceLiteralT(LiteralT<T> &Orig) { return true; } in reduceLiteralT() argument
189 R_SExpr reduceLiteralPtr(Literal &Orig) { return true; } in reduceLiteralPtr() argument
191 R_SExpr reduceFunction(Function &Orig, Variable *Nvd, R_SExpr E0) { in reduceFunction() argument
194 R_SExpr reduceSFunction(SFunction &Orig, Variable *Nvd, R_SExpr E0) { in reduceSFunction() argument
197 R_SExpr reduceCode(Code &Orig, R_SExpr E0, R_SExpr E1) { in reduceCode() argument
200 R_SExpr reduceField(Field &Orig, R_SExpr E0, R_SExpr E1) { in reduceField() argument
203 R_SExpr reduceApply(Apply &Orig, R_SExpr E0, R_SExpr E1) { in reduceApply() argument
[all …]
/external/llvm/lib/Target/AMDGPU/
DSIShrinkInstructions.cpp190 static MachineOperand copyRegOperandAsImplicit(const MachineOperand &Orig) { in copyRegOperandAsImplicit() argument
191 assert(!Orig.isImplicit()); in copyRegOperandAsImplicit()
192 return MachineOperand::CreateReg(Orig.getReg(), in copyRegOperandAsImplicit()
193 Orig.isDef(), in copyRegOperandAsImplicit()
195 Orig.isKill(), in copyRegOperandAsImplicit()
196 Orig.isDead(), in copyRegOperandAsImplicit()
197 Orig.isUndef(), in copyRegOperandAsImplicit()
198 Orig.isEarlyClobber(), in copyRegOperandAsImplicit()
199 Orig.getSubReg(), in copyRegOperandAsImplicit()
200 Orig.isDebug(), in copyRegOperandAsImplicit()
[all …]
/external/llvm/include/llvm/CodeGen/
DVirtRegMap.h152 unsigned Orig = getPreSplitReg(VirtReg); in getOriginal() local
153 return Orig ? Orig : VirtReg; in getOriginal()
DMachineFunction.h433 MachineInstr *CloneMachineInstr(const MachineInstr *Orig);
/external/llvm/lib/ExecutionEngine/Orc/
DIndirectionUtils.cpp70 const std::string& getRename(const Value &Orig) { in getRename() argument
73 auto I = Names.find(&Orig); in getRename()
84 auto I = Names.insert(std::make_pair(&Orig, NameStream.str())); in getRename()
/external/llvm/unittests/Transforms/Utils/
DCloning.cpp39 Orig.insert(V1); in clone()
50 DeleteContainerPointers(Orig); in TearDown()
54 SmallPtrSet<Value *, 4> Orig; // Erase on exit member in __anon72aa56b60111::CloneInstruction
/external/llvm/tools/bugpoint/
DMiscompilation.cpp258 Module *Orig = BD.swapProgramIn(Clone); in TestFuncs() local
275 delete BD.swapProgramIn(Orig); in TestFuncs()
495 Module *Orig = BD.swapProgramIn(Clone); in TestFuncs() local
517 delete BD.swapProgramIn(Orig); in TestFuncs()
520 delete BD.swapProgramIn(Orig); in TestFuncs()
/external/llvm/lib/CodeGen/
DTargetInstrInfo.cpp377 const MachineInstr *Orig, in reMaterialize() argument
379 MachineInstr *MI = MBB.getParent()->CloneMachineInstr(Orig); in reMaterialize()
391 MachineInstr *TargetInstrInfo::duplicate(MachineInstr *Orig, in duplicate() argument
393 assert(!Orig->isNotDuplicable() && in duplicate()
395 return MF.CloneMachineInstr(Orig); in duplicate()
DSplitKit.cpp297 const LiveInterval &Orig = LIS.getInterval(OrigReg); in isOriginalEndpoint() local
298 assert(!Orig.empty() && "Splitting empty interval?"); in isOriginalEndpoint()
299 LiveInterval::const_iterator I = Orig.find(Idx); in isOriginalEndpoint()
302 if (I != Orig.end() && I->start <= Idx) in isOriginalEndpoint()
306 return I != Orig.begin() && (--I)->end == Idx; in isOriginalEndpoint()
DMachineFunction.cpp214 MachineFunction::CloneMachineInstr(const MachineInstr *Orig) { in CloneMachineInstr() argument
216 MachineInstr(*this, *Orig); in CloneMachineInstr()
/external/llvm/lib/Target/ARM/
DARMBaseInstrInfo.h197 const MachineInstr *Orig,
200 MachineInstr *duplicate(MachineInstr *Orig,
DARMBaseInstrInfo.cpp1410 const MachineInstr *Orig, in reMaterialize() argument
1412 unsigned Opcode = Orig->getOpcode(); in reMaterialize()
1415 MachineInstr *MI = MBB.getParent()->CloneMachineInstr(Orig); in reMaterialize()
1416 MI->substituteRegister(Orig->getOperand(0).getReg(), DestReg, SubIdx, TRI); in reMaterialize()
1423 unsigned CPI = Orig->getOperand(1).getIndex(); in reMaterialize()
1425 MachineInstrBuilder MIB = BuildMI(MBB, I, Orig->getDebugLoc(), get(Opcode), in reMaterialize()
1428 MIB->setMemRefs(Orig->memoperands_begin(), Orig->memoperands_end()); in reMaterialize()
1435 ARMBaseInstrInfo::duplicate(MachineInstr *Orig, MachineFunction &MF) const { in duplicate() argument
1436 MachineInstr *MI = TargetInstrInfo::duplicate(Orig, MF); in duplicate()
1437 switch(Orig->getOpcode()) { in duplicate()
[all …]
/external/llvm/lib/ProfileData/
DInstrProf.cpp397 static T swapToHostOrder(const unsigned char *&D, support::endianness Orig) { in swapToHostOrder() argument
399 if (Orig == little) in swapToHostOrder()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DCallEvent.h56 CallEventRef(const CallEventRef &Orig) : IntrusiveRefCntPtr<const T>(Orig) {} in CallEventRef() argument
317 ProgramStateRef Orig = nullptr) const;
/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp157 ProgramStateRef Orig) const { in invalidateRegions()
158 ProgramStateRef Result = (Orig ? Orig : getState()); in invalidateRegions()
/external/llvm/utils/TableGen/
DCodeGenDAGPatterns.cpp3553 static void CombineChildVariants(TreePatternNode *Orig, in CombineChildVariants() argument
3570 errs() << Orig->getOperator()->getName() << ": Idxs = [ "; in CombineChildVariants()
3582 Orig->getOperator(), NewChildren, Orig->getNumTypes()); in CombineChildVariants()
3585 R->setName(Orig->getName()); in CombineChildVariants()
3586 R->setPredicateFns(Orig->getPredicateFns()); in CombineChildVariants()
3587 R->setTransformFn(Orig->getTransformFn()); in CombineChildVariants()
3588 for (unsigned i = 0, e = Orig->getNumTypes(); i != e; ++i) in CombineChildVariants()
3589 R->setType(i, Orig->getExtType(i)); in CombineChildVariants()
3620 static void CombineChildVariants(TreePatternNode *Orig, in CombineChildVariants() argument
3629 CombineChildVariants(Orig, ChildVariants, OutVariants, CDP, DepVars); in CombineChildVariants()
/external/llvm/include/llvm/Target/
DTargetInstrInfo.h268 const MachineInstr *Orig,
276 virtual MachineInstr *duplicate(MachineInstr *Orig,
/external/clang/include/clang/AST/
DASTContext.h657 void setOriginalDecl(const Decl *Orig) { in setOriginalDecl() argument
658 OriginalDecl = Orig; in setOriginalDecl()
1055 QualType getAdjustedType(QualType Orig, QualType New) const;
1056 CanQualType getAdjustedType(CanQualType Orig, CanQualType New) const { in getAdjustedType() argument
1058 getAdjustedType((QualType)Orig, (QualType)New)); in getAdjustedType()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp851 BinaryOperator *Orig = cast<BinaryOperator>(Shl); in SimplifyShrShlDemandedBits() local
852 New->setHasNoSignedWrap(Orig->hasNoSignedWrap()); in SimplifyShrShlDemandedBits()
853 New->setHasNoUnsignedWrap(Orig->hasNoUnsignedWrap()); in SimplifyShrShlDemandedBits()
/external/llvm/lib/Target/X86/
DX86InstrInfo.h220 const MachineInstr *Orig,
/external/valgrind/memcheck/
Dmc_translate.c165 enum { Orig=1, VSh=2, BSh=3 } enumerator
272 tl_assert(ent->kind == Orig); in findShadowTmpV()
279 tl_assert(ent->kind == Orig); in findShadowTmpV()
302 tl_assert(ent->kind == Orig); in newShadowTmpV()
309 tl_assert(ent->kind == Orig); in newShadowTmpV()
336 return ent->kind == Orig; in isOriginalAtom()
466 case 'C': k = Orig; break; in assignNew()
6313 ent.kind = Orig; in MC_()
6719 tl_assert(ent->kind == Orig); in findShadowTmpB()
6726 tl_assert(ent->kind == Orig); in findShadowTmpB()
/external/llvm/lib/Target/AArch64/
DAArch64ISelDAGToDAG.cpp1797 static void getUsefulBitsFromBFM(SDValue Op, SDValue Orig, APInt &UsefulBits, in getUsefulBitsFromBFM() argument
1804 if (Op.getOperand(1) == Orig) in getUsefulBitsFromBFM()
1824 SDValue Orig, unsigned Depth) { in getUsefulBitsForUse() argument
1847 if (UserNode->getOperand(1) != Orig) in getUsefulBitsForUse()
1853 return getUsefulBitsFromBFM(SDValue(UserNode, 0), Orig, UsefulBits, Depth); in getUsefulBitsForUse()
/external/clang/lib/Sema/
DSemaTemplate.cpp50 NamedDecl *Orig, in isAcceptableTemplateName() argument
52 NamedDecl *D = Orig->getUnderlyingDecl(); in isAcceptableTemplateName()
58 return Orig; in isAcceptableTemplateName()
95 NamedDecl *Orig = filter.next(); in FilterAcceptableTemplateNames() local
96 NamedDecl *Repl = isAcceptableTemplateName(Context, Orig, in FilterAcceptableTemplateNames()
100 else if (Repl != Orig) { in FilterAcceptableTemplateNames()
/external/clang/lib/AST/
DASTContext.cpp2255 ASTContext &Context, QualType Orig, in getFunctionTypeWithExceptionSpec() argument
2258 if (auto *PT = dyn_cast<ParenType>(Orig)) in getFunctionTypeWithExceptionSpec()
2263 if (auto *AT = dyn_cast<AttributedType>(Orig)) in getFunctionTypeWithExceptionSpec()
2272 const FunctionProtoType *Proto = cast<FunctionProtoType>(Orig); in getFunctionTypeWithExceptionSpec()
2362 QualType ASTContext::getAdjustedType(QualType Orig, QualType New) const { in getAdjustedType() argument
2364 AdjustedType::Profile(ID, Orig, New); in getAdjustedType()
2377 AdjustedType(Type::Adjusted, Orig, New, Canonical); in getAdjustedType()

12