Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLowerAtomic.cpp29 LoadInst *Orig = Builder.CreateLoad(Ptr); in LowerAtomicCmpXchgInst() local
30 Value *Equal = Builder.CreateICmpEQ(Orig, Cmp); in LowerAtomicCmpXchgInst()
31 Value *Res = Builder.CreateSelect(Equal, Val, Orig); in LowerAtomicCmpXchgInst()
34 CXI->replaceAllUsesWith(Orig); in LowerAtomicCmpXchgInst()
44 LoadInst *Orig = Builder.CreateLoad(Ptr); in LowerAtomicRMWInst() local
53 Res = Builder.CreateAdd(Orig, Val); in LowerAtomicRMWInst()
56 Res = Builder.CreateSub(Orig, Val); in LowerAtomicRMWInst()
59 Res = Builder.CreateAnd(Orig, Val); in LowerAtomicRMWInst()
62 Res = Builder.CreateNot(Builder.CreateAnd(Orig, Val)); in LowerAtomicRMWInst()
65 Res = Builder.CreateOr(Orig, Val); in LowerAtomicRMWInst()
[all …]
/external/llvm/lib/Transforms/Scalar/
DLowerAtomic.cpp31 LoadInst *Orig = Builder.CreateLoad(Ptr); in LowerAtomicCmpXchgInst() local
32 Value *Equal = Builder.CreateICmpEQ(Orig, Cmp); in LowerAtomicCmpXchgInst()
33 Value *Res = Builder.CreateSelect(Equal, Val, Orig); in LowerAtomicCmpXchgInst()
36 Res = Builder.CreateInsertValue(UndefValue::get(CXI->getType()), Orig, 0); in LowerAtomicCmpXchgInst()
49 LoadInst *Orig = Builder.CreateLoad(Ptr); in LowerAtomicRMWInst() local
58 Res = Builder.CreateAdd(Orig, Val); in LowerAtomicRMWInst()
61 Res = Builder.CreateSub(Orig, Val); in LowerAtomicRMWInst()
64 Res = Builder.CreateAnd(Orig, Val); in LowerAtomicRMWInst()
67 Res = Builder.CreateNot(Builder.CreateAnd(Orig, Val)); in LowerAtomicRMWInst()
70 Res = Builder.CreateOr(Orig, Val); in LowerAtomicRMWInst()
[all …]
/external/libcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.scoped/
Dcopy.fail.cpp28 const LG Orig; in main() local
29 LG Copy(Orig); // expected-error{{call to deleted constructor of 'LG'}} in main()
33 const LG Orig(m0); in main() local
34 LG Copy(Orig); // expected-error{{call to deleted constructor of 'LG'}} in main()
38 const LG Orig(m0, m1); in main() local
39 LG Copy(Orig); // expected-error{{call to deleted constructor of 'LG'}} in main()
43 const LG Orig(m0, m1, m2); in main() local
44 LG Copy(Orig); // expected-error{{call to deleted constructor of 'LG'}} in main()
/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()
/external/swiftshader/third_party/LLVM/unittests/Transforms/Utils/
DCloning.cpp29 Orig.insert(V1); in clone()
40 DeleteContainerPointers(Orig); in TearDown()
44 SmallPtrSet<Value *, 4> Orig; // Erase on exit member in CloneInstruction
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DTargetInstrInfoImpl.cpp205 const MachineInstr *Orig, in reMaterialize() argument
207 MachineInstr *MI = MBB.getParent()->CloneMachineInstr(Orig); in reMaterialize()
219 MachineInstr *TargetInstrInfoImpl::duplicate(MachineInstr *Orig, in duplicate() argument
221 assert(!Orig->getDesc().isNotDuplicable() && in duplicate()
223 return MF.CloneMachineInstr(Orig); in duplicate()
DVirtRegMap.h231 unsigned Orig = getPreSplitReg(VirtReg); in getOriginal() local
232 return Orig ? Orig : VirtReg; in getOriginal()
DSplitKit.cpp278 const LiveInterval &Orig = LIS.getInterval(OrigReg); in isOriginalEndpoint() local
279 assert(!Orig.empty() && "Splitting empty interval?"); in isOriginalEndpoint()
280 LiveInterval::const_iterator I = Orig.find(Idx); in isOriginalEndpoint()
283 if (I != Orig.end() && I->start <= Idx) in isOriginalEndpoint()
287 return I != Orig.begin() && (--I)->end == Idx; in isOriginalEndpoint()
/external/swiftshader/third_party/LLVM/include/llvm/Target/
DTargetInstrInfo.h184 const MachineInstr *Orig,
200 virtual MachineInstr *duplicate(MachineInstr *Orig,
754 const MachineInstr *Orig,
756 virtual MachineInstr *duplicate(MachineInstr *Orig,
/external/llvm/lib/ExecutionEngine/Orc/
DIndirectionUtils.cpp119 const std::string& getRename(const Value &Orig) { in getRename() argument
122 auto I = Names.find(&Orig); in getRename()
133 auto I = Names.insert(std::make_pair(&Orig, NameStream.str())); in getRename()
/external/llvm/unittests/Support/
DErrorTest.cpp587 auto Orig = ErrorOr<int>(42); in TEST() local
590 EXPECT_EQ(*Orig, *RoundTripped) in TEST()
598 auto Orig = ErrorOr<int>(errc::invalid_argument); in TEST() local
602 EXPECT_EQ(Orig.getError(), RoundTripped.getError()) in TEST()
/external/llvm/lib/Target/AMDGPU/
DSIShrinkInstructions.cpp182 const MachineOperand &Orig) { in copyFlagsToImplicitVCC() argument
186 Use.setIsUndef(Orig.isUndef()); in copyFlagsToImplicitVCC()
187 Use.setIsKill(Orig.isKill()); in copyFlagsToImplicitVCC()
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMBaseInstrInfo.cpp1123 const MachineInstr *Orig, in reMaterialize() argument
1125 unsigned Opcode = Orig->getOpcode(); in reMaterialize()
1128 MachineInstr *MI = MBB.getParent()->CloneMachineInstr(Orig); in reMaterialize()
1129 MI->substituteRegister(Orig->getOperand(0).getReg(), DestReg, SubIdx, TRI); in reMaterialize()
1136 unsigned CPI = Orig->getOperand(1).getIndex(); in reMaterialize()
1138 MachineInstrBuilder MIB = BuildMI(MBB, I, Orig->getDebugLoc(), get(Opcode), in reMaterialize()
1141 MIB->setMemRefs(Orig->memoperands_begin(), Orig->memoperands_end()); in reMaterialize()
1148 ARMBaseInstrInfo::duplicate(MachineInstr *Orig, MachineFunction &MF) const { in duplicate() argument
1149 MachineInstr *MI = TargetInstrInfoImpl::duplicate(Orig, MF); in duplicate()
1150 switch(Orig->getOpcode()) { in duplicate()
[all …]
DARMBaseInstrInfo.h137 const MachineInstr *Orig,
140 MachineInstr *duplicate(MachineInstr *Orig, MachineFunction &MF) const;
/external/swiftshader/third_party/LLVM/tools/bugpoint/
DMiscompilation.cpp266 Module *Orig = BD.swapProgramIn(Clone); in TestFuncs() local
283 delete BD.swapProgramIn(Orig); in TestFuncs()
480 Module *Orig = BD.swapProgramIn(Clone); in TestFuncs() local
505 delete BD.swapProgramIn(Orig); in TestFuncs()
508 delete BD.swapProgramIn(Orig); in TestFuncs()
/external/llvm/unittests/Transforms/Utils/
DCloning.cpp38 Orig.insert(V1); in clone()
49 DeleteContainerPointers(Orig); in TearDown()
53 SmallPtrSet<Value *, 4> Orig; // Erase on exit member in __anona45edef30111::CloneInstruction
/external/abi-dumper/
Dabi-dumper.pl2161 if(my $Orig = $DWARF_Info{$ID}{"abstract_origin"}) {
2162 $OrigElem{$Orig} = $ID;
3956 if(my $Orig = $OrigElem{$Sp})
3958 $MnglName = get_Mangled($Orig);
4069 if(my $Orig = $DWARF_Info{$ID}{"abstract_origin"})
4071 if(isExternal($Orig)) {
4108 if(my $Orig = $DWARF_Info{$ID}{"abstract_origin"})
4110 if(my $InLine = $DWARF_Info{$Orig}{"inline"})
4119 setSource(\%SInfo, $Orig);
4121 if(my $Spec = $DWARF_Info{$Orig}{"specification"})
[all …]
/external/llvm/tools/bugpoint/
DMiscompilation.cpp259 Module *Orig = BD.swapProgramIn(Clone); in TestFuncs() local
276 delete BD.swapProgramIn(Orig); in TestFuncs()
496 Module *Orig = BD.swapProgramIn(Clone); in TestFuncs() local
518 delete BD.swapProgramIn(Orig); in TestFuncs()
521 delete BD.swapProgramIn(Orig); in TestFuncs()
/external/llvm/lib/CodeGen/
DTargetInstrInfo.cpp378 const MachineInstr &Orig, in reMaterialize() argument
380 MachineInstr *MI = MBB.getParent()->CloneMachineInstr(&Orig); in reMaterialize()
391 MachineInstr *TargetInstrInfo::duplicate(MachineInstr &Orig, in duplicate() argument
393 assert(!Orig.isNotDuplicable() && "Instruction cannot be duplicated"); in duplicate()
394 return MF.CloneMachineInstr(&Orig); in duplicate()
DSplitKit.cpp317 const LiveInterval &Orig = LIS.getInterval(OrigReg); in isOriginalEndpoint() local
318 assert(!Orig.empty() && "Splitting empty interval?"); in isOriginalEndpoint()
319 LiveInterval::const_iterator I = Orig.find(Idx); in isOriginalEndpoint()
322 if (I != Orig.end() && I->start <= Idx) in isOriginalEndpoint()
326 return I != Orig.begin() && (--I)->end == Idx; in isOriginalEndpoint()
/external/llvm/lib/Target/ARM/
DARMBaseInstrInfo.h195 const MachineInstr &Orig,
198 MachineInstr *duplicate(MachineInstr &Orig,
DARMBaseInstrInfo.cpp1409 const MachineInstr &Orig, in reMaterialize() argument
1411 unsigned Opcode = Orig.getOpcode(); in reMaterialize()
1414 MachineInstr *MI = MBB.getParent()->CloneMachineInstr(&Orig); in reMaterialize()
1415 MI->substituteRegister(Orig.getOperand(0).getReg(), DestReg, SubIdx, TRI); in reMaterialize()
1422 unsigned CPI = Orig.getOperand(1).getIndex(); in reMaterialize()
1425 BuildMI(MBB, I, Orig.getDebugLoc(), get(Opcode), DestReg) in reMaterialize()
1428 MIB->setMemRefs(Orig.memoperands_begin(), Orig.memoperands_end()); in reMaterialize()
1434 MachineInstr *ARMBaseInstrInfo::duplicate(MachineInstr &Orig, in duplicate() argument
1436 MachineInstr *MI = TargetInstrInfo::duplicate(Orig, MF); in duplicate()
1437 switch (Orig.getOpcode()) { in duplicate()
[all …]
/external/swiftshader/third_party/LLVM/utils/TableGen/
DCodeGenDAGPatterns.cpp2993 static void CombineChildVariants(TreePatternNode *Orig, in CombineChildVariants() argument
3010 errs() << Orig->getOperator()->getName() << ": Idxs = [ "; in CombineChildVariants()
3021 TreePatternNode *R = new TreePatternNode(Orig->getOperator(), NewChildren, in CombineChildVariants()
3022 Orig->getNumTypes()); in CombineChildVariants()
3025 R->setName(Orig->getName()); in CombineChildVariants()
3026 R->setPredicateFns(Orig->getPredicateFns()); in CombineChildVariants()
3027 R->setTransformFn(Orig->getTransformFn()); in CombineChildVariants()
3028 for (unsigned i = 0, e = Orig->getNumTypes(); i != e; ++i) in CombineChildVariants()
3029 R->setType(i, Orig->getExtType(i)); in CombineChildVariants()
3070 static void CombineChildVariants(TreePatternNode *Orig, in CombineChildVariants() argument
[all …]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DCallEvent.h81 CallEventRef(const CallEventRef &Orig) : IntrusiveRefCntPtr<const T>(Orig) {} in CallEventRef() argument
349 ProgramStateRef Orig = nullptr) const;

123