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/llvm/lib/ExecutionEngine/Orc/
DIndirectionUtils.cpp65 const std::string& getRename(const Value &Orig) { in getRename() argument
68 auto I = Names.find(&Orig); in getRename()
79 auto I = Names.insert(std::make_pair(&Orig, NameStream.str())); in getRename()
93 [&](GlobalVariable &New, const GlobalVariable &Orig, in partition()
95 if (KVPair.second.count(&Orig)) { in partition()
96 copyGVInitializer(New, Orig, VMap); in partition()
100 New.setName(Renamer.getRename(Orig)); in partition()
108 [&](Function &New, const Function &Orig, ValueToValueMapTy &VMap) { in partition() argument
109 if (KVPair.second.count(&Orig)) in partition()
110 copyFunctionBody(New, Orig, VMap); in partition()
[all …]
DCloneSubModule.cpp10 void copyGVInitializer(GlobalVariable &New, const GlobalVariable &Orig, in copyGVInitializer() argument
12 if (Orig.hasInitializer()) in copyGVInitializer()
13 New.setInitializer(MapValue(Orig.getInitializer(), VMap)); in copyGVInitializer()
16 void copyFunctionBody(Function &New, const Function &Orig, in copyFunctionBody() argument
18 if (!Orig.isDeclaration()) { in copyFunctionBody()
20 for (Function::const_arg_iterator J = Orig.arg_begin(); J != Orig.arg_end(); in copyFunctionBody()
27 CloneFunctionInto(&New, &Orig, VMap, /*ModuleLevelChanges=*/true, Returns); in copyFunctionBody()
/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/include/llvm/CodeGen/
DVirtRegMap.h152 unsigned Orig = getPreSplitReg(VirtReg); in getOriginal() local
153 return Orig ? Orig : VirtReg; in getOriginal()
DMachineFunction.h402 MachineInstr *CloneMachineInstr(const MachineInstr *Orig);
/external/llvm/include/llvm/ExecutionEngine/Orc/
DCloneSubModule.h43 void copyGVInitializer(GlobalVariable &New, const GlobalVariable &Orig,
49 void copyFunctionBody(Function &New, const Function &Orig,
/external/llvm/lib/CodeGen/
DTargetInstrInfo.cpp320 const MachineInstr *Orig, in reMaterialize() argument
322 MachineInstr *MI = MBB.getParent()->CloneMachineInstr(Orig); in reMaterialize()
334 MachineInstr *TargetInstrInfo::duplicate(MachineInstr *Orig, in duplicate() argument
336 assert(!Orig->isNotDuplicable() && in duplicate()
338 return MF.CloneMachineInstr(Orig); in duplicate()
DSplitKit.cpp294 const LiveInterval &Orig = LIS.getInterval(OrigReg); in isOriginalEndpoint() local
295 assert(!Orig.empty() && "Splitting empty interval?"); in isOriginalEndpoint()
296 LiveInterval::const_iterator I = Orig.find(Idx); in isOriginalEndpoint()
299 if (I != Orig.end() && I->start <= Idx) in isOriginalEndpoint()
303 return I != Orig.begin() && (--I)->end == Idx; in isOriginalEndpoint()
DMachineFunction.cpp190 MachineFunction::CloneMachineInstr(const MachineInstr *Orig) { in CloneMachineInstr() argument
192 MachineInstr(*this, *Orig); in CloneMachineInstr()
/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.cpp263 Module *Orig = BD.swapProgramIn(Clone); in TestFuncs() local
280 delete BD.swapProgramIn(Orig); in TestFuncs()
502 Module *Orig = BD.swapProgramIn(Clone); in TestFuncs() local
528 delete BD.swapProgramIn(Orig); in TestFuncs()
531 delete BD.swapProgramIn(Orig); in TestFuncs()
/external/llvm/lib/Target/ARM/
DARMBaseInstrInfo.h186 const MachineInstr *Orig,
189 MachineInstr *duplicate(MachineInstr *Orig,
DARMBaseInstrInfo.cpp1392 const MachineInstr *Orig, in reMaterialize() argument
1394 unsigned Opcode = Orig->getOpcode(); in reMaterialize()
1397 MachineInstr *MI = MBB.getParent()->CloneMachineInstr(Orig); in reMaterialize()
1398 MI->substituteRegister(Orig->getOperand(0).getReg(), DestReg, SubIdx, TRI); in reMaterialize()
1405 unsigned CPI = Orig->getOperand(1).getIndex(); in reMaterialize()
1407 MachineInstrBuilder MIB = BuildMI(MBB, I, Orig->getDebugLoc(), get(Opcode), in reMaterialize()
1410 MIB->setMemRefs(Orig->memoperands_begin(), Orig->memoperands_end()); in reMaterialize()
1417 ARMBaseInstrInfo::duplicate(MachineInstr *Orig, MachineFunction &MF) const { in duplicate() argument
1418 MachineInstr *MI = TargetInstrInfo::duplicate(Orig, MF); in duplicate()
1419 switch(Orig->getOpcode()) { in duplicate()
[all …]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DCallEvent.h56 CallEventRef(const CallEventRef &Orig) : IntrusiveRefCntPtr<const T>(Orig) {} in CallEventRef() argument
309 ProgramStateRef Orig = nullptr) const;
/external/llvm/include/llvm/Target/
DTargetInstrInfo.h229 const MachineInstr *Orig,
237 virtual MachineInstr *duplicate(MachineInstr *Orig,
/external/clang/lib/StaticAnalyzer/Core/
DCallEvent.cpp139 ProgramStateRef Orig) const { in invalidateRegions()
140 ProgramStateRef Result = (Orig ? Orig : getState()); in invalidateRegions()
/external/clang/include/clang/AST/
DASTContext.h585 void setOriginalDecl(const Decl *Orig) { in setOriginalDecl() argument
586 OriginalDecl = Orig; in setOriginalDecl()
955 QualType getAdjustedType(QualType Orig, QualType New) const;
956 CanQualType getAdjustedType(CanQualType Orig, CanQualType New) const { in getAdjustedType() argument
958 getAdjustedType((QualType)Orig, (QualType)New)); in getAdjustedType()
/external/llvm/utils/TableGen/
DCodeGenDAGPatterns.cpp3515 static void CombineChildVariants(TreePatternNode *Orig, in CombineChildVariants() argument
3532 errs() << Orig->getOperator()->getName() << ": Idxs = [ "; in CombineChildVariants()
3543 TreePatternNode *R = new TreePatternNode(Orig->getOperator(), NewChildren, in CombineChildVariants()
3544 Orig->getNumTypes()); in CombineChildVariants()
3547 R->setName(Orig->getName()); in CombineChildVariants()
3548 R->setPredicateFns(Orig->getPredicateFns()); in CombineChildVariants()
3549 R->setTransformFn(Orig->getTransformFn()); in CombineChildVariants()
3550 for (unsigned i = 0, e = Orig->getNumTypes(); i != e; ++i) in CombineChildVariants()
3551 R->setType(i, Orig->getExtType(i)); in CombineChildVariants()
3592 static void CombineChildVariants(TreePatternNode *Orig, in CombineChildVariants() argument
[all …]
/external/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp935 BinaryOperator *Orig = cast<BinaryOperator>(Shl); in SimplifyShrShlDemandedBits() local
936 New->setHasNoSignedWrap(Orig->hasNoSignedWrap()); in SimplifyShrShlDemandedBits()
937 New->setHasNoUnsignedWrap(Orig->hasNoUnsignedWrap()); in SimplifyShrShlDemandedBits()
/external/llvm/lib/Target/X86/
DX86InstrInfo.h213 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()
6309 ent.kind = Orig; in MC_()
6712 tl_assert(ent->kind == Orig); in findShadowTmpB()
6719 tl_assert(ent->kind == Orig); in findShadowTmpB()
/external/llvm/lib/Target/AArch64/
DAArch64ISelDAGToDAG.cpp1721 static void getUsefulBitsFromBFM(SDValue Op, SDValue Orig, APInt &UsefulBits, in getUsefulBitsFromBFM() argument
1728 if (Op.getOperand(1) == Orig) in getUsefulBitsFromBFM()
1748 SDValue Orig, unsigned Depth) { in getUsefulBitsForUse() argument
1771 if (UserNode->getOperand(1) != Orig) in getUsefulBitsForUse()
1777 return getUsefulBitsFromBFM(SDValue(UserNode, 0), Orig, UsefulBits, Depth); in getUsefulBitsForUse()
/external/clang/lib/AST/
DASTContext.cpp2142 ASTContext &Context, QualType Orig, in getFunctionTypeWithExceptionSpec() argument
2145 if (auto *PT = dyn_cast<ParenType>(Orig)) in getFunctionTypeWithExceptionSpec()
2150 if (auto *AT = dyn_cast<AttributedType>(Orig)) in getFunctionTypeWithExceptionSpec()
2159 const FunctionProtoType *Proto = cast<FunctionProtoType>(Orig); in getFunctionTypeWithExceptionSpec()
2249 QualType ASTContext::getAdjustedType(QualType Orig, QualType New) const { in getAdjustedType() argument
2251 AdjustedType::Profile(ID, Orig, New); in getAdjustedType()
2264 AdjustedType(Type::Adjusted, Orig, New, Canonical); in getAdjustedType()
/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()

12